Skip to content

Commit

Permalink
More experimentation ...
Browse files Browse the repository at this point in the history
  • Loading branch information
catastrophe-brandon committed Jan 17, 2024
1 parent 00f0765 commit 12f9d65
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions pr_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,20 @@ echo "Taking a short nap"
sleep 60

SHORT_SHA=$(git rev-parse --short HEAD)
IMAGE_TAG="pr-${PR_NUMBER}-${SHORT_SHA}"
IMAGE_TAG="pr-${ghprbPullId}-${SHORT_SHA}"
echo "Expecting image tag ${IMAGE_TAG}"

# Quit fast
exit

set -x
# Deploy to an ephemeral namespace for testing
export IMAGE="quay.io/cloudservices/rbac"
# We deploy rbac and override the image tag for insights-frontend-chrome
export IMAGE="quay.io/cloudservices/insights-frontend-chrome"
export GIT_COMMIT=master
export IMAGE_TAG=latest
export DEPLOY_FRONTENDS=true
source $CICD_ROOT/deploy_ephemeral_env.sh

echo "Quick exiting for easy testing script changes"
exit

# Run some tests with ClowdJobInvocation
export IQE_IMAGE_TAG="platform-ui"
IQE_PLUGINS="platform_ui"
Expand All @@ -76,8 +76,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
source $CICD_ROOT/cji_smoke_test.sh


# Stubbed out for now
Expand Down

0 comments on commit 12f9d65

Please sign in to comment.