Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ensures confugure_buildx rule runs when bazel server restarts #670

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

kvet
Copy link
Contributor

@kvet kvet commented Aug 7, 2024

Ensures that buildx builder gets recreated

Reproduced the issue in GitHub Actions with cache of repositories and external dependencies. The issue:

ERROR: /home/runner/work/xxx/BUILD.bazel:16:11: BuildDocker xxx/base failed: (Exit 1): buildx failed: error executing BuildDocker command (from target //xxx:base) bazel-out/k8-opt-exec-ST-a828a81199fe/bin/xxx/buildx build xxx --builder builder-docker ... (remaining 1 argument skipped)
ERROR: no builder "builder-docker" found

The fix is based on the following doc statement: https://arc.net/l/quote/fxyvuetr

PS. I am not an expert in bazel and my fix may be incorrect. I am welcome to a different solution

@thesayyn thesayyn merged commit 0be4040 into bazel-contrib:main Aug 7, 2024
14 checks passed
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