Skip to content
Snippets Groups Projects
Verified Commit ee5999f2 authored by Martin Weise's avatar Martin Weise
Browse files
parent 3ff7c8a1
No related branches found
No related tags found
No related merge requests found
...@@ -448,6 +448,10 @@ test-ui: ...@@ -448,6 +448,10 @@ test-ui:
release-images: release-images:
stage: release stage: release
image: docker:${DOCKER_VERSION}-dind image: docker:${DOCKER_VERSION}-dind
only:
refs:
- dev
- /^release-.*/
dependencies: dependencies:
- test-analyse-service - test-analyse-service
- test-auth-service-init - test-auth-service-init
...@@ -457,9 +461,6 @@ release-images: ...@@ -457,9 +461,6 @@ release-images:
- test-search-service - test-search-service
- test-search-service-init - test-search-service-init
- test-ui - test-ui
only:
- tags
- merge_requests
before_script: before_script:
- "docker logout ${CI_REGISTRY_URL}" - "docker logout ${CI_REGISTRY_URL}"
- "echo ${CI_REGISTRY_PASSWORD} | docker login --username ${CI_REGISTRY_USER} --password-stdin ${CI_REGISTRY_URL}" - "echo ${CI_REGISTRY_PASSWORD} | docker login --username ${CI_REGISTRY_USER} --password-stdin ${CI_REGISTRY_URL}"
...@@ -474,8 +475,8 @@ release-helm: ...@@ -474,8 +475,8 @@ release-helm:
stage: release stage: release
image: docker:${DOCKER_VERSION}-dind image: docker:${DOCKER_VERSION}-dind
only: only:
- tags refs:
- merge_requests - /^release-.*/
when: manual when: manual
needs: needs:
- build-helm - build-helm
...@@ -503,8 +504,8 @@ release-docs: ...@@ -503,8 +504,8 @@ release-docs:
stage: release stage: release
image: docker.io/python:${PYTHON_VERSION}-alpine${ALPINE_VERSION} image: docker.io/python:${PYTHON_VERSION}-alpine${ALPINE_VERSION}
only: only:
- tags refs:
- merge_requests - /^release-.*/
before_script: before_script:
- "apk add --no-cache alpine-sdk bash sed wget openssh jq curl" - "apk add --no-cache alpine-sdk bash sed wget openssh jq curl"
- "pip install pipenv" - "pip install pipenv"
...@@ -538,7 +539,8 @@ release-libs: ...@@ -538,7 +539,8 @@ release-libs:
image: docker.io/python:${PYTHON_VERSION}-alpine${ALPINE_VERSION} image: docker.io/python:${PYTHON_VERSION}-alpine${ALPINE_VERSION}
when: manual when: manual
only: only:
- tags refs:
- /^release-.*/
variables: variables:
PIPENV_PIPFILE: "./dbrepo-analyse-service/Pipfile" PIPENV_PIPFILE: "./dbrepo-analyse-service/Pipfile"
before_script: before_script:
...@@ -566,7 +568,8 @@ verify-dist: ...@@ -566,7 +568,8 @@ verify-dist:
image: docker.io/alpine:${ALPINE_VERSION} image: docker.io/alpine:${ALPINE_VERSION}
stage: verify stage: verify
only: only:
- tags refs:
- /^release-.*/
before_script: before_script:
- "apk add curl" - "apk add curl"
script: script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment