test
continuous-integration/drone/push Build is failing Details

master
Maxime ROCHER 6 months ago
parent 5b5376a4f6
commit 70617142d1

@ -21,17 +21,17 @@ steps:
from_secret: SECRET_REGISTRY_PASSWORD from_secret: SECRET_REGISTRY_PASSWORD
- name: Deploy - name: Deploy
image: docker:20.10.14 # Image Docker standard image: hub.codefirst.iut.uca.fr/celeste.barbosa/codefirst-dockerproxy-clientdrone # Image proxy spécifique au projet
environment: environment:
IMAGENAME: hub.codefirst.iut.uca.fr/wikifantasy/wf-database # Références ajustées IMAGENAME: hub.codefirst.iut.uca.fr/wikifantasy/wf-database # Références ajustées
CONTAINERNAME: BD-WIKIFANTASY CONTAINERNAME: BD-WIKIFANTASY
POSTGRES_PASSWORD: COMMAND: create
OVERWRITE: false
PRIVATE: true
CODEFIRST_CLIENTDRONE_ENV_POSTGRES_PASSWORD:
from_secret: POSTGRES_PASSWORD from_secret: POSTGRES_PASSWORD
POSTGRES_DB: CODEFIRST_CLIENTDRONE_ENV_POSTGRES_DB:
from_secret: POSTGRES_DB from_secret: POSTGRES_DB
POSTGRES_USER: CODEFIRST_CLIENTDRONE_ENV_POSTGRES_USER:
from_secret: POSTGRES_USER from_secret: POSTGRES_USER
commands: ADMINS: maximerocher # Admins ajustés pour ton projet
- docker stop $CONTAINERNAME || true
- docker rm $CONTAINERNAME || true
- docker run -d --name $CONTAINERNAME -e POSTGRES_PASSWORD=$POSTGRES_PASSWORD -e POSTGRES_DB=$POSTGRES_DB -e POSTGRES_USER=$POSTGRES_USER -p 5432:5432 $IMAGENAME

Loading…
Cancel
Save