drone-ci testing
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
This commit is contained in:
parent
a9970552d6
commit
01b8a2be62
|
|
@ -0,0 +1,21 @@
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: test
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: db-up
|
||||||
|
image: compose:1.23.2
|
||||||
|
volumes:
|
||||||
|
- name: docker_sock
|
||||||
|
path: /var/run/docker.sock
|
||||||
|
commands:
|
||||||
|
- up -p rgraph-test -f docker-compose.yaml
|
||||||
|
environment:
|
||||||
|
- POSTGRES_USER=${TESTING_USER}
|
||||||
|
- POSTGRES_PASSWORD=${TESTING_PASSWORD}
|
||||||
|
- POSTGRES_DB=${TESTING_DB}
|
||||||
|
secrets: [TESTING_USER, TESTING_PASSWORD, TESTING_DB]
|
||||||
|
volumes:
|
||||||
|
- name: docker_sock
|
||||||
|
host:
|
||||||
|
path: /var/run/docker.sock
|
||||||
Loading…
Reference in New Issue