Extended support for Bazel 5
This release is fully compatible with Bazel 7.1 and later, just like rules_gcs 1.0.0.
Additionally, gcs_file and gcs_archive are now backported to work on Bazel 5.4.1 and later (even with --noenable_bzlmod). A full example is provided here.
Credential Helper Diversity
rules_gcs ships with a simple credential helper out of the box. Meanwhile, Tweag has released tweag-credential-helper as a fully fledged authentication provider with caching and support for many services built-in.
We recommend using a dedicated credential helper for performance reasons.
Lockfile JSONPath
The lockfile consumed by gcs_bucket.from_file can now be part of a larger JSON document. The optional attribute lockfile_jsonpath can be used to specify a part of a JSON file to be used instead.
What's Changed
- test on Bazel 8 by @malt3 in #2
- examples: add an example with a real credential helper by @malt3 in #3
- tweag-credential-helper example: remove unused deps by @malt3 in #4
- ci: switch Google workload identity provider by @malt3 in #5
- use child object of json lockfile if JSONPath is given by @malt3 in #7
- Basic Bazel 5 support (and earlier) by @malt3 in #9
- prepare v1.0.1 by @malt3 in #10
- docs: update to add
lockfile_jsonpathattribute by @malt3 in #11
New Contributors
Full Changelog: v1.0.0...v1.0.1