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

chore(deps): update Bazel to v7 #13274

Merged
merged 2 commits into from
Dec 15, 2023
Merged

Conversation

coryan
Copy link
Contributor

@coryan coryan commented Dec 11, 2023

This change is Reviewable

Copy link

codecov bot commented Dec 14, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f245852) 93.06% compared to head (4299c40) 93.05%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #13274      +/-   ##
==========================================
- Coverage   93.06%   93.05%   -0.01%     
==========================================
  Files        2140     2140              
  Lines      186610   186610              
==========================================
- Hits       173661   173659       -2     
- Misses      12949    12951       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

.bazelrc Outdated
# TODO(#11485) - enable bzlmod once it works
common --noenable_bzlmod

# TODO(#....) - apparently Bazel on macOS still needs work.
Copy link

Choose a reason for hiding this comment

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

I would reframe this to point to any grpc issue about not requiring rules you're not using. AFAIUI your case things are working as expected. Either you register the default toolchain first, you require users to have Xcode, or you remove apple_support, the later seems like the best solution for reducing your maintenance cost assuming grpc allowed you to only include what you need.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

WIP - need to load more deps

WIP - update Bazel version

Disable bzlmod

WIP - only need rules_apple

Fix formatting

Cache rules_apple

Fix 'verify' directories

Fix quickstarts

Disable bzlmod on quickstarts

Use the same TODO for all bzlmod flags

WIP - more output on Windows

Working on macOS

Same edits for all other WORKSPACE files

Fix build scripts

And reorder stuff

Argh, variables, how do they work?

WIP - use common args in bazel info

Revert quickstart changes

Actually print the Bazel info

Fix some checkers

Fix TODO

Keep quickstart build at Bazel 6.4.0

For realsies this time
@coryan coryan marked this pull request as ready for review December 15, 2023 02:21
@coryan coryan requested a review from a team as a code owner December 15, 2023 02:21
Copy link
Member

@alevenberg alevenberg left a comment

Choose a reason for hiding this comment

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

yay! it compiles 🥳

@coryan coryan merged commit bb6dc52 into googleapis:main Dec 15, 2023
81 checks passed
@coryan coryan deleted the chore-update-bazel-7 branch December 15, 2023 02:50
coryan added a commit that referenced this pull request Dec 15, 2023
coryan added a commit to coryan/google-cloud-cpp that referenced this pull request Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gha:full-build Trigger a full build in GHA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants