Skip to content

Commit 3db7089

Browse files
Release: https://github.com/chainguard-dev/rules_apko/releases/tag/v1.5.25 _Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_ Co-authored-by: publish-to-bcr-bot <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com> Co-authored-by: Dimitri John Ledkov <[email protected]>
1 parent 5872bd8 commit 3db7089

File tree

5 files changed

+87
-1
lines changed

5 files changed

+87
-1
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
"Bazel dependencies"
2+
3+
module(
4+
name = "rules_apko",
5+
compatibility_level = 1,
6+
version = "1.5.25",
7+
)
8+
9+
bazel_dep(name = "bazel_skylib", version = "1.7.1")
10+
bazel_dep(name = "platforms", version = "1.0.0")
11+
bazel_dep(name = "aspect_bazel_lib", version = "2.19.4")
12+
13+
bazel_dep(name = "rules_pkg", version = "1.1.0", dev_dependency = True)
14+
bazel_dep(name = "rules_oci", version = "2.2.6", dev_dependency = True)
15+
bazel_dep(name = "gazelle", version = "0.44.0", dev_dependency = True, repo_name = "bazel_gazelle")
16+
bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.7.1", dev_dependency = True)
17+
bazel_dep(name = "buildifier_prebuilt", version = "8.2.0.2", dev_dependency = True)
18+
bazel_dep(name = "stardoc", version = "0.8.0", dev_dependency = True, repo_name = "io_bazel_stardoc")
19+
20+
toolchain = use_extension("//apko:extensions.bzl", "apko")
21+
toolchain.toolchain(apko_version = "v0.30.22")
22+
use_repo(toolchain, "apko_toolchains")
23+
24+
register_toolchains("@apko_toolchains//:all")
25+
26+
# locks
27+
apk = use_extension(
28+
"//apko:extensions.bzl",
29+
"apko",
30+
dev_dependency = True,
31+
)
32+
apk.translate_lock(
33+
name = "examples_lock",
34+
lock = "//examples/lock:apko.lock.json",
35+
)
36+
apk.translate_lock(
37+
name = "examples_wolfi_base",
38+
lock = "//examples/wolfi-base:apko.lock.json",
39+
)
40+
apk.translate_lock(
41+
name = "examples_oci",
42+
lock = "//examples/oci:apko.lock.json",
43+
)
44+
apk.translate_lock(
45+
name = "examples_multi_arch_and_repo",
46+
lock = "//examples/multi_arch_and_repo:apko.lock.json",
47+
)
48+
use_repo(apk, "examples_multi_arch_and_repo")
49+
use_repo(apk, "examples_lock")
50+
use_repo(apk, "examples_wolfi_base")
51+
use_repo(apk, "examples_oci")
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
===================================================================
2+
--- a/MODULE.bazel
3+
+++ b/MODULE.bazel
4+
@@ -2,8 +2,9 @@
5+
6+
module(
7+
name = "rules_apko",
8+
compatibility_level = 1,
9+
+ version = "1.5.25",
10+
)
11+
12+
bazel_dep(name = "bazel_skylib", version = "1.7.1")
13+
bazel_dep(name = "platforms", version = "1.0.0")
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
bcr_test_module:
2+
module_path: "e2e/smoke"
3+
matrix:
4+
bazel: ["7.x", "8.x"]
5+
platform: ["debian11", "ubuntu2204"]
6+
tasks:
7+
run_tests:
8+
name: "Run test module"
9+
bazel: ${{ bazel }}
10+
platform: ${{ platform }}
11+
test_targets:
12+
- "//..."
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"integrity": "sha256-55qF+yOCuuRtLQWJTgl4uLDQleCnNfLNMuW/ON+c9Yc=",
3+
"strip_prefix": "rules_apko-1.5.25",
4+
"url": "https://github.com/chainguard-dev/rules_apko/releases/download/v1.5.25/rules_apko-v1.5.25.tar.gz",
5+
"patches": {
6+
"module_dot_bazel_version.patch": "sha256-qCjGde4mImjvA2aZnVtKAsnNgVCu69K0gKHUCM+F+Zk="
7+
},
8+
"patch_strip": 1
9+
}

modules/rules_apko/metadata.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@
5959
"1.5.21",
6060
"1.5.22",
6161
"1.5.23",
62-
"1.5.24"
62+
"1.5.24",
63+
"1.5.25"
6364
],
6465
"yanked_versions": {}
6566
}

0 commit comments

Comments
 (0)