From b46dab200cedfae4383c3d2547e164a3ce41fabe Mon Sep 17 00:00:00 2001 From: "publish-to-bcr-bot[bot]" <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com> Date: Tue, 17 Oct 2023 22:24:32 +0000 Subject: [PATCH] Publish chainguard-dev/rules_apko@v0.2.3 (#1013) Co-authored-by: null --- modules/rules_apko/0.2.3/MODULE.bazel | 51 +++++++++++++++++++ .../patches/module_dot_bazel_version.patch | 14 +++++ modules/rules_apko/0.2.3/presubmit.yml | 10 ++++ modules/rules_apko/0.2.3/source.json | 9 ++++ modules/rules_apko/metadata.json | 27 ++++++++++ 5 files changed, 111 insertions(+) create mode 100644 modules/rules_apko/0.2.3/MODULE.bazel create mode 100644 modules/rules_apko/0.2.3/patches/module_dot_bazel_version.patch create mode 100644 modules/rules_apko/0.2.3/presubmit.yml create mode 100644 modules/rules_apko/0.2.3/source.json create mode 100644 modules/rules_apko/metadata.json diff --git a/modules/rules_apko/0.2.3/MODULE.bazel b/modules/rules_apko/0.2.3/MODULE.bazel new file mode 100644 index 00000000000..d7eac86ad1e --- /dev/null +++ b/modules/rules_apko/0.2.3/MODULE.bazel @@ -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") diff --git a/modules/rules_apko/0.2.3/patches/module_dot_bazel_version.patch b/modules/rules_apko/0.2.3/patches/module_dot_bazel_version.patch new file mode 100644 index 00000000000..51e7a70f90b --- /dev/null +++ b/modules/rules_apko/0.2.3/patches/module_dot_bazel_version.patch @@ -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") diff --git a/modules/rules_apko/0.2.3/presubmit.yml b/modules/rules_apko/0.2.3/presubmit.yml new file mode 100644 index 00000000000..62669f7f6d0 --- /dev/null +++ b/modules/rules_apko/0.2.3/presubmit.yml @@ -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: + - "//..." diff --git a/modules/rules_apko/0.2.3/source.json b/modules/rules_apko/0.2.3/source.json new file mode 100644 index 00000000000..d974bb5002c --- /dev/null +++ b/modules/rules_apko/0.2.3/source.json @@ -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 +} diff --git a/modules/rules_apko/metadata.json b/modules/rules_apko/metadata.json new file mode 100644 index 00000000000..b8d096c2d19 --- /dev/null +++ b/modules/rules_apko/metadata.json @@ -0,0 +1,27 @@ +{ + "homepage": "https://github.com/chainguard-dev/rules_apko", + "maintainers": [ + { + "email": "alex@aspect.dev", + "github": "alexeagle", + "name": "Alex Eagle" + }, + { + "email": "sahin@aspect.dev", + "github": "thesayyn", + "name": "Şahin Yort" + }, + { + "email": "jason@chainguard.dev", + "github": "imjasonh", + "name": "Jason Hall" + } + ], + "repository": [ + "github:chainguard-dev/rules_apko" + ], + "versions": [ + "0.2.3" + ], + "yanked_versions": {} +}