Skip to content

Commit

Permalink
Setup proxy for build VMs.
Browse files Browse the repository at this point in the history
  • Loading branch information
cs-zhang committed Mar 29, 2024
1 parent 3010192 commit f4c04d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ BASTION_CI_SCRIPTS_DIR="/tmp/${CLUSTER_NAME}-config"

if [ -f "${SHARED_DIR}/kubeconfig" ]; then
echo "Test cluster accessiblity"
source "${SHARED_DIR}/proxy-conf.sh"
CLUSTER_INFO="/tmp/cluster-${CLUSTER_NAME}-after-e2e.txt"
touch ${CLUSTER_INFO}
export KUBECONFIG="${SHARED_DIR}/kubeconfig"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -781,6 +781,7 @@ export https_proxy=http://${BASTION}:2005/
export no_proxy="static.redhat.com,redhat.io,quay.io,openshift.org,openshift.com,svc,github.com,githubusercontent.com,google.com,googleapis.com,fedoraproject.org,cloudfront.net,localhost,127.0.0.1"
EOF
echo "Finished prepare_next_steps"
source "${SHARED_DIR}/proxy-conf.sh"
echo "Test cluster accessiblity"
CLUSTER_INFO="/tmp/cluster-${CLUSTER_NAME}-before-e2e.txt"
Expand Down

0 comments on commit f4c04d1

Please sign in to comment.