Entrypoint relative to FullProjectDir
* A lot of images (e.g. DBs) offer the ability to source additonal files in their entrypoint. * gitlab-runner currently forces you to build new images to use this functionality - both for build images but especially for services * Allowing relative entrypoints, a small shell script in a GitLab project would allow to use this functionality, e.g. add this: ``` cp $CI_PROJECT_DIR/mysql-docker-entrypoint-initdb.d /docker-entrypoint-initdb.d exec /usr/local/bin/docker-entrypoint.sh ``` Call it like: ``` image: name: mysql entrypoint: ["./initialize-mysql.sh"] ``` ! Disable failure for `unit tests (no race)` as the racing one do succeed. I have no clue why this happens.
Loading
-
🏃 @mfriedenhagenmentioned in issue gitlab-org/gitlab-runner#3210
Please register or sign in to comment