mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-22 08:18:32 +00:00
Fix internal CI rules
This change updates the internal CI rules for the optimizations to skip non-critical images on MRs. Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
1e72f92b74
commit
3736bb3aca
@ -48,7 +48,8 @@ variables:
|
|||||||
OUT_IMAGE_NAME: "${CI_REGISTRY_IMAGE}/container-toolkit"
|
OUT_IMAGE_NAME: "${CI_REGISTRY_IMAGE}/container-toolkit"
|
||||||
PUSH_MULTIPLE_TAGS: "false"
|
PUSH_MULTIPLE_TAGS: "false"
|
||||||
# We delay the job start to allow the public pipeline to generate the required images.
|
# We delay the job start to allow the public pipeline to generate the required images.
|
||||||
when: delayed
|
rules:
|
||||||
|
- when: delayed
|
||||||
start_in: 30 minutes
|
start_in: 30 minutes
|
||||||
timeout: 30 minutes
|
timeout: 30 minutes
|
||||||
retry:
|
retry:
|
||||||
@ -107,9 +108,8 @@ image-packaging:
|
|||||||
variables:
|
variables:
|
||||||
IMAGE: "${CI_REGISTRY_IMAGE}/container-toolkit:${CI_COMMIT_SHORT_SHA}-${DIST}"
|
IMAGE: "${CI_REGISTRY_IMAGE}/container-toolkit:${CI_COMMIT_SHORT_SHA}-${DIST}"
|
||||||
IMAGE_ARCHIVE: "container-toolkit.tar"
|
IMAGE_ARCHIVE: "container-toolkit.tar"
|
||||||
except:
|
rules:
|
||||||
variables:
|
- if: $SKIP_SCANS != "yes"
|
||||||
- $SKIP_SCANS && $SKIP_SCANS == "yes"
|
|
||||||
before_script:
|
before_script:
|
||||||
- docker login -u "${CI_REGISTRY_USER}" -p "${CI_REGISTRY_PASSWORD}" "${CI_REGISTRY}"
|
- docker login -u "${CI_REGISTRY_USER}" -p "${CI_REGISTRY_PASSWORD}" "${CI_REGISTRY}"
|
||||||
# TODO: We should specify the architecture here and scan all architectures
|
# TODO: We should specify the architecture here and scan all architectures
|
||||||
|
Loading…
Reference in New Issue
Block a user