Compare commits

...

5 Commits

Author SHA1 Message Date
Markus Opolka
4430106edc Upgrading to Version 4.3.14+200826 2020-09-08 07:28:22 +02:00
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
Markus Opolka
0b4d0affc1 Upgrading to Version 4.3.13+200824 2020-08-26 19:35:28 +02:00
Markus Opolka
eab3428bca Upgrading to Version 4.3.12+200820 2020-08-25 07:09:05 +02:00
7 changed files with 26 additions and 22 deletions

View File

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

View File

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

View File

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

View File

@@ -1,7 +1,7 @@
FROM php:7.2-apache
LABEL maintainer="markus@martialblog.de"
ARG version='4.3.11+200817'
ARG sha256_checksum='0b375f12a5d16c7a45a258a7eb77f41c5541a4816a3fcb675d9bc295e0088e48'
ARG version='4.3.14+200826'
ARG sha256_checksum='255f091c47b981ce4905670b49c05cbeeba306253c7454bb49054377ee7bc00a'
# Install OS dependencies
RUN set -ex; \

View File

@@ -1,7 +1,7 @@
FROM php:7.2-fpm-alpine
LABEL maintainer="markus@martialblog.de"
ARG version='4.3.11+200817'
ARG sha256_checksum='0b375f12a5d16c7a45a258a7eb77f41c5541a4816a3fcb675d9bc295e0088e48'
ARG version='4.3.14+200826'
ARG sha256_checksum='255f091c47b981ce4905670b49c05cbeeba306253c7454bb49054377ee7bc00a'
# Install OS dependencies
RUN set -ex; \

View File

@@ -1,7 +1,7 @@
FROM php:7.2-fpm
LABEL maintainer="markus@martialblog.de"
ARG version='4.3.11+200817'
ARG sha256_checksum='0b375f12a5d16c7a45a258a7eb77f41c5541a4816a3fcb675d9bc295e0088e48'
ARG version='4.3.14+200826'
ARG sha256_checksum='255f091c47b981ce4905670b49c05cbeeba306253c7454bb49054377ee7bc00a'
# Install OS dependencies
RUN set -ex; \

View File

@@ -4,23 +4,27 @@ Every Pull Request is welcome.
## 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
$ grep Agrep ARG apache/Dockerfile
ARG version='3.7.0+180418'
# Version from GitHub Tags
# 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
# Dependencies
python3 -m venv .venv
source .venv/bin/activate
pip3 install -r requirements.txt
./upgrade.sh 4.3.13+200824
# Check if sha256 is correct
# Upgrades to latest Limesurvey version
./upgrade.py
git add 4.0/ && git commit -m 'Upgrading to Version 4.3.13+200824'
git tag 4.3.13+200824
```
## Testing