Use a custom bazel-postsubmit.yml file for Bazel in downstream pipeline#1878
Merged
meteorcloudy merged 1 commit intobazelbuild:masterfrom Feb 12, 2024
Merged
Conversation
Member
Author
fmeum
approved these changes
Feb 12, 2024
This was referenced Apr 16, 2024
Wyverald
pushed a commit
that referenced
this pull request
Apr 16, 2024
Re-applying #1878 to address bazelbuild/bazel#21864 (comment) The postsubmit.yml was synced to the latest version in Bazel
fweikert
pushed a commit
to fweikert/continuous-integration
that referenced
this pull request
Mar 27, 2025
…ne (bazelbuild#1878) Fixes bazelbuild/bazel#21292 After bazelbuild/bazel@a54a393, the canonical repo name returned by Bazel@HEAD no longer matches the name in MODULE.bazel.lock, therefore we need to run `bazel mod deps --lockfile_mode=update` to re-generate the lockfile before running the build. This is done by changing the postsubmi.yml file for Bazel to a custom version located in the CI repo, which can be updated by running `./update-bazel-postsubmit.sh` under `./pipelines`. We may revert this change after we update Bazel to 7.1 for building Bazel itself.
fweikert
pushed a commit
to fweikert/continuous-integration
that referenced
this pull request
Mar 27, 2025
Re-applying bazelbuild#1878 to address bazelbuild/bazel#21864 (comment) The postsubmit.yml was synced to the latest version in Bazel
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.
Fixes bazelbuild/bazel#21292
After bazelbuild/bazel@a54a393, the canonical repo name returned by Bazel@HEAD no longer matches the name in MODULE.bazel.lock, therefore we need to run
bazel mod deps --lockfile_mode=updateto re-generate the lockfile before running the build.This is done by changing the postsubmi.yml file for Bazel to a custom version located in the CI repo, which can be updated by running
./update-bazel-postsubmit.shunder./pipelines.We may revert this change after we update Bazel to 7.1 for building Bazel itself.