Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Beefed up .travis.yml so we can get automatic builds. #1926

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

xrl
Copy link
Contributor

@xrl xrl commented May 4, 2016

Generate docker images after successful build and push up to the central docker registry. We'll need the heka project to create an account on the registry and then inject credentials for this travis to work.

You'll need to install the travis command line tool and inject some docker variables:

gem install travis
travis login --org
travis env set DOCKER_EMAIL $YOUR_DOCKER_ACCT_EMAIL
travis env set DOCKER_USERNAME $YOUR_DOCKER_ACCT_USERNAME
travis env set DOCKER_PASSWORD $YOUR_DOCKER_ACCT_PASSWD
travis env set --public DOCKER_REPO_SLUG mozilla-services/heka

These values are used by the docker/release_travis.sh. By default env set creates private variables which don't show up in the build logs. The DOCKER_REPO_SLUG is made public so it can be clear where the image is going. The unit tests must pass for the docker image to be built.

@xrl
Copy link
Contributor Author

xrl commented May 5, 2016

This is failing because the travis account has not had travis env set --public DOCKER_REPO_SLUG mozilla-services/heka. Once this DOCKER_REPO_SLUG is set it will be available to all travis builds -- and it would just make sense to kick Travis to build again.

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

Successfully merging this pull request may close these issues.

1 participant