Skip to content

DO NOT MERGE — smoke-test BuildKit mirror fix (NVIDIA/dsx-github-actions#48)#12

Closed
nvjaxzin wants to merge 2 commits into
mainfrom
chore/smoke-test-buildkit-mirror
Closed

DO NOT MERGE — smoke-test BuildKit mirror fix (NVIDIA/dsx-github-actions#48)#12
nvjaxzin wants to merge 2 commits into
mainfrom
chore/smoke-test-buildkit-mirror

Conversation

@nvjaxzin

@nvjaxzin nvjaxzin commented May 26, 2026

Copy link
Copy Markdown
Contributor

Purpose — DO NOT MERGE

Temporary pin of the docker-build composite action to the head of NVIDIA/dsx-github-actions#48 (fix/buildkit-registry-mirror, commit 480b123eed6fa49a1fe23ea0f963ca9f0d8b7752) so we can verify the BuildKit registry-mirror fix end-to-end on the exact build that originally failed.

Also adds a small verification step ahead of each docker-build call that dumps /etc/buildkit/buildkitd.toml from the runner into the job log. Reviewers can read that block directly to confirm the mirror is configured to point at dockerhub.nvidia.com.

Tracks: nvbug 6225636.

What this validates

The Docker Build (auth-callout) job pulls golang:1.25.5 as the builder base image. Previously that pull went to registry-1.docker.io and hit the Docker Hub unauthenticated rate limit (429 toomanyrequests). With the fix in #48, docker/setup-buildx-action is given buildkitd-config: /etc/buildkit/buildkitd.toml, which routes BuildKit pulls through dockerhub.nvidia.com (NVIDIA's Artifactory pull-through cache) instead.

Two signals to confirm in the job logs:

  1. The verification step (SMOKE-TEST — verify buildkitd mirror config is present on runner) prints the actual TOML contents. Look for [registry."docker.io"] with mirrors = ["dockerhub.nvidia.com"].
  2. The build step itself resolves golang:1.25.5 cleanly, no 429. This is the regression-passing signal.

The Container Scan (auth-callout) job exercises the composite action a second time on a separate runner, so a green run there also verifies the config is available across runner instances.

Rollback

Close this PR without merging. After NVIDIA/dsx-github-actions#48 merges and a new tag (likely v1.17.0) is cut, a separate adoption PR will bump both uses: lines to the new tag and drop the verification step.

Test plan

  • copy-pr-bot vetted so workflows can run.
  • SMOKE-TEST — verify buildkitd mirror config is present on runner step in Docker Build (auth-callout) succeeds and shows mirrors = ["dockerhub.nvidia.com"].
  • Docker Build (auth-callout) job succeeds end-to-end on golang:1.25.5.
  • Same two checks pass on Container Scan (auth-callout).

DO NOT MERGE. Temporary pin of the docker-build composite action to
the head of NVIDIA/dsx-github-actions#48
(commit 480b123eed6fa49a1fe23ea0f963ca9f0d8b7752, branch
fix/buildkit-registry-mirror) to verify that the auth-callout Docker
Build job successfully pulls golang:1.25.5 via dockerhub.nvidia.com
instead of hitting the Docker Hub unauthenticated rate limit.

Reverts to the v1.16.0 tag before merge. Tracks nvbug 6225636.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Signed-off-by: Brian R. Jackson <brijackson@nvidia.com>
@copy-pr-bot

copy-pr-bot Bot commented May 26, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@nvjaxzin

Copy link
Copy Markdown
Contributor Author

/ok to test

@github-actions

Copy link
Copy Markdown

🔐 TruffleHog Secret Scan

No secrets or credentials found!

Your code has been scanned for 700+ types of secrets and credentials. All clear! 🎉

🔗 View scan details

🕐 Last updated: 2026-05-26 22:09:23 UTC | Commit: 7284ce9

@github-actions

Copy link
Copy Markdown

🛡️ CodeQL Analysis

✅ No security issues found!

💡 Note: Enable GitHub Advanced Security to see full details in the Security tab.

🕐 Last updated: 2026-05-26 22:10:20 UTC | Commit: 7284ce9

DO NOT MERGE. Adds a smoke-test step ahead of each docker-build
composite action call that confirms /etc/buildkit/buildkitd.toml is
present on the nv-gha-runner. The step echoes the file contents into
the job log so reviewers can verify the [registry."docker.io"]
mirrors = ["dockerhub.nvidia.com"] block is actually being supplied
to BuildKit.

Combined with the existing pin to fix/buildkit-registry-mirror, this
gives a two-pronged confirmation: (1) the mirror config exists on the
runner, and (2) the golang:1.25.5 pull succeeds without 429.

Tracks nvbug 6225636.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Signed-off-by: Brian R. Jackson <brijackson@nvidia.com>
@nvjaxzin

Copy link
Copy Markdown
Contributor Author

/ok to test

@nvjaxzin

Copy link
Copy Markdown
Contributor Author

Closing — PR NVIDIA/dsx-github-actions#48 merged and PR #50 on the same repo unblocked Build CDS Containers on main. The smoke-test pin is no longer needed; the real adoption PR will follow with a clean tag bump.

@nvjaxzin nvjaxzin closed this May 26, 2026
@nvjaxzin nvjaxzin deleted the chore/smoke-test-buildkit-mirror branch May 26, 2026 22:50
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.

1 participant