Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: The ENV var named is empty or not set #32

Closed
rafaelfelix opened this issue May 2, 2016 · 1 comment
Closed

Error: The ENV var named is empty or not set #32

rafaelfelix opened this issue May 2, 2016 · 1 comment

Comments

@rafaelfelix
Copy link
Contributor

rafaelfelix commented May 2, 2016

background info: MyService already exists and is at revision 1.
ecs-deploy is at tag 2.2.0 in this test.

command line args:
$ ecs-deploy -c mycluster -n MyService -i myimagerepo/image:latest -v

result:

+ aws ecs describe-task-definition --task-def arn:aws:ecs:us-east-1:AWSACCOUNTNUMBER:task-definition/TaskDefinition:2
+ [[ myimagerepo/image:latest =~ ^[^:]+:[^:/]+$ ]]
++ echo myimagerepo/image:latest
++ cut -d: -f 1
+ im=myimagerepo/image
++ echo myimagerepo/image:latest
++ cut -d: -f 2
+ tag=latest
+ [[ -n latest ]]
+ tag=
+ [[ x == \x ]]
+ echo 'The ENV var named  is empty or not set'
The ENV var named  is empty or not set
+ exit 1
@rafaelfelix
Copy link
Contributor Author

rafaelfelix commented May 2, 2016

Nevermind, just tested the branch master and it is already fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant