diff --git a/pr_check.sh b/pr_check.sh index 95dab7e..8fc5d73 100755 --- a/pr_check.sh +++ b/pr_check.sh @@ -1,12 +1,17 @@ +#!/bin/bash + export IMAGE="quay.io/cloudservices/mocks" # the image location on quay # Install bonfire repo/initialize -CICD_URL=https://raw.githubusercontent.com/RedHatInsights/bonfire/master/cicd -curl -sS $CICD_URL/bootstrap.sh -o $WORKSPACE/.cicd_bootstrap.sh && source $WORKSPACE/.cicd_bootstrap.sh +BONFIRE_BRANCH=refactor-bootstrap +BONFIRE_ORG=Victoremepunto +CICD_SCRIPT_URL="https://raw.githubusercontent.com/${BONFIRE_ORG}/bonfire/${BONFIRE_BRANCH}/cicd/bootstrap.sh" +source <(curl -sSL "$CICD_SCRIPT_URL") # Build the image and push to quay source $CICD_ROOT/build.sh + # Test that the deployment works source ${CICD_ROOT}/_common_deploy_logic.sh export NAMESPACE=$(bonfire namespace reserve)