-
Notifications
You must be signed in to change notification settings - Fork 359
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Publish chainguard-dev/[email protected] (#1013)
Co-authored-by: null <null>
- Loading branch information
1 parent
68ca61f
commit b46dab2
Showing
5 changed files
with
111 additions
and
0 deletions.
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,51 @@ | ||
"Bazel dependencies" | ||
|
||
module( | ||
name = "rules_apko", | ||
version = "0.2.3", | ||
compatibility_level = 1, | ||
) | ||
|
||
bazel_dep(name = "bazel_skylib", version = "1.4.2") | ||
bazel_dep(name = "platforms", version = "0.0.5") | ||
bazel_dep(name = "aspect_bazel_lib", version = "1.34.5") | ||
|
||
bazel_dep(name = "container_structure_test", version = "1.15.0", dev_dependency = True) | ||
bazel_dep(name = "rules_pkg", version = "0.7.0", dev_dependency = True) | ||
bazel_dep(name = "rules_oci", version = "1.3.3", 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) | ||
bazel_dep(name = "buildifier_prebuilt", version = "6.1.0", dev_dependency = True) | ||
|
||
toolchain = use_extension("//apko:extensions.bzl", "apko") | ||
toolchain.toolchain(apko_version = "v0.11.0") | ||
use_repo(toolchain, "apko_toolchains") | ||
|
||
register_toolchains("@apko_toolchains//:all") | ||
|
||
# locks | ||
apk = use_extension( | ||
"//apko:extensions.bzl", | ||
"apko", | ||
dev_dependency = True, | ||
) | ||
apk.translate_lock( | ||
name = "examples_lock", | ||
lock = "//examples/lock:apko.resolved.json", | ||
) | ||
apk.translate_lock( | ||
name = "examples_wolfi_base", | ||
lock = "//examples/wolfi-base:apko.resolved.json", | ||
) | ||
apk.translate_lock( | ||
name = "examples_oci", | ||
lock = "//examples/oci:apko.resolved.json", | ||
) | ||
apk.translate_lock( | ||
name = "examples_multi_arch_and_repo", | ||
lock = "//examples/multi_arch_and_repo:apko.resolved.json", | ||
) | ||
use_repo(apk, "examples_multi_arch_and_repo") | ||
use_repo(apk, "examples_lock") | ||
use_repo(apk, "examples_wolfi_base") | ||
use_repo(apk, "examples_oci") |
14 changes: 14 additions & 0 deletions
14
modules/rules_apko/0.2.3/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 dependencies" | ||
|
||
module( | ||
name = "rules_apko", | ||
- version = "0.0.0", | ||
+ version = "0.2.3", | ||
compatibility_level = 1, | ||
) | ||
|
||
bazel_dep(name = "bazel_skylib", version = "1.4.2") |
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,10 @@ | ||
bcr_test_module: | ||
module_path: "e2e/smoke" | ||
matrix: | ||
platform: ["debian10", "macos", "ubuntu2004"] | ||
tasks: | ||
run_tests: | ||
name: "Run test module" | ||
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-mO61My5pPtMqEfGu/H8oIqk8RR/UhTgsqjbAAAjGMt4=", | ||
"strip_prefix": "rules_apko-0.2.3", | ||
"url": "https://github.com/chainguard-dev/rules_apko/releases/download/v0.2.3/rules_apko-v0.2.3.tar.gz", | ||
"patches": { | ||
"module_dot_bazel_version.patch": "sha256-NtifOu93C232PHzqy/XhssB4q6MYMv+cD6jfDyjzqvY=" | ||
}, | ||
"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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"homepage": "https://github.com/chainguard-dev/rules_apko", | ||
"maintainers": [ | ||
{ | ||
"email": "[email protected]", | ||
"github": "alexeagle", | ||
"name": "Alex Eagle" | ||
}, | ||
{ | ||
"email": "[email protected]", | ||
"github": "thesayyn", | ||
"name": "Şahin Yort" | ||
}, | ||
{ | ||
"email": "[email protected]", | ||
"github": "imjasonh", | ||
"name": "Jason Hall" | ||
} | ||
], | ||
"repository": [ | ||
"github:chainguard-dev/rules_apko" | ||
], | ||
"versions": [ | ||
"0.2.3" | ||
], | ||
"yanked_versions": {} | ||
} |