ecs-deploy icon indicating copy to clipboard operation
ecs-deploy copied to clipboard

Running in a bash script - exiting early

Open zeroasterisk opened this issue 8 years ago • 1 comments

I have run into issues trying to use this in a bash script with set -e / even when successful, it seems to crap out... I have to set +e before calling ecs-deploy

Example:

#!/bin/bash
set -e
echo "Starting"
ecs-deploy -c xyz -n abc1 -i somewhere:latest
echo "Second deploy"
ecs-deploy -c xyz -n abc2 -i somewhere:latest
echo "I made it"

zeroasterisk avatar Nov 28 '17 18:11 zeroasterisk

Do you know where in ecs-deploy a command is failing and causing the exit?

fillup avatar Jul 24 '18 14:07 fillup

It appears #234 may address this situation. Since nothing has been commented on since then, closing this issue.

devon-sil avatar Apr 22 '24 15:04 devon-sil