diff options
Diffstat (limited to '.gitlab/ci')
-rw-r--r-- | .gitlab/ci/prepare.yml | 5 | ||||
-rw-r--r-- | .gitlab/ci/test.yml | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/.gitlab/ci/prepare.yml b/.gitlab/ci/prepare.yml index 8313295d..66d23adf 100644 --- a/.gitlab/ci/prepare.yml +++ b/.gitlab/ci/prepare.yml @@ -11,6 +11,8 @@ variables: # TODO: remove when https://gitlab.com/gitlab-org/gitlab/-/issues/218444 is done .rules-for-scanners: &rules-for-scanners + stage: prepare + needs: [] rules: # For merge requests, create a pipeline. - if: '$CI_MERGE_REQUEST_IID' @@ -32,12 +34,14 @@ gosec-sast: <<: *rules-for-scanners gemnasium-tools-dependency_scanning: + stage: prepare image: name: "$SECURE_ANALYZERS_PREFIX/gemnasium:$DS_MAJOR_VERSION" script: - /analyzer run --target-dir ./tools gemnasium-tools-license_scanning: + stage: prepare image: name: "$SECURE_ANALYZERS_PREFIX/license-finder:$LICENSE_MANAGEMENT_VERSION" entrypoint: [""] @@ -45,6 +49,7 @@ gemnasium-tools-license_scanning: - CI_PROJECT_DIR=$(pwd)/tools /run.sh analyze . secret_detection: + stage: prepare rules: # For merge requests, create a pipeline. - if: '$CI_MERGE_REQUEST_IID' diff --git a/.gitlab/ci/test.yml b/.gitlab/ci/test.yml index 603b4a02..801c1ca8 100644 --- a/.gitlab/ci/test.yml +++ b/.gitlab/ci/test.yml @@ -1,5 +1,6 @@ .tests-common: extends: .common + stage: test needs: ['download deps'] artifacts: reports: |