Skip to content

Commit

Permalink
feat: add [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
mattyclarkson committed Nov 27, 2024
1 parent b9348c3 commit 4ac2763
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 1 deletion.
48 changes: 48 additions & 0 deletions modules/rules_tar/1.0.0-beta.5/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
module(
name = "rules_tar",
version = "1.0.0-beta.5",
bazel_compatibility = [
">=7.0.0",
],
compatibility_level = 1,
)

bazel_dep(name = "rules_coreutils", version = "1.0.0-beta.8")
bazel_dep(name = "rules_gzip", version = "1.0.0-beta.6")
bazel_dep(name = "rules_bzip2", version = "1.0.0-beta.6")
bazel_dep(name = "rules_zstd", version = "1.0.0-beta.7")
bazel_dep(name = "rules_xz", version = "1.0.0-beta.6")
bazel_dep(name = "toolchain_utils", version = "1.0.0-beta.18")
bazel_dep(name = "ape", version = "1.0.0-beta.15")
bazel_dep(name = "rules_go", version = "0.49.0")
bazel_dep(name = "platforms", version = "0.0.10")
bazel_dep(name = "gazelle", version = "0.38.0")

bazel_dep(name = "hermetic_cc_toolchain", version = "3.1.0", dev_dependency = True)

export = use_extension("@toolchain_utils//toolchain/export:defs.bzl", "toolchain_export")
use_repo(export, "ape-tar")
export.symlink(
name = "tar",
target = "@ape-tar",
)
use_repo(export, "tar")

resolved = use_repo_rule("@toolchain_utils//toolchain/resolved:defs.bzl", "toolchain_resolved")

[
resolved(
name = "resolved-{}".format(toolchain),
toolchain_type = "//tar/toolchain/{}:type".format(toolchain),
)
for toolchain in ("tar", "concatenate", "filter")
]

register_toolchains("//tar/toolchain/...")

go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
go_deps.from_file(go_mod = "//:go.mod")
use_repo(
go_deps,
"com_github_bmatcuk_doublestar_v4",
)
22 changes: 22 additions & 0 deletions modules/rules_tar/1.0.0-beta.5/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
bcr_test_module:
module_path: e2e
matrix:
bazel:
- 7.x
- 8.0.0rc4
platform:
- centos7_java11_devtoolset10
- debian10
- debian11
- ubuntu2004
- ubuntu2204
- fedora39
- macos
- macos_arm64
tasks:
e2e_tests:
name: Run end-to-end Tests
bazel: ${{ bazel }}
platform: ${{ platform }}
test_targets:
- "//..."
5 changes: 5 additions & 0 deletions modules/rules_tar/1.0.0-beta.5/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"url": "https://gitlab.arm.com/bazel/rules_tar/-/releases/v1.0.0-beta.5/downloads/src.tar.gz",
"integrity": "sha512-SRgJMvO2JpOgF31dusX/HhM1LuYRt4ukSwr+RuOL+d7KgIWhFbqIHLKvrFMNIB8atrWULrajK0dN7NfPMaPYpw==",
"strip_prefix": "rules_tar-v1.0.0-beta.5"
}
3 changes: 2 additions & 1 deletion modules/rules_tar/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"1.0.0-beta.1",
"1.0.0-beta.2",
"1.0.0-beta.3",
"1.0.0-beta.4"
"1.0.0-beta.4",
"1.0.0-beta.5"
],
"maintainers": [
{
Expand Down

0 comments on commit 4ac2763

Please sign in to comment.