Test not passing due to MySQL container errors
For MySQL > 8.0 test does not pass due to some erroneous permissions configuration in its container.
unning with gitlab-runner 10.8.0 (079aad9e)
on gtk-gitlab-ci-0 43ff206c
Using Docker executor with image php:5.6 ...
Starting service mysql:latest ...
Pulling docker image mysql:latest ...
Using docker image sha256:a8a59477268d92f434d86a73b5ea6de9bf7b05d536359413e79da1feb31f87aa for mysql:latest ...
Waiting for services to be up and running...
*** WARNING: Service runner-43ff206c-project-36-concurrent-0-mysql-0 probably didn't start properly.
Health check error:
service "runner-43ff206c-project-36-concurrent-0-mysql-0-wait-for-service" timeout
Health check container logs:
Service container logs:
2018-06-12T19:42:46.455903624Z Initializing database
[...]
2018-06-12T19:42:46.628414136Z mbind: Operation not permitted
[...]
I believe that this repository's purpose is to serve as an example of CI configuration, and no to tweak some images versions compatibility issues. I've actually used it as a tool to verify that my runner configuration works correctly, so such errors leaded me to wrong conclusions.
Setting the MySQL version on < 8.0 fixes the tests
services:
- mysql:5.7.22