diff --git a/build_deploy.sh b/build_deploy.sh index 337f625..ccab195 100755 --- a/build_deploy.sh +++ b/build_deploy.sh @@ -3,6 +3,7 @@ set -ex IMAGE="quay.io/cloudservices/mocks" IMAGE_TAG=$(git rev-parse --short=7 HEAD) + if [[ -z "$QUAY_USER" || -z "$QUAY_TOKEN" ]]; then echo "QUAY_USER and QUAY_TOKEN must be set" exit 1 diff --git a/pr_check.sh b/pr_check.sh index 95dab7e..ae5d446 100755 --- a/pr_check.sh +++ b/pr_check.sh @@ -1,7 +1,12 @@ -export IMAGE="quay.io/cloudservices/mocks" # the image location on quay +#!/bin/bash +export IMAGE="quay.io/cloudservices/mocks" # the image location on quay +export BONFIRE_REPO_ORG="mjholder" +export CICD_REPO_ORG="mjholder" +export BONFIRE_REPO_BRANCH="cleanup-tooling" +export CICD_REPO_BRANCH="cleanup-tooling" # Install bonfire repo/initialize -CICD_URL=https://raw.githubusercontent.com/RedHatInsights/bonfire/master/cicd +CICD_URL=https://raw.githubusercontent.com/mjholder/bonfire/cleanup-tooling/cicd curl -sS $CICD_URL/bootstrap.sh -o $WORKSPACE/.cicd_bootstrap.sh && source $WORKSPACE/.cicd_bootstrap.sh # Build the image and push to quay