Skip to content

Commit 019b40d

Browse files
rules_oci@2.2.3 (#4004)
Release: https://github.com/bazel-contrib/rules_oci/releases/tag/v2.2.3 _Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_ Co-authored-by: Sahin Yort <sahin@aspect.dev>
1 parent 6f4a4d3 commit 019b40d

5 files changed

Lines changed: 81 additions & 1 deletion

File tree

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
"bazel-contrib/rules_oci"
2+
3+
module(
4+
name = "rules_oci",
5+
version = "2.2.3",
6+
compatibility_level = 1,
7+
)
8+
9+
bazel_dep(name = "aspect_bazel_lib", version = "2.7.2")
10+
bazel_dep(name = "bazel_features", version = "1.10.0")
11+
bazel_dep(name = "bazel_skylib", version = "1.5.0")
12+
bazel_dep(name = "platforms", version = "0.0.8")
13+
14+
oci = use_extension("//oci:extensions.bzl", "oci")
15+
oci.toolchains()
16+
use_repo(oci, "oci_crane_toolchains", "oci_regctl_toolchains")
17+
18+
register_toolchains("@oci_crane_toolchains//:all", "@oci_regctl_toolchains//:all")
19+
20+
# Workaround https://github.com/aspect-build/bazel-lib/pull/832
21+
zstd = use_extension("@aspect_bazel_lib//lib:extensions.bzl", "toolchains")
22+
zstd.zstd()
23+
use_repo(zstd, "zstd_toolchains")
24+
25+
register_toolchains("@zstd_toolchains//:all")
26+
27+
bazel_lib = use_extension("@aspect_bazel_lib//lib:extensions.bzl", "toolchains")
28+
bazel_lib.jq()
29+
bazel_lib.tar()
30+
use_repo(bazel_lib, "bsd_tar_toolchains", "jq_toolchains")
31+
32+
# Dev dependencies
33+
34+
bazel_dep(name = "rules_go", version = "0.46.0", dev_dependency = True, repo_name = "io_bazel_rules_go")
35+
bazel_dep(name = "gazelle", version = "0.35.0", dev_dependency = True, repo_name = "bazel_gazelle")
36+
bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.1", dev_dependency = True)
37+
bazel_dep(name = "rules_multirun", version = "0.9.0", dev_dependency = True)
38+
bazel_dep(name = "stardoc", version = "0.6.2", dev_dependency = True, repo_name = "io_bazel_stardoc")
39+
bazel_dep(name = "rules_multitool", version = "0.9.0", dev_dependency = True)
40+
41+
multitool = use_extension("@rules_multitool//multitool:extension.bzl", "multitool", dev_dependency = True)
42+
multitool.hub(lockfile = "//tools:tools.lock.json")
43+
use_repo(multitool, "multitool")
Lines changed: 14 additions & 0 deletions
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 = "2.2.3",
11+
compatibility_level = 1,
12+
)
13+
14+
bazel_dep(name = "aspect_bazel_lib", version = "2.7.2")
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
bcr_test_module:
2+
module_path: "e2e/smoke"
3+
matrix:
4+
bazel: ["6.x", "7.x"]
5+
# TODO(#97): add windows
6+
platform: ["debian10", "ubuntu2004"]
7+
tasks:
8+
test_linux:
9+
name: "Run test module"
10+
bazel: ${{ bazel }}
11+
platform: ${{ platform }}
12+
test_targets:
13+
- "//..."
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"integrity": "sha256-HndZhS6MrZZsp5NBLSkvHUr1gxlA+yy1c/GJCtHpZB4=",
3+
"strip_prefix": "rules_oci-2.2.3",
4+
"url": "https://github.com/bazel-contrib/rules_oci/releases/download/v2.2.3/rules_oci-v2.2.3.tar.gz",
5+
"patches": {
6+
"module_dot_bazel_version.patch": "sha256-uHwJv4QZQFPEfJqCCHvKuS6Wxf+bU9jM+DfmYsXfDCI="
7+
},
8+
"patch_strip": 1
9+
}

modules/rules_oci/metadata.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@
5656
"2.0.1",
5757
"2.2.0",
5858
"2.2.1",
59-
"2.2.2"
59+
"2.2.2",
60+
"2.2.3"
6061
],
6162
"yanked_versions": {}
6263
}

0 commit comments

Comments
 (0)