Skip to content

Commit

Permalink
Merge pull request #17 from udistrital/dev
Browse files Browse the repository at this point in the history
Cambiando .drone.yml
  • Loading branch information
BrayanB24 committed Nov 7, 2019
2 parents fcf07d8 + 8217ae9 commit ce4fc10
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ steps:
- SERVICE=${DRONE_REPO##udistrital/}_$AMBIENTE
- MYCONTAINER=oas0/${DRONE_REPO##udistrital/}:${DRONE_COMMIT:0:7}
- container_name=${DRONE_REPO##udistrital/}
- go get -v -u -t github.com/udistrital/go-awsecs/cmd/update-aws-ecs-service
- apt-get update
- apt-get install unzip
- wget https://github.com/Autodesk/go-awsecs/releases/download/v1.1/update-aws-ecs-service-linux-amd64.zip
- unzip update-aws-ecs-service-linux-amd64.zip -d /go/bin
- AWS_ACCESS_KEY_ID=$${AWS_ACCESS_KEY_ID} AWS_SECRET_ACCESS_KEY=$${AWS_SECRET_ACCESS_KEY} AWS_REGION=$AWS_REGION
$GOPATH/bin/update-aws-ecs-service -cluster $CLUSTER -service $SERVICE -container-image $container_name=$MYCONTAINER
when:
Expand Down Expand Up @@ -91,4 +94,4 @@ steps:
- test
status:
- failure
- success
- success

0 comments on commit ce4fc10

Please sign in to comment.