test drone 6
continuous-integration/drone/push Build is passing Details

master
Maxime ROCHER 2 weeks ago
parent b4a7f033ef
commit 6dd09a2142

@ -3,20 +3,22 @@ type: docker
name: deploy-postgresql
steps:
# container deployment
# container deployment
- name: deploy-container-pgsql
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
settings:
IMAGENAME: mariadb:10
CONTAINERNAME: WF-DATABASE
COMMAND: create
# OVERWRITE: false
CODEFIRST_CLIENTDRONE_ENV_PGSQL_ROOT_PASSWORD:
from_secret: db_server
CODEFIRST_CLIENTDRONE_ENV_PGSQL_USER:
from_secret: db_user
CODEFIRST_CLIENTDRONE_ENV_PGSQL_PASSWORD:
from_secret: db_password
CODEFIRST_CLIENTDRONE_ENV_PGSQL_DATABASE:
from_secret: db_database
IMAGENAME: postgres:latest
CONTAINERNAME: WF-DATABASE
commands:
- create
- sleep 10
- psql -h https://codefirst.iut.uca.fr/containers/ -U adminfantasy -d wikifantasyDB -f /docker-entrypoint-initdb.d/init.sql
# OVERWRITE: false
CODEFIRST_CLIENTDRONE_ENV_PGSQL_ROOT_PASSWORD:
from_secret: db_server
CODEFIRST_CLIENTDRONE_ENV_PGSQL_USER:
from_secret: db_user
CODEFIRST_CLIENTDRONE_ENV_PGSQL_PASSWORD:
from_secret: db_password
CODEFIRST_CLIENTDRONE_ENV_PGSQL_DATABASE:
from_secret: db_database

Loading…
Cancel
Save