-
-
Notifications
You must be signed in to change notification settings - Fork 76
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: upgrade to Bazel 8 #390
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
2d61c8c
chore: upgrade to Bazel 8
alexeagle be513db
chore: move aspect workflows deps to multitool
alexeagle bd084ce
chore: update toolchains_protoc
alexeagle 9c09849
chore(deps): update bazel modules
alexeagle 19b8fcd
chore: update golden files
alexeagle 24ba3b8
refactor: unlink nested bazelversion files
alexeagle 6ff6e8f
chore: pin protoc to release rather than rc
alexeagle d1a2db7
chore: make jdk hermetic
alexeagle File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# No Bazel 8 specific flag presets yet. |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Aspect recommended Bazel flags when using rules_java and rules_jvm_external | ||
|
||
# Pin java versions to desired language level | ||
# See https://bazel.build/docs/bazel-and-java#java-versions | ||
# and https://en.wikipedia.org/wiki/Java_version_history | ||
|
||
# What version of Java are the source files in this repo? | ||
# See https://bazel.build/docs/user-manual#java-language-version | ||
common --java_language_version=17 | ||
|
||
# The Java language version used to build tools that are executed during a build | ||
# See https://bazel.build/docs/user-manual#tool-java-language-version | ||
common --tool_java_language_version=17 | ||
|
||
# The version of JVM to use to execute the code and run the tests. | ||
# NB: The default value is local_jdk which is non-hermetic. | ||
# See https://bazel.build/docs/user-manual#java-runtime-version | ||
common --java_runtime_version=remotejdk_17 | ||
|
||
# The version of JVM used to execute tools that are needed during a build. | ||
# See https://bazel.build/docs/user-manual#tool-java-runtime-version | ||
common --tool_java_runtime_version=remotejdk_17 | ||
|
||
# Repository rules, such as rules_jvm_external: put Bazel's JDK on the path. | ||
# Avoids non-hermeticity from dependency on a JAVA_HOME pointing at a system JDK | ||
# see https://github.com/bazelbuild/rules_jvm_external/issues/445 | ||
common --repo_env=JAVA_HOME=../bazel_tools/jdk |
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/theoremlp/rules_multitool/main/lockfile.schema.json", | ||
"circleci-config-merge": { | ||
"binaries": [ | ||
{ | ||
"kind": "archive", | ||
"url": "https://github.com/suzuki-shunsuke/circleci-config-merge/releases/download/v1.1.6/circleci-config-merge_1.1.6_linux_arm64.tar.gz", | ||
"file": "circleci-config-merge", | ||
"sha256": "31a5d542644af6af4b82c7cce59cf1088213f2b51c3816f327c6950e02bacd6b", | ||
"os": "linux", | ||
"cpu": "arm64" | ||
}, | ||
{ | ||
"kind": "archive", | ||
"url": "https://github.com/suzuki-shunsuke/circleci-config-merge/releases/download/v1.1.6/circleci-config-merge_1.1.6_linux_amd64.tar.gz", | ||
"file": "circleci-config-merge", | ||
"sha256": "dde6099fb7528590f5a224b77205dfa97c1d0f37257ff37dec0da787b65f5bec", | ||
"os": "linux", | ||
"cpu": "x86_64" | ||
}, | ||
{ | ||
"kind": "archive", | ||
"url": "https://github.com/suzuki-shunsuke/circleci-config-merge/releases/download/v1.1.6/circleci-config-merge_1.1.6_darwin_arm64.tar.gz", | ||
"file": "circleci-config-merge", | ||
"sha256": "edc41e2eb49545947e990bbf9e39fec7ffc421bd9b853576f89f1f69f447a6be", | ||
"os": "macos", | ||
"cpu": "arm64" | ||
}, | ||
{ | ||
"kind": "archive", | ||
"url": "https://github.com/suzuki-shunsuke/circleci-config-merge/releases/download/v1.1.6/circleci-config-merge_1.1.6_darwin_amd64.tar.gz", | ||
"file": "circleci-config-merge", | ||
"sha256": "bc728349d0da60ae7c31ab9d27dc8e3d12a1f8e4ff2e24d057ff44d3b44bf2a0", | ||
"os": "macos", | ||
"cpu": "x86_64" | ||
}, | ||
{ | ||
"kind": "archive", | ||
"url": "https://github.com/suzuki-shunsuke/circleci-config-merge/releases/download/v1.1.6/circleci-config-merge_1.1.6_windows_arm64.zip", | ||
"file": "circleci-config-merge.exe", | ||
"sha256": "f29886c2e65027efe3fc648cacb9adf3b2fc9665e86737271bd0d78a754b461c", | ||
"os": "windows", | ||
"cpu": "arm64" | ||
}, | ||
{ | ||
"kind": "archive", | ||
"url": "https://github.com/suzuki-shunsuke/circleci-config-merge/releases/download/v1.1.6/circleci-config-merge_1.1.6_windows_amd64.zip", | ||
"file": "circleci-config-merge.exe", | ||
"sha256": "14e2bd8fcfd72dc5c990a51a76ba0d03e97f8d3301ed6f0017961b25b75cdb99", | ||
"os": "windows", | ||
"cpu": "x86_64" | ||
} | ||
] | ||
}, | ||
"rosetta": { | ||
"binaries": [ | ||
{ | ||
"kind": "file", | ||
"os": "linux", | ||
"cpu": "arm64", | ||
"url": "https://static.aspect.build/aspect/5.11.0/rosetta_real_linux_arm64", | ||
"sha256": "ab0b1c12093d91d327359f5d7fe0b0f1a3e8d59a242075624bafba9c24ac7d25" | ||
}, | ||
{ | ||
"kind": "file", | ||
"os": "linux", | ||
"cpu": "x86_64", | ||
"url": "https://static.aspect.build/aspect/5.11.0/rosetta_real_linux_x86_64", | ||
"sha256": "5a00dac4eb2c99aef30c71a1fa2678a7733206f20193a9b5dfc656cd1e388364" | ||
}, | ||
{ | ||
"kind": "file", | ||
"os": "macos", | ||
"cpu": "arm64", | ||
"url": "https://static.aspect.build/aspect/5.11.0/rosetta_real_darwin_arm64", | ||
"sha256": "ce659dc6ca6e9e973d4b3e6264ea30d05a2d13ae8419ee9615e1e4e7ebf0309f" | ||
}, | ||
{ | ||
"kind": "file", | ||
"os": "macos", | ||
"cpu": "x86_64", | ||
"url": "https://static.aspect.build/aspect/5.11.0/rosetta_real_darwin_x86_64", | ||
"sha256": "e55e92c6f2f741859b044fc6bb03f545e270a5ed339339dbfa3f27e15dfa3be1" | ||
} | ||
] | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
7.4.1 |
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
7.4.1 |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😎