Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

Added Travis build file with job matrix #60

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

Added Travis build file with job matrix #60

wants to merge 1 commit into from

Conversation

sgama
Copy link

@sgama sgama commented Jan 28, 2019

Addresses #33

Proof of integration:
Travis Build: https://travis-ci.com/sgama/prometheus-postgresql-adapter/builds/98761312
Dockerhub Repository: https://hub.docker.com/r/solardesigner/prometheus-postgresql-adapter/tags

To get this CICD pipeline setup, you will first need to hook this repository into TravisCI.
Then configure the Environment Variables within the settings of the Travis Job for your Dockerhub repo.

I used the variables DOCKER_USERNAME and DOCKER_PASSWORD which contained the credentials for Dockerhub. Be sure to uncheck the slider for "Displaying value in the build log".

I left a few lines commented just in case you wanted to build dev branches as well.

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