integrations icon indicating copy to clipboard operation
integrations copied to clipboard

Travis build fails because "unable to locate credentials".

Open dholbach opened this issue 7 years ago • 2 comments

Travis build for #137 (https://travis-ci.org/weaveworks/integrations/builds/366114204) fails like so:

$ aws cloudformation validate-template --template-body "file:////${PWD}/aws/ecs/cloudformation.json" | jq .
Unable to locate credentials. You can configure credentials by running "aws configure".
The command "aws cloudformation validate-template --template-body "file:////${PWD}/aws/ecs/cloudformation.json" | jq ." exited with 255.
1.39s$ aws cloudformation validate-template --template-body "file:////${PWD}/aws/ecs/cloudformation-no-app.json" | jq .
Unable to locate credentials. You can configure credentials by running "aws configure".
The command "aws cloudformation validate-template --template-body "file:////${PWD}/aws/ecs/cloudformation-no-app.json" | jq ." exited with 255.
1.38s$ aws cloudformation validate-template --template-body "file:////${PWD}/aws/ecs/cloudformation-larger-app.json" | jq .
Unable to locate credentials. You can configure credentials by running "aws configure".
The command "aws cloudformation validate-template --template-body "file:////${PWD}/aws/ecs/cloudformation-larger-app.json" | jq ." exited with 255.
1.40s$ aws cloudformation validate-template --template-body "file:////${PWD}/aws/ecs/cloudformation-identiorca.json" | jq .
Unable to locate credentials. You can configure credentials by running "aws configure".
The command "aws cloudformation validate-template --template-body "file:////${PWD}/aws/ecs/cloudformation-identiorca.json" | jq ." exited with 255.

dholbach avatar Apr 13 '18 13:04 dholbach

@errordeveloper how is this supposed to work?

What is the Travis build even supposed to do? Looks like a half-implemented step towards stopping publishing AMIs?

bboreham avatar Jun 15 '18 09:06 bboreham

There are supposed to be secrets in Travis, maybe those got removed from AWS or somehow else got invalidated...?

What Travis was supposed to do is validate CloudFormation temolates, and publish them to S3. I had no intention to fully automate building the AMI directly from Travis, becuase it is complicated, unless someone else tried to implement that.

On Fri, 15 Jun 2018, 2:01 am Bryan Boreham, [email protected] wrote:

@errordeveloper https://github.com/errordeveloper how is this supposed to work?

What is the Travis build even supposed to do? Looks like a half-implemented step towards stopping publishing AMIs?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/weaveworks/integrations/issues/138#issuecomment-397559496, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPWS8rIm_itXAkkJ_OJqeQEOZjVdGHVks5t83ftgaJpZM4TTegM .

errordeveloper avatar Jun 16 '18 07:06 errordeveloper