feat(ci): add modular nightly build workflow for S3 + DockerHub publishing - #642
Open
sangli-pensando wants to merge 3 commits into
Open
feat(ci): add modular nightly build workflow for S3 + DockerHub publishing#642sangli-pensando wants to merge 3 commits into
sangli-pensando wants to merge 3 commits into
Conversation
…shing Introduces a nightly build pipeline that builds all gpu-operator artifacts (controller, utils, OLM bundle, remediation-configmap-util, Helm chart), publishes to S3 and DockerHub (amdpsdo/), and calls the common-infra-operator orchestrator for validation. The workflow is decomposed into reusable stages (build-images, build-helm, publish, build-summary) to enable future extraction to common-infra-operator for cross-repo reuse. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds pull_request trigger (path-filtered to workflow files) so the nightly build can be validated on the PR before merging. Publish is skipped on PR events since fork PRs lack access to repo secrets. Remove the PR trigger before merging. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The entrypoint uses exec "$@" when USER_NAME is not set (CI mode). Passing bash -c as separate args caused exec to treat the entire script as a binary name (exit code 127). Match the make default pattern: pass the full command as a single quoted string. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
nightly-build.yml) that builds all gpu-operator artifacts, publishes to S3 and DockerHub (amdpsdo/), and calls the common-infra-operator orchestrator for validationbuild-images.yml,build-helm.yml,publish.yml,build-summary.yml) to enable future extraction tocommon-infra-operatorfor cross-repo reuseWorkflow architecture
Artifacts published (nightly)
S3 path: s3://THEROCK_BUCKET_NAME/gpu-operator/nightly/{YYYYMMDD}/
PR validation approach
A temporary pull_request trigger (path-filtered to workflow files) has been added to validate the build stages on this PR. This trigger will be removed before merging.
Expected PR run results
Full end-to-end validation (post-merge)
After merging, trigger via gh workflow run nightly-build.yml to validate the complete pipeline including S3 upload and DockerHub push.
Test plan
Notes