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

main
Félix MIELCAREK 12 months ago committed by GitHub
parent 8d58c8cc89
commit afc439d506
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -10,7 +10,7 @@ steps:
IMAGENAME: postgres:latest IMAGENAME: postgres:latest
CONTAINERNAME: bigbrotherdb CONTAINERNAME: bigbrotherdb
COMMAND: create COMMAND: create
OVERWRITE: false # OVERWRITE: false
PRIVATE: true PRIVATE: true
CODEFIRST_CLIENTDRONE_ENV_POSTGRES_ROOT_PASSWORD: CODEFIRST_CLIENTDRONE_ENV_POSTGRES_ROOT_PASSWORD:
from_secret: db_root_password from_secret: db_root_password
@ -24,7 +24,6 @@ steps:
- name: create-bigbrother-database - name: create-bigbrother-database
image: python:latest image: python:latest
commands: commands:
- echo $POSTGRES_DATABASE
- cd database/ - cd database/
- pip install psycopg2 - pip install psycopg2
- python3 db-creation.py - python3 db-creation.py
@ -37,5 +36,4 @@ steps:
from_secret: db_user from_secret: db_user
POSTGRES_PASSWORD: POSTGRES_PASSWORD:
from_secret: db_password from_secret: db_password
secrets: [ db_root_password , db_database , db_user , db_password ]
depends_on: [ deploy-container-pgsql ] depends_on: [ deploy-container-pgsql ]

Loading…
Cancel
Save