Skip to content
Open
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
56 changes: 56 additions & 0 deletions .common-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,18 @@ trigger-pipeline:
variables:
DIST: rhel10

.dist-rocky8:
variables:
DIST: rocky8

.dist-rocky9:
variables:
DIST: rocky9

.dist-rocky10:
variables:
DIST: rocky10

# Define the platform targets
.platform-amd64:
variables:
Expand Down Expand Up @@ -223,6 +231,14 @@ trigger-pipeline:
rules:
- if: $CI_PIPELINE_SOURCE != "schedule" && $CI_COMMIT_TAG == null

.release-rocky10:
# Perform for each DRIVER_VERSION
extends:
- .release-generic
- .driver-versions-rhel10
rules:
- if: $CI_PIPELINE_SOURCE != "schedule" && $CI_COMMIT_TAG == null

.release-rhel10:
# Perform for each DRIVER_VERSION
extends:
Expand All @@ -231,6 +247,14 @@ trigger-pipeline:
rules:
- if: $CI_PIPELINE_SOURCE != "schedule" && $CI_COMMIT_TAG == null

.release-rocky8:
# Perform for each DRIVER_VERSION
extends:
- .release-generic
- .driver-versions
rules:
- if: $CI_PIPELINE_SOURCE != "schedule" && $CI_COMMIT_TAG == null

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

.release:staging-rocky8:
extends:
- .release-rocky8
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-rocky9:
extends:
- .release-rocky9
Expand All @@ -296,6 +329,15 @@ trigger-pipeline:
OUT_REGISTRY: "${NGC_REGISTRY}"
OUT_IMAGE_NAME: "${NGC_STAGING_REGISTRY}/driver"

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

# Define an external release step that pushes an image to an external repository.
.release:external:
extends:
Expand Down Expand Up @@ -355,6 +397,13 @@ release:staging-rhel9:
needs:
- image-rhel9

release:staging-rocky8:
extends:
- .release:staging
- .dist-rocky8
needs:
- image-rocky8

#release:staging-rhel10:
# extends:
# - .release:staging
Expand All @@ -369,6 +418,13 @@ release:staging-rocky9:
needs:
- image-rocky9

release:staging-rocky10:
extends:
- .release:staging-rhel10
- .dist-rocky10
needs:
- image-rocky10

.release:staging-precompiled:
stage: release
variables:
Expand Down
53 changes: 53 additions & 0 deletions .nvidia-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,21 @@ image-rhel10:
- .image-pull-rhel10
- .dist-rhel10

image-rocky8:
extends:
- .image-pull
- .dist-rocky8

image-rocky9:
extends:
- .image-pull
- .dist-rocky9

image-rocky10:
extends:
- .image-pull-rhel10
- .dist-rocky10

# The .scan step forms the base of the image scan operation performed before releasing
# images.
.scan-generic:
Expand Down Expand Up @@ -381,6 +391,22 @@ scan-rhel10-arm64:
needs:
- image-rhel10

scan-rocky8-amd64:
extends:
- .scan
- .dist-rocky8
- .platform-amd64
needs:
- image-rocky8

scan-rocky8-arm64:
extends:
- .scan
- .dist-rocky8
- .platform-arm64
needs:
- image-rocky8

scan-rocky9-amd64:
extends:
- .scan
Expand All @@ -397,6 +423,22 @@ scan-rocky9-arm64:
needs:
- image-rocky9

scan-rocky10-amd64:
extends:
- .scan-rhel10
- .dist-rocky10
- .platform-amd64
needs:
- image-rocky10

scan-rocky10-arm64:
extends:
- .scan-rhel10
- .dist-rocky10
- .platform-arm64
needs:
- image-rocky10

.release:ngc-variables:
variables:
OUT_REGISTRY_USER: "${NGC_REGISTRY_USER}"
Expand Down Expand Up @@ -526,11 +568,22 @@ release:ngc-rhel9:
- .release:ngc
- .dist-rhel9

release:ngc-rocky8:
extends:
- .release:ngc
- .dist-rocky8

release:ngc-rocky9:
extends:
- .release:ngc
- .dist-rocky9

release:ngc-rocky10:
extends:
- .release:ngc
- .dist-rocky10
- .driver-versions-rhel10

release:ngc-rhel10:
extends:
- .release:ngc
Expand Down