testing #1

Closed
andrei-stoica wants to merge 2 commits from testing into master
1 changed files with 21 additions and 0 deletions
Showing only changes of commit 01b8a2be62 - Show all commits

21
.drone.yml Normal file
View File

@ -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