From aa6792d37edbae1cd8b40206804f5c16f7b158ea Mon Sep 17 00:00:00 2001 From: Brandon Tweed Date: Tue, 12 Sep 2023 15:10:27 -0500 Subject: [PATCH] Add logic to assemble the image tag --- pr_check.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pr_check.sh b/pr_check.sh index 47d68b0e99..7a2f531e11 100755 --- a/pr_check.sh +++ b/pr_check.sh @@ -47,6 +47,9 @@ source .cicd_bootstrap.sh echo "Taking a short nap" sleep 60 +SHORT_SHA=$(git rev-parse --short HEAD) +IMAGE_TAG="pr-${SHORT_SHA}" +echo "Expecting image tag ${IMAGE_TAG}" set -x # Deploy to an ephemeral namespace for testing @@ -68,6 +71,7 @@ IQE_SELENIUM="true" IQE_CJI_TIMEOUT="30m" DEPLOY_TIMEOUT="900" # 15min DEPLOY_FRONTENDS="true" +#IQE_IMAGE_TAG= source $CICD_ROOT/cji_smoke_test.sh