-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
93 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
load("@aspect_bazel_lib//lib:jq.bzl", "jq") | ||
load("@aspect_bazel_lib//lib:testing.bzl", "assert_contains") | ||
|
||
jq( | ||
name = "pick_quake_arch", | ||
srcs = [ | ||
"@bullseye_all_resolve//:lockfile", | ||
], | ||
args = ["-rj"], | ||
filter = ".packages.quake[] | .arch", | ||
) | ||
|
||
assert_contains( | ||
name = "test_quake_arch", | ||
actual = ":pick_quake_arch", | ||
expected = "all", | ||
) | ||
|
||
jq( | ||
name = "pick_quake_version", | ||
srcs = [ | ||
"@bullseye_all_resolve//:lockfile", | ||
], | ||
args = ["-rj"], | ||
filter = ".packages.quake[] | .version", | ||
) | ||
|
||
assert_contains( | ||
name = "test_quake_version", | ||
actual = ":pick_quake_version", | ||
expected = "67", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"packages": { | ||
"game-data-packager-runtime": { | ||
"all": { | ||
"arch": "all", | ||
"dependencies": [], | ||
"name": "game-data-packager-runtime", | ||
"sha256": "eee39c4ef95519191f8a3c2582661a4ba812962203046cfe5f97af00d73045ed", | ||
"url": "https://snapshot-cloudflare.debian.org/archive/debian/20240210T223313Z/pool/contrib/g/game-data-packager/game-data-packager-runtime_67_all.deb", | ||
"version": "67" | ||
} | ||
}, | ||
"quake": { | ||
"all": { | ||
"arch": "all", | ||
"dependencies": [ | ||
{ | ||
"name": "game-data-packager-runtime", | ||
"version": "67" | ||
} | ||
], | ||
"name": "quake", | ||
"sha256": "54298c07795d65cf216262980a8be700f2859aa6be16c7441b688e7d7a627af6", | ||
"url": "https://snapshot-cloudflare.debian.org/archive/debian/20240210T223313Z/pool/contrib/g/game-data-packager/quake_67_all.deb", | ||
"version": "67" | ||
} | ||
} | ||
}, | ||
"version": 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Packages for examples/debian_snapshot_all_arch. | ||
# | ||
# Anytime this file is changed, the lockfile needs to be regenerated. | ||
# | ||
# To generate the bullseye_all.lock.json run the following command | ||
# | ||
# bazel run @bullseye_all//:lock | ||
# | ||
# See debian_package_index at WORKSPACE.bazel | ||
version: 1 | ||
|
||
sources: | ||
- channel: bullseye contrib | ||
url: https://snapshot-cloudflare.debian.org/archive/debian/20240210T223313Z | ||
|
||
archs: | ||
- all | ||
|
||
packages: | ||
- quake |