From 8991b14c36edfa6412a62e4831d0c25833a8f868 Mon Sep 17 00:00:00 2001 From: Noam Gal Date: Tue, 17 Oct 2023 10:40:11 +0300 Subject: [PATCH] switch snyk with sleep step --- build/ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/build/ci.yml b/build/ci.yml index 74cf5f27..8f322cb4 100644 --- a/build/ci.yml +++ b/build/ci.yml @@ -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