Skip to content

Commit

Permalink
Clean up result of messy merge in build containers script
Browse files Browse the repository at this point in the history
  • Loading branch information
rstorey committed Jan 17, 2019
1 parent 2509f2d commit 95aa8e1
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions build_containers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ BUILD_ALL=${BUILD_ALL:=0}
BUILD_NUMBER=${BUILD_NUMBER:=1}
TAG=${TAG:-test}

BUILD_ALL=${BUILD_ALL:=0}
BUILD_NUMBER=${BUILD_NUMBER:=1}
TAG=${TAG:-test}

# Get an unique venv folder to using *inside* workspace
VENV=".venv-${BUILD_NUMBER}"

Expand All @@ -33,13 +29,11 @@ eval "$(aws ecr get-login --no-include-email --region us-east-1)"
python3 setup.py build

docker build -t concordia .

docker tag concordia:latest "${AWS_ACCOUNT_ID}.dkr.ecr.us-east-1.amazonaws.com/concordia:${VERSION_NUMBER}"
docker tag concordia:latest "${AWS_ACCOUNT_ID}.dkr.ecr.us-east-1.amazonaws.com/concordia:${TAG}"
docker push "${AWS_ACCOUNT_ID}.dkr.ecr.us-east-1.amazonaws.com/concordia:${VERSION_NUMBER}"
docker push "${AWS_ACCOUNT_ID}.dkr.ecr.us-east-1.amazonaws.com/concordia:${TAG}"


if [ $BUILD_ALL -eq 1 ]; then

docker build -t concordia/importer --file importer/Dockerfile .
Expand Down Expand Up @@ -67,4 +61,3 @@ if [ $BUILD_ALL -eq 1 ]; then
docker push "${AWS_ACCOUNT_ID}.dkr.ecr.us-east-1.amazonaws.com/concordia/indexer:${TAG}"

fi

0 comments on commit 95aa8e1

Please sign in to comment.