Compare commits

...

2 Commits

Author SHA1 Message Date
Markus Opolka
9c9508ab1f Upgrading to LTS Version 3.23.1+200825 2020-09-08 07:27:27 +02:00
Markus Opolka
2f710a23c1 Update CONTRIBUTING.md 2020-08-28 20:57:02 +02:00
4 changed files with 20 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
FROM php:7.2-apache FROM php:7.2-apache
LABEL maintainer="markus@martialblog.de" LABEL maintainer="markus@martialblog.de"
ARG version='3.23.0+200813' ARG version='3.23.1+200825'
ARG sha256_checksum='d33d3ed68819a8014393ca7f6afb2cfadf0e456df491b556583a34e497a6bc53' ARG sha256_checksum='97bb74f2e8b544af7cec85b5673b75863118834531d0fa3d42a9ac423e4aa0fd'
# Install OS dependencies # Install OS dependencies
RUN set -ex; \ RUN set -ex; \

View File

@@ -1,7 +1,7 @@
FROM php:7.2-fpm-alpine FROM php:7.2-fpm-alpine
LABEL maintainer="markus@martialblog.de" LABEL maintainer="markus@martialblog.de"
ARG version='3.23.0+200813' ARG version='3.23.1+200825'
ARG sha256_checksum='d33d3ed68819a8014393ca7f6afb2cfadf0e456df491b556583a34e497a6bc53' ARG sha256_checksum='97bb74f2e8b544af7cec85b5673b75863118834531d0fa3d42a9ac423e4aa0fd'
# Install OS dependencies # Install OS dependencies
RUN set -ex; \ RUN set -ex; \

View File

@@ -1,7 +1,7 @@
FROM php:7.2-fpm FROM php:7.2-fpm
LABEL maintainer="markus@martialblog.de" LABEL maintainer="markus@martialblog.de"
ARG version='3.23.0+200813' ARG version='3.23.1+200825'
ARG sha256_checksum='d33d3ed68819a8014393ca7f6afb2cfadf0e456df491b556583a34e497a6bc53' ARG sha256_checksum='97bb74f2e8b544af7cec85b5673b75863118834531d0fa3d42a9ac423e4aa0fd'
# Install OS dependencies # Install OS dependencies
RUN set -ex; \ RUN set -ex; \

View File

@@ -4,23 +4,27 @@ Every Pull Request is welcome.
## Upgrading the Version ## Upgrading the Version
To upgrade the LimeSurvey Version the ARG variable needs to be changed. The versions in this repository should correspond to the [GitHub LimeSurvey Releases](https://github.com/LimeSurvey/LimeSurvey/releases)
To update the version, simply update ARG variables for version and corresponding checksum:
```bash ```bash
$ grep Agrep ARG apache/Dockerfile # Version from GitHub Tags
ARG version='3.7.0+180418' # sha256 of tar.gz from GitHub Releases
$ grep ARG 4.0/apache/Dockerfile
ARG version='4.3.13+200824'
ARG sha256_checksum='4e9c6f20e'
``` ```
Since this is a reoccuring and boring task, a script is provided. It is best to use the upgrade shell script:
```bash ```bash
# Dependencies ./upgrade.sh 4.3.13+200824
python3 -m venv .venv # Check if sha256 is correct
source .venv/bin/activate
pip3 install -r requirements.txt
# Upgrades to latest Limesurvey version git add 4.0/ && git commit -m 'Upgrading to Version 4.3.13+200824'
./upgrade.py git tag 4.3.13+200824
``` ```
## Testing ## Testing