Commit 4279a6a4 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

hardcoding 20.04

parent f20b21a6
Pipeline #117756 passed with stages
in 9 minutes and 55 seconds
......@@ -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 ]
......
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