File tree Expand file tree Collapse file tree 3 files changed +1
-33
lines changed Expand file tree Collapse file tree 3 files changed +1
-33
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,6 @@ set -o errexit # exits immediately on any unexpected error (does not bypass tra
1818set -o nounset # will error if variables are used without first being defined
1919set -o pipefail # any non-zero exit code in a piped command causes the pipeline to fail with that code
2020
21- # Fallback for mirror-prow.
22- if [[ " ${GOVC_URL:- } " == " 10.2.224.4" ]]; then
23- export JANITOR_ARGS
24- JANITOR_ARGS=" --resource-type=vsphere-project-cluster-api-provider --resource-type=vsphere-project-cloud-provider --resource-type=vsphere-project-image-builder"
25- fi
26-
2721# Sanitize input envvars to not contain newline
2822GOVC_USERNAME=$( echo " ${GOVC_USERNAME} " | tr -d " \n" )
2923GOVC_PASSWORD=$( echo " ${GOVC_PASSWORD} " | tr -d " \n" )
Original file line number Diff line number Diff line change @@ -44,10 +44,6 @@ if [[ "${JOB_NAME}" != "" ]]; then
4444 export BOSKOS_RESOURCE_OWNER=" ${JOB_NAME} /${BUILD_ID} "
4545fi
4646export BOSKOS_RESOURCE_TYPE=" gcve-vsphere-project"
47- # Fallback for mirror-prow.
48- if [[ " ${GOVC_URL:- } " == " 10.2.224.4" ]]; then
49- BOSKOS_RESOURCE_TYPE=vsphere-project-cluster-api-provider
50- fi
5147
5248on_exit () {
5349 # Only handle Boskos when we have to (not for vcsim)
@@ -129,13 +125,6 @@ ssh-keygen -t ed25519 -f "${VSPHERE_SSH_PRIVATE_KEY}" -N ""
129125export VSPHERE_SSH_AUTHORIZED_KEY
130126VSPHERE_SSH_AUTHORIZED_KEY=" $( cat " ${VSPHERE_SSH_PRIVATE_KEY} .pub" ) "
131127
132- # Fallback for mirror-prow.
133- if [[ " ${GOVC_URL:- } " == " 10.2.224.4" ]]; then
134- VSPHERE_SSH_AUTHORIZED_KEY=" ${VM_SSH_PUB_KEY:- } "
135- VSPHERE_SSH_PRIVATE_KEY=" /root/ssh/.private-key/private-key"
136- E2E_CONF_OVERRIDE_FILE=" $( pwd) /test/e2e/config/config-overrides-mirror-prow.yaml"
137- fi
138-
139128# Ensure vSphere is reachable
140129function wait_for_vsphere_reachable() {
141130 local n=0
@@ -145,7 +134,7 @@ function wait_for_vsphere_reachable() {
145134 break
146135 fi
147136 n=$(( n + 1 ))
148- echo " Failed to reach https://${VSPHERE_SERVER} /sdk. Retrying in 1s ($n /30 )"
137+ echo " Failed to reach https://${VSPHERE_SERVER} /sdk. Retrying in 1s ($n /300 )"
149138 sleep 1
150139 done
151140 if [ " $RET " -ne 0 ]; then
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments