File tree Expand file tree Collapse file tree 3 files changed +4
-25
lines changed
Expand file tree Collapse file tree 3 files changed +4
-25
lines changed Original file line number Diff line number Diff line change @@ -5,19 +5,16 @@ mkdir -p installer
55RELEASE_URL=" https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest"
66RELEASE_IMAGE=$( curl -s " ${RELEASE_URL} /release.txt" | grep ' Pull From: quay.io' | awk -F ' ' ' {print $3}' )
77
8- if [ -z " ${OCM_TOKEN+x} " ]; then
9- echo " Assuming the OCM token should be read from Prow" ;
10- OCM_TOKEN=$( cat /usr/local/osde2e-credentials/ocm-refresh-token)
11- fi
12-
138if [ -z " ${AWS_ACCESS_KEY_ID+x} " ]; then
149 echo " Assuming the AWS Access token should be read from Prow" ;
1510 AWS_ACCESS_KEY_ID=$( cat /usr/local/osde2e-credentials/aws-access-key-id)
11+ export AWS_ACCESS_KEY_ID
1612fi
1713
1814if [ -z " ${AWS_SECRET_ACCESS_KEY+x} " ]; then
1915 echo " Assuming the AWS Secret token should be read from Prow" ;
2016 AWS_SECRET_ACCESS_KEY=$( cat /usr/local/osde2e-credentials/aws-secret-access-key)
17+ export AWS_SECRET_ACCESS_KEY
2118fi
2219
2320if [ -z " ${PULL_SECRET_FILE+x} " ]; then
Original file line number Diff line number Diff line change @@ -6,11 +6,13 @@ RELEASE_IMAGE=$(curl -s "${RELEASE_URL}/release.txt" | grep 'Pull From: quay.io'
66if [ -z " ${AWS_ACCESS_KEY_ID+x} " ]; then
77 echo " Assuming the AWS Access token should be read from Prow" ;
88 AWS_ACCESS_KEY_ID=$( cat /usr/local/osde2e-credentials/aws-access-key-id)
9+ export AWS_ACCESS_KEY_ID
910fi
1011
1112if [ -z " ${AWS_SECRET_ACCESS_KEY+x} " ]; then
1213 echo " Assuming the AWS Secret token should be read from Prow" ;
1314 AWS_SECRET_ACCESS_KEY=$( cat /usr/local/osde2e-credentials/aws-secret-access-key)
15+ export AWS_SECRET_ACCESS_KEY
1416fi
1517
1618if [ -z " ${PULL_SECRET_FILE+x} " ]; then
Original file line number Diff line number Diff line change @@ -9,26 +9,6 @@ if [ -z "${OCM_TOKEN+x}" ]; then
99 OCM_TOKEN=$( cat /usr/local/osde2e-credentials/ocm-refresh-token)
1010fi
1111
12- if [ -z " ${AWS_ACCESS_KEY_ID+x} " ]; then
13- echo " Assuming the AWS Access token should be read from Prow" ;
14- AWS_ACCESS_KEY_ID=$( cat /usr/local/osde2e-credentials/aws-access-key-id)
15- fi
16-
17- if [ -z " ${AWS_SECRET_ACCESS_KEY+x} " ]; then
18- echo " Assuming the AWS Secret token should be read from Prow" ;
19- AWS_SECRET_ACCESS_KEY=$( cat /usr/local/osde2e-credentials/aws-secret-access-key)
20- fi
21-
22- if [ -z " ${PULL_SECRET_FILE+x} " ]; then
23- echo " Assuming the Pull Secret should be read from Prow" ;
24- PULL_SECRET_FILE=/usr/local/osde2e-credentials/stage-ocm-pull-secret
25- fi
26-
27- if [ -z " ${INSTALLER_CONFIG+x} " ]; then
28- echo " Assuming the Installer Config should be read from Prow" ;
29- INSTALLER_CONFIG=/usr/local/osde2e-credentials/stage-installer-config
30- fi
31-
3212export OCM_CONFIG=./.ocm.json
3313export KUBECONFIG=" ${SHARED_DIR} /kubeconfig"
3414
You can’t perform that action at this time.
0 commit comments