Last active
May 14, 2024 12:16
-
-
Save achilleas-k/cb504a9796f2c860419a386f97da3627 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
set -euo pipefail | |
distro="$1" | |
arch="$2" | |
image="$3" | |
config="$4" | |
output=$(mktemp -d) | |
export OSBUILD_TESTING_RNG_SEED=0 | |
go run ./cmd/gen-manifests \ | |
--packages=false --containers=false --commits=false --metadata=false \ | |
--output="${output}" \ | |
--distros="${distro}" \ | |
--arches="${arch}" \ | |
--images="${image}" \ | |
--config=<(echo '{"name": "00-baseline"}') | |
go run ./cmd/gen-manifests \ | |
--packages=false --containers=false --commits=false --metadata=false \ | |
--output="${output}" \ | |
--distros="${distro}" \ | |
--arches="${arch}" \ | |
--images="${image}" \ | |
--config="${config}" | |
vimdiff "${output}"/*.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment