Update CONTRIBUTING.md

This commit is contained in:
Markus Opolka
2021-07-23 19:51:10 +02:00
parent 962f607a11
commit d95fdafbd4

View File

@@ -24,15 +24,29 @@ It is best to use the upgrade shell script:
# Check if sha256 is correct # Check if sha256 is correct
git add 4.0/ && git commit -m 'Upgrading to Version 4.3.13+200824' git add 4.0/ && git commit -m 'Upgrading to Version 4.3.13+200824'
git tag 4.3.13+200824 git tag 4.3.13-200824
``` ```
## Testing ## Testing
In order to make sure the image works as promised, some tests are provided: 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.
```bash
./tests/run.sh
```
For further information: https://github.com/GoogleContainerTools/container-structure-test For further information: https://github.com/GoogleContainerTools/container-structure-test
```bash
make apache-latest
container-structure-test test --image docker.io/martialblog/limesurvey:5-apache --config tests/apache-tests.yaml
```
```bash
make fpm-latest
container-structure-test test --image docker.io/martialblog/limesurvey:5-fpm-alpine --config tests/fpm-alpine-tests.yaml
```
```bash
make fpm-alpine-latest
container-structure-test test --image docker.io/martialblog/limesurvey:5-fpm --config tests/fpm-tests.yaml
```