Skip to content

Commit

Permalink
Publish chainguard-dev/[email protected] (#1013)
Browse files Browse the repository at this point in the history
Co-authored-by: null <null>
  • Loading branch information
publish-to-bcr-bot[bot] authored Oct 17, 2023
1 parent 68ca61f commit b46dab2
Show file tree
Hide file tree
Showing 5 changed files with 111 additions and 0 deletions.
51 changes: 51 additions & 0 deletions modules/rules_apko/0.2.3/MODULE.bazel
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 modules/rules_apko/0.2.3/patches/module_dot_bazel_version.patch
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")
10 changes: 10 additions & 0 deletions modules/rules_apko/0.2.3/presubmit.yml
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:
- "//..."
9 changes: 9 additions & 0 deletions modules/rules_apko/0.2.3/source.json
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
}
27 changes: 27 additions & 0 deletions modules/rules_apko/metadata.json
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": {}
}

0 comments on commit b46dab2

Please sign in to comment.