This commit is contained in:
Matthew McClaskey 2023-11-22 16:23:13 +00:00
parent 65aa157d24
commit c7847a59c1
2 changed files with 5 additions and 0 deletions

View File

@ -10,6 +10,7 @@ stages:
variables:
KASM_RELEASE: "1.14.0"
TEST_INSTALLER: "https://kasm-static-content.s3.amazonaws.com/kasm_release_1.14.0.7f3582.tar.gz"
RUN_VULNERABILITY_SCANS: "false"
before_script:
- export SANITIZED_BRANCH="$(echo $CI_COMMIT_REF_NAME | sed -r 's#^release/##' | sed 's/\//_/g')"

View File

@ -153,6 +153,8 @@ scan_{{ IMAGE.name1 }}_{{ IMAGE.name2 }}:
needs:
- build_{{ IMAGE.name1 }}_{{ IMAGE.name2 }}
when: on_success
rules:
- if: ($RUN_VULNERABILITY_SCANS == "true" || $CI_COMMIT_BRANCH == "develop")
tags:
- oci-fixed-amd
retry: 1
@ -186,6 +188,8 @@ scan_{{ IMAGE.name1 }}_{{ IMAGE.name2 }}:
- $REVERT_IS_ROLLING
needs:
- build_{{ IMAGE.name1 }}_{{ IMAGE.name2 }}
rules:
- if: ($RUN_VULNERABILITY_SCANS == "true" || $CI_COMMIT_BRANCH == "develop")
artifacts:
reports:
junit: