Every Pull Request is welcome.
Choosing a proper name for a branch helps us identify its purpose and possibly find an associated bug or feature. Generally a branch name should include a topic such as fix
or feature
followed by a description. Branches should have only changes relevant to a specific issue.
git checkout -b fix/bug-in-connection
git checkout -b feature/improved-config-handling
git checkout -b doc/fix-typo
The versions in this repository should correspond to the GitHub LimeSurvey Releases
To update the version, simply update ARG variables for version and corresponding checksum:
# Version from GitHub Tags
# sha256 of tar.gz from GitHub Releases
$ grep ARG 5.0/apache/Dockerfile
ARG version='5.3.13+200824'
ARG sha256_checksum='4e9c6f20e'
It is best to use the upgrade shell script:
./upgrade.sh 5.3.13+200824
# Check if sha256 is correct
git add 5.0/ && git commit -m 'Upgrading to Version 5.3.13+200824'
git tag 5.3.13-200824
In order to make sure the image works as promised, some container-structure-tests are provided. The tests require the container-structure-test
tool to be installed.
For further information: https://github.com/GoogleContainerTools/container-structure-test
make apache-latest
container-structure-test test --image docker.io/martialblog/limesurvey:5-apache --config tests/apache-tests.yaml
make fpm-latest
container-structure-test test --image docker.io/martialblog/limesurvey:5-fpm-alpine --config tests/fpm-alpine-tests.yaml
make fpm-alpine-latest
container-structure-test test --image docker.io/martialblog/limesurvey:5-fpm --config tests/fpm-tests.yaml
Changes related to the ARM platform should use branches starting with the arm/
prefix, this ensures the GitHub Actions are triggered.
Background: ARM builds take a long time to finish on the GitHub Runners.