mirror of
https://github.com/valitydev/grafanalib.git
synced 2024-11-06 10:15:24 +00:00
2f24538f24
Just making `test` means that the docker images aren't built
26 lines
611 B
YAML
26 lines
611 B
YAML
machine:
|
|
services:
|
|
- docker
|
|
python:
|
|
version: 3.5.2
|
|
environment:
|
|
PATH: $HOME/bin:$PATH
|
|
SRCDIR: /home/ubuntu/src/github.com/weaveworks/grafanalib
|
|
|
|
dependencies:
|
|
override:
|
|
- make deps
|
|
|
|
test:
|
|
override:
|
|
- "mkdir -p $(dirname $SRCDIR) && cp -r $(pwd)/ $SRCDIR"
|
|
- "mkdir -p $CIRCLE_TEST_REPORTS/py.test/"
|
|
- cd $SRCDIR; make JUNIT_XML=$CIRCLE_TEST_REPORTS/py.test/junit.xml all
|
|
|
|
deployment:
|
|
push:
|
|
branch: master
|
|
commands:
|
|
- docker login -e '.' -u "$QUAY_USER" -p "$QUAY_PASSWORD" quay.io
|
|
- docker push quay.io/weaveworks/gfdatasource:$(./tools/image-tag)
|