internal/weldr: specify architecture of compose

This is useful in environments with multi-arch remote workers.
Defaults to the host architecture.
This commit is contained in:
Sanne Raymaekers 2023-10-10 12:53:18 +02:00
parent e24772dc57
commit c6aa7d88d2
10 changed files with 188 additions and 73 deletions

View file

@ -146,7 +146,7 @@ EOF
# there is a different reponse if legacy composer-cli is used
if rpm -q --quiet weldr-client; then
EXPECTED_RESPONSE="ERROR: BlueprintsError: '$REMAINING_DISTRO' is not a valid distribution"
EXPECTED_RESPONSE="ERROR: BlueprintsError: '$REMAINING_DISTRO' is not a valid distribution (architecture '$(uname -m)')"
else
EXPECTED_RESPONSE="'$REMAINING_DISTRO' is not a valid distribution"
RESPONSE=${RESPONSE#*: }