Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Traylen
reposync
Commits
27cfb962
Commit
27cfb962
authored
Aug 06, 2018
by
Alex Iribarren
Browse files
Auto update tag or use latest
parent
2c91b9b1
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
27cfb962
...
...
@@ -96,6 +96,7 @@ tag_scheduler:
before_script
:
-
curl https://releases.hashicorp.com/nomad/${NOMAD_VERSION}/nomad_${NOMAD_VERSION}_linux_amd64.zip -o /tmp/nomad.zip
-
unzip /tmp/nomad.zip -d /usr/local/bin/
-
export IMAGE_VER="${CI_COMMIT_TAG:-latest}"
deploy_test
:
<<
:
*nomad_deps
...
...
reposync.nomad
View file @
27cfb962
...
...
@@ -13,7 +13,7 @@ job "reposync" {
driver
=
"docker"
config
{
image
=
"https://gitlab-registry.cern.ch/linuxsupport/containers/reposync_test/do_reposync:
0.2
"
image
=
"https://gitlab-registry.cern.ch/linuxsupport/containers/reposync_test/do_reposync:
${IMAGE_VER}
"
volumes
=
[
"/tmp/repos:/repo"
]
...
...
reposync_scheduler.nomad
View file @
27cfb962
...
...
@@ -16,7 +16,7 @@ job "reposync_scheduler" {
driver
=
"docker"
config
{
image
=
"https://gitlab-registry.cern.ch/linuxsupport/containers/reposync_test/reposync_scheduler:
0.2
"
image
=
"https://gitlab-registry.cern.ch/linuxsupport/containers/reposync_test/reposync_scheduler:
${IMAGE_VER}
"
}
env
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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