Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Publish bazel-contrib/rules_oci@v1.7.2 * Update presubmit.yml --------- Co-authored-by: Sahin Yort <sahin@aspect.dev> Co-authored-by: Alex Eagle <alex@aspect.dev>
- Loading branch information
1 parent
08c2fa0
commit d470963
Showing
5 changed files
with
63 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
"bazel-contrib/rules_oci" | ||
|
||
module( | ||
name = "rules_oci", | ||
version = "1.7.2", | ||
compatibility_level = 1, | ||
) | ||
|
||
# Minimum 1.36.0 to include https://github.com/aspect-build/bazel-lib/pull/594 | ||
bazel_dep(name = "aspect_bazel_lib", version = "1.36.0") | ||
bazel_dep(name = "bazel_skylib", version = "1.4.1") | ||
bazel_dep(name = "platforms", version = "0.0.5") | ||
|
||
oci = use_extension("//oci:extensions.bzl", "oci") | ||
oci.toolchains(crane_version = "v0.18.0") | ||
use_repo(oci, "oci_crane_registry_toolchains", "oci_crane_toolchains") | ||
|
||
register_toolchains("@oci_crane_toolchains//:all", "@oci_crane_registry_toolchains//:all") | ||
|
||
bazel_dep(name = "rules_pkg", version = "0.7.0", dev_dependency = True) | ||
bazel_dep(name = "gazelle", version = "0.29.0", dev_dependency = True, repo_name = "bazel_gazelle") | ||
bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.1", dev_dependency = True) |
14 changes: 14 additions & 0 deletions
14
modules/rules_oci/1.7.2/patches/module_dot_bazel_version.patch
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,14 @@ | ||
=================================================================== | ||
--- a/MODULE.bazel | ||
+++ b/MODULE.bazel | ||
@@ -1,9 +1,9 @@ | ||
"bazel-contrib/rules_oci" | ||
|
||
module( | ||
name = "rules_oci", | ||
- version = "0.0.0", | ||
+ version = "1.7.2", | ||
compatibility_level = 1, | ||
) | ||
|
||
# Minimum 1.36.0 to include https://github.com/aspect-build/bazel-lib/pull/594 |
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,16 @@ | ||
bcr_test_module: | ||
module_path: "e2e/crane_as_registry" | ||
matrix: | ||
# TODO(#97): add windows | ||
# File "C:/b/eznkjcld/external/rules_oci~override/oci/repositories.bzl", line 100, column 64, in _stucture_test_repo_impl | ||
# integrity = ST_VERSIONS[repository_ctx.attr.st_version][platform], | ||
# Error: key "windows-amd64" not found in dictionary | ||
platform: ["debian10", "macos", "ubuntu2004"] | ||
bazel: ["6.x", "7.x"] | ||
tasks: | ||
run_tests: | ||
name: "Run test module" | ||
bazel: ${{ bazel }} | ||
platform: ${{ platform }} | ||
test_targets: | ||
- "//..." |
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,9 @@ | ||
{ | ||
"integrity": "sha256-z2uL6CzeMNrvGKCVGddSaWUDF+QNkXyGM8+OOrVkXqU=", | ||
"strip_prefix": "rules_oci-1.7.2", | ||
"url": "https://github.com/bazel-contrib/rules_oci/releases/download/v1.7.2/rules_oci-v1.7.2.tar.gz", | ||
"patches": { | ||
"module_dot_bazel_version.patch": "sha256-NxdDAvGfmkSYa0jxbGYcmWfGmC1CSZv7ZsaZa6ftdZM=" | ||
}, | ||
"patch_strip": 1 | ||
} |
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 |
---|---|---|
|
@@ -37,7 +37,8 @@ | |
"1.5.0", | ||
"1.5.1", | ||
"1.6.0", | ||
"1.7.0" | ||
"1.7.0", | ||
"1.7.2" | ||
], | ||
"yanked_versions": {} | ||
} |