Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion .common-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@ trigger-pipeline:
matrix:
- DRIVER_VERSION: [535.261.03, 570.172.08, 580.65.06]

# Define the driver versions for jobs that can be run in parallel
.driver-versions-ubuntu20.04:
parallel:
matrix:
- DRIVER_VERSION: [535.261.03, 570.172.08]

# Define the driver versions for jobs that can be run in parallel
.driver-versions-ubuntu24.04:
parallel:
Expand Down Expand Up @@ -183,6 +189,14 @@ trigger-pipeline:
# Since OUT_IMAGE_NAME and OUT_VERSION are set, this will push the CI image to the target
- if [[ "${PRECOMPILED}" == "true" ]]; then ./scripts/precompiled.sh push; else make push-${DIST}-${DRIVER_VERSION}; fi

.release-ubuntu20.04:
# Perform for each DRIVER_VERSION
extends:
- .release-generic
- .driver-versions-ubuntu20.04
rules:
- if: $CI_PIPELINE_SOURCE != "schedule"

.release-ubuntu22.04:
# Perform for each DRIVER_VERSION
extends:
Expand Down Expand Up @@ -227,6 +241,15 @@ trigger-pipeline:
OUT_REGISTRY: "${NGC_REGISTRY}"
OUT_IMAGE_NAME: "${NGC_STAGING_REGISTRY}/driver"

.release:staging-ubuntu20.04:
extends:
- .release-ubuntu20.04
variables:
OUT_REGISTRY_USER: "${NGC_REGISTRY_USER}"
OUT_REGISTRY_TOKEN: "${NGC_REGISTRY_TOKEN}"
OUT_REGISTRY: "${NGC_REGISTRY}"
OUT_IMAGE_NAME: "${NGC_STAGING_REGISTRY}/driver"

.release:staging-ubuntu22.04:
extends:
- .release-ubuntu22.04
Expand Down Expand Up @@ -296,7 +319,7 @@ trigger-pipeline:

release:staging-ubuntu20.04:
extends:
- .release:staging
- .release:staging-ubuntu20.04
- .dist-ubuntu20.04
needs:
- image-ubuntu20.04
Expand Down
44 changes: 26 additions & 18 deletions .nvidia-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,15 @@ image-precompiled-ubuntu24.04:
- .driver-versions-precompiled-ubuntu24.04
- .image-pull-generic

.image-pull-ubuntu20.04:
# Perform for each DRIVER_VERSION
extends:
- .driver-versions-ubuntu20.04
- .image-pull-generic
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
when: never
- !reference [.image-pull-rules, rules]

.image-pull-ubuntu22.04:
# Perform for each DRIVER_VERSION
Expand Down Expand Up @@ -128,7 +137,7 @@ image-precompiled-ubuntu22.04:

image-ubuntu20.04:
extends:
- .image-pull
- .image-pull-ubuntu20.04
- .dist-ubuntu20.04

image-ubuntu22.04:
Expand Down Expand Up @@ -208,6 +217,18 @@ image-rhel9:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- !reference [.pipeline-trigger-rules, rules]

.scan-ubuntu20.04:
# Repeat for each DRIVER_VERSION
extends:
- .driver-versions-ubuntu20.04
- .scan-generic
rules:
- !reference [.scan-rules-common, rules]
- if: $CI_PIPELINE_SOURCE == "schedule"
when: never
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- !reference [.pipeline-trigger-rules, rules]

.scan-ubuntu22.04:
# Repeat for each DRIVER_VERSION
extends:
Expand Down Expand Up @@ -259,15 +280,15 @@ image-rhel9:
# Define the scan targets
scan-ubuntu20.04-amd64:
extends:
- .scan
- .scan-ubuntu20.04
- .dist-ubuntu20.04
- .platform-amd64
needs:
- image-ubuntu20.04

scan-ubuntu20.04-arm64:
extends:
- .scan
- .scan-ubuntu20.04
- .dist-ubuntu20.04
- .platform-arm64
needs:
Expand Down Expand Up @@ -372,6 +393,7 @@ release:ngc-ubuntu20.04:
extends:
- .release:ngc
- .dist-ubuntu20.04
- .driver-versions-ubuntu20.04

release:ngc-ubuntu22.04:
extends:
Expand Down Expand Up @@ -409,20 +431,6 @@ release:ngc-precompiled-ubuntu22.04:
rules:
- !reference [.precompiled-rules, rules]

release:ngc-rhcos4.12:
extends:
- .release:ngc
- .dist-rhel8
variables:
OUT_DIST: "rhcos4.12"

release:ngc-rhcos4.13:
extends:
- .release:ngc
- .dist-rhel8
variables:
OUT_DIST: "rhcos4.13"

release:ngc-rhcos4.14:
extends:
- .release:ngc
Expand Down Expand Up @@ -597,7 +605,7 @@ sign:ngc-ubuntu-rhel-rhcos:
DRIVER_VERSION: ["535.261.03", "570.172.08", "580.65.06"]
- SIGN_JOB_NAME: ["ubuntu"]
VERSION: ["20.04"]
DRIVER_VERSION: ["535.261.03", "570.172.08", "580.65.06"]
DRIVER_VERSION: ["535.261.03", "570.172.08"]
- SIGN_JOB_NAME: ["rhel"]
VERSION: ["8.8", "8.10", "9.4", "9.5", "9.6"]
DRIVER_VERSION: ["535.261.03", "570.172.08", "580.65.06"]
Expand Down
Loading