Skip to content

Commit 228f83a

Browse files
publish-to-bcr-bot[bot]filmil
authored andcommitted
Release: https://github.com/lukasoyen/bazel_linux_packages/releases/tag/v0.0.7 _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>
1 parent fa9f37e commit 228f83a

File tree

5 files changed

+88
-1
lines changed

5 files changed

+88
-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 = "bazel_linux_packages",
5+
version = "0.0.7",
6+
bazel_compatibility = [">=8.1.0"],
7+
compatibility_level = 1,
8+
)
9+
10+
bazel_dep(name = "platforms", version = "0.0.11")
11+
bazel_dep(name = "bazel_skylib", version = "1.7.1")
12+
bazel_dep(name = "aspect_bazel_lib", version = "2.14.0")
13+
14+
deb_archive = use_repo_rule("//internal:deb.bzl", "deb_archive")
15+
16+
deb_archive(
17+
name = "busybox_linux_amd64",
18+
integrity = "sha256-rMRMIHKVuGEU2kiV71Ouvxhr8839wmmloaCer6xqYNs=",
19+
urls = ["https://snapshot.debian.org/archive/debian/20250201T023325Z/pool/main/b/busybox/busybox-static_1.35.0-4%2Bb3_amd64.deb"],
20+
)
21+
22+
deb_archive(
23+
name = "busybox_linux_arm64",
24+
integrity = "sha256-C0+0zi0/0Woc11BTX5d1ugxC2GOeE9ZjUka6g6DUvc8=",
25+
urls = ["https://snapshot.debian.org/archive/debian/20250201T023325Z/pool/main/b/busybox/busybox-static_1.35.0-4%2Bb3_arm64.deb"],
26+
)
27+
28+
http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
29+
30+
http_archive(
31+
name = "patchelf_linux_amd64",
32+
build_file_content = "alias(name='patchelf', actual='bin/patchelf')",
33+
integrity = "sha256-TcQP3TtrwQi3ublkHlTMN4K96kGZp8edkQb9YZKj6SY=",
34+
urls = ["https://github.com/NixOS/patchelf/releases/download/0.16.1/patchelf-0.16.1-x86_64.tar.gz"],
35+
)
36+
37+
http_archive(
38+
name = "patchelf_linux_arm64",
39+
build_file_content = "alias(name='patchelf', actual='bin/patchelf')",
40+
integrity = "sha256-dDqoMkWeXJVzQQaVDEgm58Y37PJOnkJkRNnO6s92+Ws=",
41+
urls = ["https://github.com/NixOS/patchelf/releases/download/0.16.1/patchelf-0.16.1-aarch64.tar.gz"],
42+
)
43+
44+
bazel_lib_toolchains = use_extension("@aspect_bazel_lib//lib:extensions.bzl", "toolchains")
45+
use_repo(bazel_lib_toolchains, "zstd_linux_amd64")
46+
use_repo(bazel_lib_toolchains, "zstd_linux_arm64")
47+
48+
# Dev dependencies
49+
bazel_dep(name = "gazelle", version = "0.42.0", dev_dependency = True, repo_name = "bazel_gazelle")
50+
bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.7.1", dev_dependency = True)
51+
bazel_dep(name = "buildifier_prebuilt", version = "8.0.1", dev_dependency = True)
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
===================================================================
2+
--- a/MODULE.bazel
3+
+++ b/MODULE.bazel
4+
@@ -1,9 +1,9 @@
5+
"Bazel dependencies"
6+
7+
module(
8+
name = "bazel_linux_packages",
9+
- version = "0.0.0",
10+
+ version = "0.0.7",
11+
bazel_compatibility = [">=8.1.0"],
12+
compatibility_level = 1,
13+
)
14+
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+
platform: ["debian10", "ubuntu2004_arm64"]
5+
bazel: ["8.x"]
6+
tasks:
7+
run_tests:
8+
name: "Run test module"
9+
platform: ${{ platform }}
10+
bazel: ${{ bazel }}
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-1pm7iJUAkmabcogYswMbGaIBzISCELsFPrFTXBrZHBg=",
3+
"strip_prefix": "bazel_linux_packages-v0.0.7",
4+
"url": "https://github.com/lukasoyen/bazel_linux_packages/releases/download/v0.0.7/bazel_linux_packages-v0.0.7.tar.xz",
5+
"patches": {
6+
"module_dot_bazel_version.patch": "sha256-CIyv4h9LBKikUphMAqYG5pPf/LpPTTWFR418hn60s6k="
7+
},
8+
"patch_strip": 1
9+
}

modules/bazel_linux_packages/metadata.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"github:lukasoyen/bazel_linux_packages"
1212
],
1313
"versions": [
14-
"0.0.6"
14+
"0.0.6",
15+
"0.0.7"
1516
],
1617
"yanked_versions": {}
1718
}

0 commit comments

Comments
 (0)