Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Daniel Scheffler
py_tools_ds
Commits
e4ab9c3a
Commit
e4ab9c3a
authored
Sep 02, 2020
by
Daniel Scheffler
Browse files
Added docker-pull-policy to register command.
Signed-off-by:
Daniel Scheffler
<
danschef@gfz-potsdam.de
>
parent
429c2622
Pipeline
#12212
failed with stage
in 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/CI_docker/build_testsuite_image.sh
View file @
e4ab9c3a
...
...
@@ -20,8 +20,8 @@ sudo docker run \
--name
${
gitlab_runner
}
\
--restart
always
\
-v
/var/run/docker.sock:/var/run/docker.sock
\
-v
gitlab-runner-config:/etc/gitlab-runner
\
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"
read
-p
"Please enter gitlab token: "
token
...
...
@@ -40,5 +40,6 @@ gitlab-ci-multi-runner register \
--tag-list py_tools_ds_ci_client
\
--run-untagged='true'
\
--locked='true'
\
--access-level='not_protected'"
--access-level='not_protected'
\
--docker-pull-policy='never'"
ls
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment