drone-ci testing
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
8b0e1800da
commit
86cb243ee6
16
.drone.yml
16
.drone.yml
|
|
@ -6,12 +6,9 @@ steps:
|
||||||
- name: db-up
|
- name: db-up
|
||||||
image: docker/compose:alpine-1.29.2
|
image: docker/compose:alpine-1.29.2
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER:
|
POSTGRES_USER: rgraph
|
||||||
from_secret: TESTING_USER
|
POSTGRES_PASSWORD: rgraph
|
||||||
POSTGRES_PASSWORD:
|
POSTGRES_DB: rgraph
|
||||||
from_secret: TESTING_PASSWORD
|
|
||||||
POSTGRES_DB:
|
|
||||||
from_secret: TESTING_DB
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: docker_sock
|
- name: docker_sock
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
|
|
@ -22,11 +19,8 @@ steps:
|
||||||
image: python:3.10-alpine
|
image: python:3.10-alpine
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER:
|
POSTGRES_USER:
|
||||||
from_secret: TESTING_USER
|
POSTGRES_USER: rgraph
|
||||||
POSTGRES_PASSWORD:
|
POSTGRES_PASSWORD: rgraph
|
||||||
from_secret: TESTING_PASSWORD
|
|
||||||
POSTGRES_DB:
|
|
||||||
from_secret: TESTING_DB
|
|
||||||
commands:
|
commands:
|
||||||
- hostip=$(ip route show | awk '/default/ {print $3}')
|
- hostip=$(ip route show | awk '/default/ {print $3}')
|
||||||
- export POSTGRES_URL=$hostip
|
- export POSTGRES_URL=$hostip
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue