From ab2c1cbd11fd99a1de7aa018192fecab91c17204 Mon Sep 17 00:00:00 2001 From: Xiaofeng Wang Date: Sun, 21 Apr 2024 09:27:20 +0800 Subject: [PATCH] test: bare PLATFORM uses aws bare instance to run test Signed-off-by: Xiaofeng Wang --- os-replace.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/os-replace.sh b/os-replace.sh index 53f88c4..174b66f 100755 --- a/os-replace.sh +++ b/os-replace.sh @@ -21,6 +21,11 @@ QUAY_REPO_TAG="${QUAY_REPO_TAG:-$(tr -dc a-z0-9 < /dev/urandom | head -c 4 ; ech INVENTORY_FILE="${TEMPDIR}/inventory" AWS_BARE="${AWS_BARE-false}" +# bare PLATFORM uses aws bare instance +if [[ "$AWS_BARE" == true ]]; then + PLATFORM="aws" +fi + greenprint "Login quay.io" podman login -u "${QUAY_USERNAME}" -p "${QUAY_PASSWORD}" quay.io