diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 454737e0757b9ff69537871e40f4922488eb5263..a289b460ede771520ff618d1ad4e4f08e0cd30a1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -41,6 +41,7 @@ docker-build: versions: stage: test image: ${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_SLUG} + needs: [ docker-build ] script: - salt-lint --version - pylint --version @@ -58,8 +59,9 @@ versions: efficiency: stage: test extends: .docker - allow_failure: true image: registry.fpfis.eu/fpfis/container-tools:latest + needs: [ docker-build ] + allow_failure: true variables: CI: "true" FULL_IMAGE: ${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_SLUG} @@ -81,6 +83,7 @@ trivy: stage: test extends: .docker image: registry.fpfis.eu/fpfis/container-tools + needs: [ docker-build ] allow_failure: true variables: FULL_IMAGE: ${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_SLUG} @@ -98,4 +101,4 @@ trivy: when: never - if: '$CI_COMMIT_REF_NAME == "master"' when: never - - when: always \ No newline at end of file + - when: always