drone-ci testing
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-05-15 22:51:19 -04:00
parent 3f16f3a964
commit c2aab348ca

View File

@@ -9,11 +9,11 @@ steps:
image: docker/compose:alpine-1.29.2
environment:
POSTGRES_USER:
from_secrets: TESTING_USER
from_secret: TESTING_USER
POSTGRES_PASSWORD:
from_secrets: TESTING_PASSWORD
from_secret: TESTING_PASSWORD
POSTGRES_DB:
from_secrets: TESTING_DB
from_secret: TESTING_DB
volumes:
- name: docker_sock
path: /var/run/docker.sock
@@ -24,11 +24,11 @@ steps:
image: python:3.10-alpine
environment:
POSTGRES_USER:
from_secrets: TESTING_USER
from_secret: TESTING_USER
POSTGRES_PASSWORD:
from_secrets: TESTING_PASSWORD
from_secret: TESTING_PASSWORD
POSTGRES_DB:
from_secrets: TESTING_DB
from_secret: TESTING_DB
commands:
- hostip=$(ip route show | awk '/default/ {print $3}')
- export POSTGRES_URL=$hostip