Skip to content

Commit 79ebb7d

Browse files
1 parent c104b7d commit 79ebb7d

File tree

5 files changed

+63
-1
lines changed

5 files changed

+63
-1
lines changed

modules/rules_oci/1.7.5/MODULE.bazel

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
"bazel-contrib/rules_oci"
2+
3+
module(
4+
name = "rules_oci",
5+
version = "1.7.5",
6+
compatibility_level = 1,
7+
)
8+
9+
# Minimum 1.36.0 to include https://github.com/aspect-build/bazel-lib/pull/594
10+
bazel_dep(name = "aspect_bazel_lib", version = "1.36.0")
11+
bazel_dep(name = "bazel_skylib", version = "1.4.1")
12+
bazel_dep(name = "platforms", version = "0.0.5")
13+
14+
oci = use_extension("//oci:extensions.bzl", "oci")
15+
oci.toolchains(crane_version = "v0.18.0")
16+
use_repo(oci, "oci_crane_registry_toolchains", "oci_crane_toolchains")
17+
18+
register_toolchains("@oci_crane_toolchains//:all", "@oci_crane_registry_toolchains//:all")
19+
20+
bazel_dep(name = "rules_pkg", version = "0.7.0", dev_dependency = True)
21+
bazel_dep(name = "gazelle", version = "0.29.0", dev_dependency = True, repo_name = "bazel_gazelle")
22+
bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.1", dev_dependency = True)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
===================================================================
2+
--- a/MODULE.bazel
3+
+++ b/MODULE.bazel
4+
@@ -1,9 +1,9 @@
5+
"bazel-contrib/rules_oci"
6+
7+
module(
8+
name = "rules_oci",
9+
- version = "0.0.0",
10+
+ version = "1.7.5",
11+
compatibility_level = 1,
12+
)
13+
14+
# Minimum 1.36.0 to include https://github.com/aspect-build/bazel-lib/pull/594

modules/rules_oci/1.7.5/presubmit.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
bcr_test_module:
2+
module_path: "e2e/crane_as_registry"
3+
matrix:
4+
bazel: ["6.x", "7.x"]
5+
# TODO(#97): add windows
6+
# File "C:/b/eznkjcld/external/rules_oci~override/oci/repositories.bzl", line 100, column 64, in _stucture_test_repo_impl
7+
# integrity = ST_VERSIONS[repository_ctx.attr.st_version][platform],
8+
# Error: key "windows-amd64" not found in dictionary
9+
platform: ["debian10", "macos", "ubuntu2004"]
10+
tasks:
11+
run_tests:
12+
name: "Run test module"
13+
bazel: ${{ bazel }}
14+
platform: ${{ platform }}
15+
test_targets:
16+
- "//..."

modules/rules_oci/1.7.5/source.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"integrity": "sha256-VtVJkCXWemuGsubrrlIyxyEErmgrWiEod3C9O/BmGr8=",
3+
"strip_prefix": "rules_oci-1.7.5",
4+
"url": "https://github.com/bazel-contrib/rules_oci/releases/download/v1.7.5/rules_oci-v1.7.5.tar.gz",
5+
"patches": {
6+
"module_dot_bazel_version.patch": "sha256-lig21/o7qRchCezlG3z6xbGmkFFEsfxbrJwrdPJAc/E="
7+
},
8+
"patch_strip": 1
9+
}

modules/rules_oci/metadata.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
"1.7.0",
4141
"1.7.2",
4242
"1.7.3",
43-
"1.7.4"
43+
"1.7.4",
44+
"1.7.5"
4445
],
4546
"yanked_versions": {}
4647
}

0 commit comments

Comments
 (0)