diff options
author | Sami Hiltunen <shiltunen@gitlab.com> | 2022-05-18 17:26:19 +0300 |
---|---|---|
committer | Sami Hiltunen <shiltunen@gitlab.com> | 2022-05-25 10:30:04 +0300 |
commit | fd3b0c83d669f3f5cd82c9da3df8d611a606a404 (patch) | |
tree | 132aa1f3d61cc16cc4c87ce97eebe448b8de8577 | |
parent | 79ba2dd6338fe1c9199c0f202ac635f687d3e1c4 (diff) |
Remove unnecessary dependencies in the testing stage
license_scanning, gemnasium-dependency_scanning and secret_detection
don't use the caches from the earlier build stage, yet they depend
currently on the build stage. Remove the unnecessary dependencies so
they can be executed earlier.
-rw-r--r-- | .gitlab-ci.yml | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b161dd5b8..3cac1a579 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -306,9 +306,7 @@ gosec-sast: - if: $CI_COMMIT_TAG license_scanning: - needs: - - job: build - artifacts: false + needs: [] cache: [] before_script: - sudo apt-get update @@ -323,9 +321,7 @@ license_scanning: LICENSE_FINDER_CLI_OPTS: '--aggregate-paths=. ruby' gemnasium-dependency_scanning: - needs: - - job: build - artifacts: false + needs: [] cache: [] rules: - if: $DEPENDENCY_SCANNING_DISABLED @@ -335,9 +331,7 @@ gemnasium-dependency_scanning: - if: $CI_COMMIT_TAG secret_detection: - needs: - - job: build - artifacts: false + needs: [] cache: [] inherit: default: false |