-
Notifications
You must be signed in to change notification settings - Fork 12
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
Bump bazelversion to 8 #94
base: main
Are you sure you want to change the base?
Conversation
Closing in favor of #107 |
.bazelrc
Outdated
# Default changed in bazel 8 | ||
# See: https://github.com/bazelbuild/bazel/commit/489d08bf472f4568b3f7f478a8747a30cb956111 | ||
build --zip_undeclared_test_outputs=true |
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.
This is the easy solution to make it work with bazel 8. Getting rid of this flag might require some changes in the rostest impl of this repo.
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.
Interesting, thanks for digging into this. Do you know what changes are needed?
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.
No, I didn't dig deeper into the problem. But with the new default from Bazel 8, you would have a directory structure instead of a .zip
file in some test output folder. Any immediate idea where this could be problematic?
.bazelrc
Outdated
@@ -35,6 +35,10 @@ build --nolegacy_external_runfiles | |||
# Don't bother building targets which aren't dependencies of the tests. | |||
test --build_tests_only | |||
|
|||
# Default changed in bazel 8 |
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.
Please rephrase that this is mandatory at the moment.
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.
done
Let's see what needs to be done to make it work with Bazel 8