Skip to content

Commit 6cccb0e

Browse files
committed
[no-relnote] Don't let scan failures block pipeline
With the new publishing flow, there are additional checks that are performed on images before these are published to ngc. This change allows scans to fail so that these do not block the publishing step, but do provide a signal of possible exceptions that are required. Signed-off-by: Evan Lezar <[email protected]>
1 parent 6a18c48 commit 6cccb0e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.nvidia-ci.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,7 @@ scan-images:
165165
variables:
166166
IMAGE: "${CI_REGISTRY_IMAGE}/container-toolkit:${CI_COMMIT_SHORT_SHA}"
167167
IMAGE_ARCHIVE: "container-toolkit-${CI_JOB_ID}.tar"
168-
rules:
169-
- if: $IGNORE_SCANS == "yes"
170-
allow_failure: true
171-
- when: on_success
168+
allow_failure: true
172169
script:
173170
- |
174171
docker login -u "${CI_REGISTRY_USER}" -p "${CI_REGISTRY_PASSWORD}" "${CI_REGISTRY}"
@@ -292,4 +289,3 @@ publish-images-dummy:
292289
OUT_IMAGE_TAG: "publish-${CI_COMMIT_SHORT_SHA}"
293290
rules:
294291
- if: $CI_COMMIT_TAG == null || $CI_COMMIT_TAG == ""
295-

0 commit comments

Comments
 (0)