drone-ci testing
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
Andrei Stoica 2023-05-15 11:25:26 -04:00
parent a9970552d6
commit 01b8a2be62
1 changed files with 21 additions and 0 deletions

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