justfile: Run compose-dry-run for a single variant

We'll run it for all official variants in the Ansible playbook used for
the Zuul CI instead.
This commit is contained in:
Timothée Ravier 2024-03-01 19:04:38 +01:00
parent 6b449c657f
commit 760544f466

View file

@ -86,8 +86,8 @@ 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 # Perform dependency resolution for a given variant (defaults to Silverblue)
compose-dry-run: compose-dry-run variant=default_variant:
#!/bin/bash #!/bin/bash
set -euxo pipefail set -euxo pipefail
@ -98,9 +98,7 @@ compose-dry-run:
popd > /dev/null || exit 1 popd > /dev/null || exit 1
fi fi
for v in "silverblue" "kinoite" "sericea" "onyx"; do rpm-ostree compose tree --unified-core --repo=repo --dry-run fedora-{{variant}}.yaml
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)