justfile: Add compose-dry-run recipe
To use in CI to perform dependency resolution for all official variants.
This commit is contained in:
parent
a4dc20da5f
commit
5a9096b17e
1 changed files with 16 additions and 0 deletions
16
justfile
16
justfile
|
@ -86,6 +86,22 @@ manifest variant=default_variant:
|
||||||
|
|
||||||
rpm-ostree compose tree --print-only --repo=repo fedora-{{variant}}.yaml
|
rpm-ostree compose tree --print-only --repo=repo fedora-{{variant}}.yaml
|
||||||
|
|
||||||
|
# Perform dependency resolution for all official variants
|
||||||
|
compose-dry-run:
|
||||||
|
#!/bin/bash
|
||||||
|
set -euxo pipefail
|
||||||
|
|
||||||
|
mkdir -p repo cache logs
|
||||||
|
if [[ ! -f "repo/config" ]]; then
|
||||||
|
pushd repo > /dev/null || exit 1
|
||||||
|
ostree init --repo . --mode=bare-user
|
||||||
|
popd > /dev/null || exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
for v in "silverblue" "kinoite" "sericea" "onyx"; do
|
||||||
|
rpm-ostree compose tree --unified-core --repo=repo --dry-run "fedora-${v}.yaml"
|
||||||
|
done
|
||||||
|
|
||||||
# Alias/shortcut for compose-image command
|
# Alias/shortcut for compose-image command
|
||||||
compose variant=default_variant: (compose-image variant)
|
compose variant=default_variant: (compose-image variant)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue