Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Mpp
MLUQ
Commits
4279a6a4
Commit
4279a6a4
authored
Nov 12, 2020
by
niklas.baumgarten
Browse files
hardcoding 20.04
parent
f20b21a6
Pipeline
#117756
passed with stages
in 9 minutes and 55 seconds
Changes
1
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
4279a6a4
...
...
@@ -7,9 +7,9 @@ stages:
variables
:
OS
:
"
ubuntu"
OS_VERSION
:
"
20.04"
OS_VERSION
_MLMC
:
"
20.04"
# hack
REGISTRY
:
"
ci.cluster.math.kit.edu"
IMAGE_NAME_MLMC
:
"
mlmc-${CI_COMMIT_SHORT_SHA}-${OS}${OS_VERSION}"
IMAGE_NAME_MLMC
:
"
mlmc-${CI_COMMIT_SHORT_SHA}-${OS}${OS_VERSION
_MLMC
}"
BENCHMARK
:
"
feature"
COMPARE_WITH
:
"
${}"
...
...
@@ -21,7 +21,7 @@ build-mlmc:
script
:
-
sed s/REGISTRY/${REGISTRY}/g docker/mlmc.baseimage >
docker/mlmc_registry.baseimage
-
sed s/UBUNTUVERSION/${OS_VERSION}/g docker/mlmc_registry.baseimage >
-
sed s/UBUNTUVERSION/${OS_VERSION
_MLMC
}/g docker/mlmc_registry.baseimage >
docker/${IMAGE_NAME_MLMC}.baseimage
-
docker build
--build-arg UPSTREAM_COMMIT=${UPSTREAM_COMMIT}
...
...
@@ -82,8 +82,8 @@ deploy-mlmc:
GIT_STRATEGY
:
none
script
:
-
docker tag ${REGISTRY}/${IMAGE_NAME_MLMC}
${REGISTRY}/mlmc-${CI_COMMIT_TAG}-${OS}${OS_VERSION}
-
docker push ${REGISTRY}/mlmc-${CI_COMMIT_TAG}-${OS}${OS_VERSION}
${REGISTRY}/mlmc-${CI_COMMIT_TAG}-${OS}${OS_VERSION
_MLMC
}
-
docker push ${REGISTRY}/mlmc-${CI_COMMIT_TAG}-${OS}${OS_VERSION
_MLMC
}
only
:
[
tags
]
dependencies
:
[
"
unit-test-mlmc"
]
tags
:
[
shell
]
...
...
Write
Preview
Markdown
is supported
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