Skip to content

[ci] fix BUILDKITE_BAZEL_CACHE_URL scope in manylinux-retag - #62723

Merged
aslonnie merged 2 commits into
masterfrom
andrewpollack/fix-manylinux-retag
Apr 19, 2026
Merged

aslonnie merged 2 commits into
masterfrom
andrewpollack/fix-manylinux-retag

Conversation

@andrew-anyscale

Copy link
Copy Markdown
Contributor

ARG BUILDKITE_BAZEL_CACHE_URL was declared before FROM, so it was out of scope for the RUN heredoc that writes /home/forge/.bazelrc

Thank you for contributing to Ray! 🚀
Please review the Ray Contribution Guide before opening a pull request.

⚠️ Remove these instructions before submitting your PR.

💡 Tip: Mark as draft if you want early feedback, or ready for review when it's complete.

Description

Briefly describe what this PR accomplishes and why it's needed.

Related issues

Link related issues: "Fixes #1234", "Closes #1234", or "Related to #1234".

Additional information

Optional: Add implementation details, API changes, usage examples, screenshots, etc.

@andrew-anyscale
andrew-anyscale requested a review from a team as a code owner April 17, 2026 18:23

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request modifies the manylinux-retag.Dockerfile by moving the BUILDKITE_BAZEL_CACHE_URL argument definition to after the FROM instruction, ensuring it is available during the build stage. A review comment suggests that baking this value into the .bazelrc at build-time might conflict with runtime environment variables, recommending a shift to runtime configuration to ensure the environment variable is correctly honored.

Comment thread ci/docker/manylinux-retag.Dockerfile
ARG BUILDKITE_BAZEL_CACHE_URL was declared before FROM, so it was out of scope for the RUN heredoc that writes /home/forge/.bazelrc

Signed-off-by: andrew <andrew@anyscale.com>
@andrew-anyscale
andrew-anyscale force-pushed the andrewpollack/fix-manylinux-retag branch from 4dc84d0 to 829d147 Compare April 17, 2026 18:39
@aslonnie
aslonnie enabled auto-merge (squash) April 17, 2026 18:47
@github-actions github-actions Bot added the go add ONLY when ready to merge, run all tests label Apr 17, 2026
@ray-gardener ray-gardener Bot added the devprod label Apr 17, 2026
@github-actions
github-actions Bot disabled auto-merge April 19, 2026 18:32
@aslonnie
aslonnie enabled auto-merge (squash) April 19, 2026 18:33
@aslonnie
aslonnie self-requested a review April 19, 2026 18:33
@aslonnie
aslonnie merged commit 9bd342d into master Apr 19, 2026
7 checks passed
@aslonnie
aslonnie deleted the andrewpollack/fix-manylinux-retag branch April 19, 2026 20:37
HLDKNotFound pushed a commit to chichic21039/ray that referenced this pull request Apr 22, 2026
…ect#62723)

ARG BUILDKITE_BAZEL_CACHE_URL was declared before FROM, so it was out of
scope for the RUN heredoc that writes /home/forge/.bazelrc

Signed-off-by: andrew <andrew@anyscale.com>
Co-authored-by: Lonnie Liu <95255098+aslonnie@users.noreply.github.com>
Lucas61000 pushed a commit to Lucas61000/ray that referenced this pull request May 15, 2026
…ect#62723)

ARG BUILDKITE_BAZEL_CACHE_URL was declared before FROM, so it was out of
scope for the RUN heredoc that writes /home/forge/.bazelrc

Signed-off-by: andrew <andrew@anyscale.com>
Co-authored-by: Lonnie Liu <95255098+aslonnie@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devprod go add ONLY when ready to merge, run all tests

2 participants