Updates in travis to do a push to docker hub, so our code can be deployed to various environments.
This commit is contained in:
parent
f913107d2e
commit
087982e4c4
|
@ -2,6 +2,7 @@ language: python
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- postgresql
|
- postgresql
|
||||||
|
- docker
|
||||||
|
|
||||||
python:
|
python:
|
||||||
- "3.7"
|
- "3.7"
|
||||||
|
@ -17,4 +18,10 @@ install:
|
||||||
|
|
||||||
# command to run tests
|
# command to run tests
|
||||||
script:
|
script:
|
||||||
- pytest
|
- pytest
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
provider: script
|
||||||
|
script: bash docker_push
|
||||||
|
on:
|
||||||
|
branch: master
|
|
@ -1,3 +1,7 @@
|
||||||
|
# CrConnectFrontend
|
||||||
|
|
||||||
|
[![Build Status](https://travis-ci.com/sartography/cr-connect-workflow.svg?branch=master)](https://travis-ci.com/sartography/cr-connect-workflow)
|
||||||
|
|
||||||
# CR Connect Workflow Microservice
|
# CR Connect Workflow Microservice
|
||||||
## Development Setup
|
## Development Setup
|
||||||
### Tools
|
### Tools
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||||
|
docker push sartography/cr-connect-workflow
|
Loading…
Reference in New Issue