Skip to content

Commit

Permalink
Merge pull request #6249 from wking/aws-default-region
Browse files Browse the repository at this point in the history
a/ci-operator/templates/openshift/installer/cluster-launch-installer-e2e: Set AWS_DEFAULT_REGION
  • Loading branch information
openshift-merge-robot committed Dec 5, 2019
2 parents dff6ae6 + 26fde70 commit d4ce975
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -828,7 +828,8 @@ objects:
export PATH="${HOME}/.local/bin:${PATH}"
easy_install --user pip # our Python 2.7.5 is even too old for ensurepip
pip install --user awscli
export AWS_REGION="$(python -c 'import json; data = json.load(open("/tmp/artifacts/installer/metadata.json")); print(data["aws"]["region"])')"
export AWS_DEFAULT_REGION="$(python -c 'import json; data = json.load(open("/tmp/artifacts/installer/metadata.json")); print(data["aws"]["region"])')"
echo "gathering node console output from ${AWS_DEFAULT_REGION}"
fi
while IFS= read -r i; do
Expand Down

0 comments on commit d4ce975

Please sign in to comment.