Commit 156a1880 authored by Sebastian Schwarz's avatar Sebastian Schwarz
Browse files

Fixed docker CI registry push.

parent b4b90bd7
Pipeline #490956 failed with stages
in 21 minutes and 39 seconds
......@@ -20,14 +20,14 @@ prepare:
script:
- mkdir -p /.docker
- docker build -f ${DOCKER_FILE} -t ${DOCKER_IMAGE}:${DOCKER_TAG} /.docker
- docker push ${DOCKER_IMAGE}/base_image:${DOCKER_TAG}
- docker push ${DOCKER_IMAGE}:${DOCKER_TAG}
tags:
- docker
test-prerequisites:
stage: test
image: ${DOCKER_IMAGE}/base_image
image: ${DOCKER_IMAGE}
script:
- python3.6 -m pytest -q /opt/richardsonpy/.
- python3.6 -m pytest -q /opt/pycity_base/.
......@@ -37,7 +37,7 @@ test-prerequisites:
unittest-gurobi:
stage: test
image: ${DOCKER_IMAGE}/base_image
image: ${DOCKER_IMAGE}
script:
- echo $GUROBI_LIC > /opt/gurobi/gurobi.lic
- ln -s $CI_PROJECT_DIR/LICENSE.txt $CI_PROJECT_DIR/src/LICENSE.txt
......@@ -50,7 +50,7 @@ unittest-gurobi:
unittest-scip:
stage: test
image: ${DOCKER_IMAGE}/base_image
image: ${DOCKER_IMAGE}
script:
- ln -s $CI_PROJECT_DIR/LICENSE.txt $CI_PROJECT_DIR/src/LICENSE.txt
- ln -s $CI_PROJECT_DIR/README.md $CI_PROJECT_DIR/src/README.md
......@@ -64,7 +64,7 @@ unittest-scip:
lint:
stage: test
image: ${DOCKER_IMAGE}/base_image
image: ${DOCKER_IMAGE}
script:
- mkdir -p lint
- ln -s $CI_PROJECT_DIR/LICENSE.txt $CI_PROJECT_DIR/src/LICENSE.txt
......@@ -87,7 +87,7 @@ doc:
stage: deploy
rules:
- if: '$CI_COMMIT_BRANCH == "master" || $CI_COMMIT_TAG =~ /^v/'
image: ${DOCKER_IMAGE}/base_image
image: ${DOCKER_IMAGE}
script:
- mkdir -p doc
- ln -s $CI_PROJECT_DIR/LICENSE.txt $CI_PROJECT_DIR/src/LICENSE.txt
......@@ -109,7 +109,7 @@ pages:
- if: '$CI_COMMIT_TAG =~ /^v/'
when: delayed
start_in: '60 minutes'
image: ${DOCKER_IMAGE}/base_image
image: ${DOCKER_IMAGE}
script:
- mkdir -p public
- mv $CI_PROJECT_DIR/docs/* public
......@@ -126,7 +126,7 @@ pypi-release:
- if: '$CI_COMMIT_TAG =~ /^v/'
when: delayed
start_in: '120 minutes'
image: ${DOCKER_IMAGE}/base_image
image: ${DOCKER_IMAGE}
script:
- mkdir -p release
- ln -s $CI_PROJECT_DIR/LICENSE.txt $CI_PROJECT_DIR/src/LICENSE.txt
......
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