diff options
author | Philippe Lafoucrière <plafoucriere@gitlab.com> | 2022-02-23 01:09:44 +0300 |
---|---|---|
committer | James Fargher <proglottis@gmail.com> | 2022-02-23 01:09:44 +0300 |
commit | fbc28082d7cdf16fc2970bffd5c63d03dc0e40db (patch) | |
tree | 55aa6f794bcb58a79e794b7ce848ee67b305963c | |
parent | 1c364e717ce8fdc4a6603f7369756785c146c898 (diff) |
Fix gosec job reporting thousands of vulnerabilities
-rw-r--r-- | .gitlab-ci.yml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 449656fec..a20e24297 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -299,8 +299,14 @@ dbschema: when: on_failure gosec-sast: + dependencies: [] + cache: + - *cache_go_configuration + variables: + GOPATH: "/go" before_script: - apk add pkgconfig libgit2-dev gcc libc-dev + - mv .go /go rules: - if: $SAST_DISABLED when: never @@ -309,6 +315,8 @@ gosec-sast: - if: $CI_COMMIT_TAG license_scanning: + dependencies: [] + cache: [] before_script: - sudo apt-get update - sudo apt-get install -y libicu-dev libgit2-dev cmake @@ -322,6 +330,8 @@ license_scanning: LICENSE_FINDER_CLI_OPTS: '--aggregate-paths=. ruby' gemnasium-dependency_scanning: + dependencies: [] + cache: [] rules: - if: $DEPENDENCY_SCANNING_DISABLED when: never @@ -330,6 +340,8 @@ gemnasium-dependency_scanning: - if: $CI_COMMIT_TAG secret_detection: + dependencies: [] + cache: [] inherit: default: false rules: @@ -365,4 +377,4 @@ qa:nightly-praefect-migration-test: trigger: project: gitlab-org/quality/praefect-migration-testing rules: - - if: '$CI_PIPELINE_SOURCE == "schedule"'
\ No newline at end of file + - if: '$CI_PIPELINE_SOURCE == "schedule"' |