Skip to content

Commit bd5ebe2

Browse files
Revert "TravisCI: Export environment variables in push.sh to fix staging buil…" (#4537)
This reverts commit 30929d2.
1 parent 30929d2 commit bd5ebe2

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

scripts/deployment/push.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,11 @@
22
set -e
33

44
export COMMIT_ID=$(git rev-parse HEAD)
5-
export TRAVIS_BRANCH=$(git rev-parse --abbrev-ref HEAD)
6-
export AWS_ACCOUNT_ID=$(aws sts get-caller-identity --query Account --output text)
75

86
build_and_push() {
97
aws configure set default.region us-east-1
108
eval $(aws ecr get-login --no-include-email)
119
echo "Pulling ssl certificates and nginx configuration..."
12-
# Pull ssl files related to eval.ai
1310
aws s3 cp s3://cloudcv-secrets/eval.ai/ssl/ ./ssl/ --recursive
1411
# Need ssl files related to *.cloudcv.org since we want to provide backward compatibility
1512
aws s3 cp s3://cloudcv-secrets/evalai/${TRAVIS_BRANCH}/ssl/ ./ssl/ --recursive

0 commit comments

Comments
 (0)