Skip to content

Commit e996711

Browse files
committed
Add logging to deploy.sh
1 parent 057e4f2 commit e996711

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

deploy.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/bin/bash
22
export image_hash=$1
33
export account_id=$(aws sts get-caller-identity --query Account --output text)
4-
aws ecr get-login-password | docker login --username AWS --password-stdin ${account_id}.dkr.ecr.us-west-1.amazonaws.com \
4+
aws echo "Login to ECR..." \
5+
&& ecr get-login-password | docker login --username AWS --password-stdin ${account_id}.dkr.ecr.us-west-1.amazonaws.com \
6+
&& echo "Take down old api version..."
57
&& docker compose down \
8+
&& echo "Bring up new api version..."
69
&& docker compose -f docker-compose-prod.yml -p go-capture-api -d up

0 commit comments

Comments
 (0)