Skip to content

Set external release jobs to use Staging image construction #594

Open
JunAr7112 wants to merge 1 commit intoNVIDIA:mainfrom
JunAr7112:test
Open

Set external release jobs to use Staging image construction #594
JunAr7112 wants to merge 1 commit intoNVIDIA:mainfrom
JunAr7112:test

Conversation

@JunAr7112
Copy link
Contributor

No description provided.

@copy-pr-bot
Copy link

copy-pr-bot bot commented Feb 3, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@JunAr7112 JunAr7112 force-pushed the test branch 4 times, most recently from 7bc461b to fa38475 Compare February 3, 2026 18:18
Makefile Outdated

OUT_DIST ?= $(DIST)
OUT_IMAGE_TAG = $(OUT_IMAGE_VERSION)-$(OUT_DIST)
OUT_IMAGE_TAG = $(OUT_IMAGE_VERSION)-$(DIST)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should not be dropping the use of $OUT_DIST here. It is needed for for the rhel driver image tags

Copy link
Contributor Author

@JunAr7112 JunAr7112 Feb 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Earlier, when we publishing we would just use the rhel8/rhel9 tags in Staging jobs with tags. This change would still use the OUT_DIST for building the publishing template. Do we also want to use the OUT_DIST for the Staging?

I changed it to be more consistent with the practice in the other projects + the pre publishing changes format.

Copy link
Contributor Author

@JunAr7112 JunAr7112 Feb 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I updated this to continue using the OUT_DIST. We will instead use the OUT_DIST for the source_version. I think this format might be simpler than the initial changes

.common-ci.yml Outdated
- if [[ "${PRECOMPILED}" == "true" ]]; then ./scripts/precompiled.sh push; else make push-${DIST}-${DRIVER_VERSION}; fi
- mkdir -p build-info
- echo "${CI_COMMIT_SHORT_SHA}-${DRIVER_VERSION}-${DIST} ${DRIVER_VERSION}-${OUT_DIST}" > build-info/${CI_PIPELINE_ID}-${DRIVER_VERSION}-${OUT_DIST}.txt
- echo "${VERSION}-${DRIVER_VERSION}-${DIST} ${DRIVER_VERSION}-${OUT_DIST}" > build-info/${CI_PIPELINE_ID}-${DRIVER_VERSION}-${OUT_DIST}.txt
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this change necessary? Isn't VERSION already set to CI_COMMIT_SHORT_SHA?

Copy link
Contributor Author

@JunAr7112 JunAr7112 Feb 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is not strictly needed, but makes testing easier with the NSPECT job (in case we are building an image with a different VERSION than CI_COMMIT_SHORT_SHA

@JunAr7112 JunAr7112 force-pushed the test branch 2 times, most recently from 98ffeb9 to 3b78728 Compare February 13, 2026 21:16
Signed-off-by: Arjun <agadiyar@nvidia.com>
- .release
rules:
- if: $CI_COMMIT_TAG
variables:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need to remove this?

Copy link
Contributor Author

@JunAr7112 JunAr7112 Feb 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed it to align with the Makefile rules we are aiming for:

ifeq ($(OUT_VERSION),)
OUT_IMAGE_VERSION = (DRIVER_TAG)
else
OUT_IMAGE_VERSION = (OUT_VERSION)-(DRIVER_TAG)
endif

OUT_DIST ?= (DIST)
OUT_IMAGE_TAG = (OUT_IMAGE_VERSION)-(OUT_DIST)
OUT_IMAGE = (OUT_IMAGE_NAME):(OUT_IMAGE_TAG)

That way we will push images of form (CI_COMMIT_SHORT_SHA)-(TAG)-(OUT_DIST)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments