Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rpmpack #1658

Merged
merged 4 commits into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions modules/rpmpack/0.6.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module(
name = "rpmpack",
version = "0.6.0",
)

bazel_dep(name = "rules_go", version = "0.46.0")
bazel_dep(name = "gazelle", version = "0.35.0")

go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
go_deps.from_file(go_mod = "//:go.mod")

# All *direct* Go dependencies of the module have to be listed explicitly.
use_repo(
go_deps,
"com_github_cavaliergopher_cpio",
"com_github_google_go_cmp",
"com_github_klauspost_compress",
"com_github_klauspost_pgzip",
"com_github_ulikunitz_xz",
)
37 changes: 37 additions & 0 deletions modules/rpmpack/0.6.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
matrix:
platform:
- debian10
- ubuntu2004
- macos
- macos_arm64
- windows
bazel:
- 7.x
- 6.x
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- '@rpmpack//cmd/tar2rpm'
bcr_test_module:
module_path: example_bazel
matrix:
platform:
- debian10
- ubuntu2004
- macos
- macos_arm64
- windows
bazel:
- 7.x
- 6.x
tasks:
run_test_module:
name: Run test module
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- '//:rpmtest-tar'
- '//:rpmtest'
6 changes: 6 additions & 0 deletions modules/rpmpack/0.6.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"url": "https://github.com/google/rpmpack/releases/download/v0.6.0/rpmpack-0.6.0.tar.gz",
"integrity": "sha256-rgXCDM5Wf+QkNDvM/KYkRofNCTGX3ek+dWE5joS3bW8=",
"strip_prefix": "rpmpack-0.6.0",
"patch_strip": 0
}
17 changes: 17 additions & 0 deletions modules/rpmpack/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"homepage": "https://github.com/google/rpmpack/",
"maintainers": [
{
"email": "[email protected]",
"github": "jarondl",
"name": "Yaron de Leeuw"
}
],
"repository": [
"github:google/rpmpack"
],
"versions": [
"0.6.0"
],
"yanked_versions": {}
}
Loading