Loading README.md +1 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ containers. But the jobs fail is the runner is recreated during the job. The workaround is the `deploy` script. ``` REGISTRATION_TOKEN='INSERT_TOKEN' ./deploy GITLAB_REGISTRATION_TOKEN='INSERT_TOKEN' ./deploy ``` ## License Loading deploy +2 −2 Original line number Diff line number Diff line Loading @@ -29,9 +29,9 @@ _deploy() { unset RUNNER_NAME } if [ -z "${REGISTRATION_TOKEN:-}" ] if [ -z "${GITLAB_REGISTRATION_TOKEN:-}" ] then echo "REGISTRATION_TOKEN isn't set." >&2 echo "GITLAB_REGISTRATION_TOKEN isn't set." >&2 exit 1 fi Loading docker-compose.yml +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ services: CI_SERVER_URL: "${CI_SERVER_URL:-https://git.shore.co.il}" DOCKER_IMAGE: registry.shore.co.il/ci-images:docker DOCKER_NETWORK_MODE: &network gitlab-runner REGISTRATION_TOKEN: "${REGISTRATION_TOKEN}" REGISTRATION_TOKEN: "${GITLAB_REGISTRATION_TOKEN}" RUNNER_NAME: "${RUNNER_NAME}" REGISTER_RUN_UNTAGGED: "${RUN_UNTAGGED:-true}" RUNNER_TAG_LIST: "${RUNNER_NAME}" Loading Loading
README.md +1 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ containers. But the jobs fail is the runner is recreated during the job. The workaround is the `deploy` script. ``` REGISTRATION_TOKEN='INSERT_TOKEN' ./deploy GITLAB_REGISTRATION_TOKEN='INSERT_TOKEN' ./deploy ``` ## License Loading
deploy +2 −2 Original line number Diff line number Diff line Loading @@ -29,9 +29,9 @@ _deploy() { unset RUNNER_NAME } if [ -z "${REGISTRATION_TOKEN:-}" ] if [ -z "${GITLAB_REGISTRATION_TOKEN:-}" ] then echo "REGISTRATION_TOKEN isn't set." >&2 echo "GITLAB_REGISTRATION_TOKEN isn't set." >&2 exit 1 fi Loading
docker-compose.yml +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ services: CI_SERVER_URL: "${CI_SERVER_URL:-https://git.shore.co.il}" DOCKER_IMAGE: registry.shore.co.il/ci-images:docker DOCKER_NETWORK_MODE: &network gitlab-runner REGISTRATION_TOKEN: "${REGISTRATION_TOKEN}" REGISTRATION_TOKEN: "${GITLAB_REGISTRATION_TOKEN}" RUNNER_NAME: "${RUNNER_NAME}" REGISTER_RUN_UNTAGGED: "${RUN_UNTAGGED:-true}" RUNNER_TAG_LIST: "${RUNNER_NAME}" Loading