Skip to content

Commit

Permalink
switch snyk with sleep step
Browse files Browse the repository at this point in the history
  • Loading branch information
ATGardner committed Oct 17, 2023
1 parent f7c7148 commit 8991b14
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions build/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,11 @@ steps:
- SNYK_TOKEN=${{SNYK_TOKEN}}
- LOCAL_IMAGE_REF=${{IMAGE_NAME}}:${{CF_BRANCH_TAG_NORMALIZED_LOWER_CASE}}
commands:
- |
snyk test --severity-threshold=${{SNYK_SEVERITY_THRESHOLD}} || fail=1
snyk container test --severity-threshold=${{SNYK_SEVERITY_THRESHOLD}} --file=Dockerfile ${LOCAL_IMAGE_REF}
if [ "$fail" == "1" ]; then exit 1; fi
- sleep 600
# - |
# snyk test --severity-threshold=${{SNYK_SEVERITY_THRESHOLD}} || fail=1
# snyk container test --severity-threshold=${{SNYK_SEVERITY_THRESHOLD}} --file=Dockerfile ${LOCAL_IMAGE_REF}
# if [ "$fail" == "1" ]; then exit 1; fi
when:
steps:
- name: build
Expand Down

0 comments on commit 8991b14

Please sign in to comment.