Skip to content
Snippets Groups Projects
Verified Commit a0c98e49 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

FIX: Pipeline jobs "style" and "cert" depend on a built image.

parent 96f6f965
No related branches found
No related tags found
1 merge request!32FIX: Pipeline jobs "style" and "cert" depend on a built image.
Pipeline #21152 failed
...@@ -124,7 +124,7 @@ test: ...@@ -124,7 +124,7 @@ test:
SERVICE_PORT_2376_TCP_PORT: 2375 SERVICE_PORT_2376_TCP_PORT: 2375
stage: test stage: test
image: $CI_REGISTRY_IMAGE_BASE image: $CI_REGISTRY_IMAGE_BASE
needs: ["cert"] needs: [cert]
script: script:
- *env - *env
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
...@@ -210,6 +210,9 @@ cert: ...@@ -210,6 +210,9 @@ cert:
tags: [docker] tags: [docker]
stage: cert stage: cert
image: $CI_REGISTRY_IMAGE image: $CI_REGISTRY_IMAGE
needs:
- job: build-testenv
optional: true
artifacts: artifacts:
paths: paths:
- .docker/cert/ - .docker/cert/
...@@ -222,7 +225,9 @@ style: ...@@ -222,7 +225,9 @@ style:
tags: [docker] tags: [docker]
stage: style stage: style
image: $CI_REGISTRY_IMAGE image: $CI_REGISTRY_IMAGE
needs: [] needs:
- job: build-testenv
optional: true
script: script:
- autopep8 -r --diff --exit-code . - autopep8 -r --diff --exit-code .
allow_failure: true allow_failure: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment