Commit e4ab9c3a authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Added docker-pull-policy to register command.


Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent 429c2622
Pipeline #12212 failed with stage
in 23 seconds
...@@ -20,8 +20,8 @@ sudo docker run \ ...@@ -20,8 +20,8 @@ sudo docker run \
--name ${gitlab_runner} \ --name ${gitlab_runner} \
--restart always \ --restart always \
-v /var/run/docker.sock:/var/run/docker.sock \ -v /var/run/docker.sock:/var/run/docker.sock \
-v gitlab-runner-config:/etc/gitlab-runner \
gitlab/gitlab-runner:latest gitlab/gitlab-runner:latest
# -v gitlab-runner-config:/etc/gitlab-runner \
echo "#### Register container at gitlab, get token here https://gitext.gfz-potsdam.de/danschef/py_tools_ds/settings/ci_cd" echo "#### Register container at gitlab, get token here https://gitext.gfz-potsdam.de/danschef/py_tools_ds/settings/ci_cd"
read -p "Please enter gitlab token: " token read -p "Please enter gitlab token: " token
...@@ -40,5 +40,6 @@ gitlab-ci-multi-runner register \ ...@@ -40,5 +40,6 @@ gitlab-ci-multi-runner register \
--tag-list py_tools_ds_ci_client \ --tag-list py_tools_ds_ci_client \
--run-untagged='true' \ --run-untagged='true' \
--locked='true' \ --locked='true' \
--access-level='not_protected'" --access-level='not_protected' \
--docker-pull-policy='never'"
ls ls
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment