Update .drone.yml
continuous-integration/drone/push Build is failing Details

main
Félix MIELCAREK 1 year ago committed by GitHub
parent 138319675c
commit db5d789eeb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -23,18 +23,18 @@ steps:
- name: create-bigbrother-database
image: python:latest
environment:
CODEFIRST_CLIENTDRONE_ENV_POSTGRES_ROOT_PASSWORD:
from_secret: db_root_password
CODEFIRST_CLIENTDRONE_ENV_POSTGRES_DATABASE:
from_secret: db_database
CODEFIRST_CLIENTDRONE_ENV_POSTGRES_USER:
from_secret: db_user
CODEFIRST_CLIENTDRONE_ENV_POSTGRES_PASSWORD:
from_secret: db_password
commands:
- echo $POSTGRES_DATABASE
- cd database/
- pip install psycopg2
- python3 db-creation.py
environment:
POSTGRES_ROOT_PASSWORD:
from_secret: db_root_password
POSTGRES_DATABASE:
from_secret: db_database
POSTGRES_USER:
from_secret: db_user
POSTGRES_PASSWORD:
from_secret: db_password
depends_on: [ deploy-container-pgsql ]

Loading…
Cancel
Save