Sign inSign up

driftt/travis

By driftt

•Updated over 6 years ago

build/deploy from travis

Image
0

50K+

driftt/travis repository overview

This image provides the runtime used by travis to build and deploy Drift source code

To test locally:

AWS_DEFAULT_PROFILE=default docker run -v /var/run/docker.sock:/var/run/docker.sock -v ~/.m2:/root/.m2 -v "$PWD":/usr/src/app -e AWS_ACCESS_KEY_ID=$(aws configure get aws_access_key_id) -e AWS_SECRET_ACCESS_KEY=$(aws configure get aws_secret_access_key) -e AWS_ACCOUNT_DEV=<dev_acct> -e AWS_ACCOUNT_PROD=<prod_acct> -e TRAVIS_PULL_REQUEST=false -e TRAVIS_BRANCH=master -e TRAVIS_COMMIT=$(git rev-parse HEAD) driftt/travis build_java <app_name>

In the future when we want to do continuous delivery, we'll need to update the policy for deployment such that travis also calls the deploy api for prod. This involves adding the SSM policy to the production deployer user and putting the prod deploy key in to the parameter store.

Tag summary

Content type

Image

Digest

Size

134.7 MB

Last updated

over 6 years ago

docker pull driftt/travis