From 2014ad61457f2a0fbc0cd9a5a24a3dbd5adc4b72 Mon Sep 17 00:00:00 2001 From: Vincent ASTOLFI Date: Fri, 25 Nov 2022 10:33:23 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'.drone.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 86 +++++++++++++++++++++++++++--------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) diff --git a/.drone.yml b/.drone.yml index 779e03b..8e3bbc9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -52,49 +52,49 @@ steps: PRIVATE: true POSTGRES_PASSWORD: oui - - name: deploy-container-mysql - image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest - environment: - IMAGENAME: mariadb:latest - CONTAINERNAME: mariadb - COMMAND: create - OVERWRITE: true - CODEFIRST_CLIENTDRONE_ENV_MARIADB_ROOT_PASSWORD: - from_secret: db_root_password - CODEFIRST_CLIENTDRONE_ENV_MARIADB_DATABASE: - from_secret: db_database - CODEFIRST_CLIENTDRONE_ENV_MARIADB_USER: - from_secret: db_user - CODEFIRST_CLIENTDRONE_ENV_MARIADB_PASSWORD: - from_secret: db_password + - name: deploy-container-mysql + image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest + environment: + IMAGENAME: mariadb:latest + CONTAINERNAME: mariadb + COMMAND: create + OVERWRITE: true + CODEFIRST_CLIENTDRONE_ENV_MARIADB_ROOT_PASSWORD: + from_secret: db_root_password + CODEFIRST_CLIENTDRONE_ENV_MARIADB_DATABASE: + from_secret: db_database + CODEFIRST_CLIENTDRONE_ENV_MARIADB_USER: + from_secret: db_user + CODEFIRST_CLIENTDRONE_ENV_MARIADB_PASSWORD: + from_secret: db_password - - name: web-API - image: plugins/docker - settings: - dockerfile: ./Dockerfile - context: ./ - registry: hub.codefirst.iut.uca.fr - repo: hub.codefirst.iut.uca.fr/hugo.livet/consEco - username: - from_secret: secret-registry-username - password: - from_secret: secret-registry-password + - name: web-API + image: plugins/docker + settings: + dockerfile: ./Dockerfile + context: ./ + registry: hub.codefirst.iut.uca.fr + repo: hub.codefirst.iut.uca.fr/hugo.livet/consEco + username: + from_secret: secret-registry-username + password: + from_secret: secret-registry-password - - name: deploy-web-container - image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest - environment: - IMAGENAME: hub.codefirst.iut.uca.fr/hugo.livet/consEco:latest - CONTAINERNAME: consEco - COMMAND: create - OVERWRITE: true - CODEFIRST_CLIENTDRONE_ENV_MARIADB_ROOT_PASSWORD: - from_secret: db_root_password - CODEFIRST_CLIENTDRONE_ENV_MARIADB_DATABASE: - from_secret: db_database - CODEFIRST_CLIENTDRONE_ENV_MARIADB_USER: - from_secret: db_user - CODEFIRST_CLIENTDRONE_ENV_MARIADB_PASSWORD: - from_secret: db_password - - depends_on: [ web-todo, deploy-container-mysql ] + - name: deploy-web-container + image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest + environment: + IMAGENAME: hub.codefirst.iut.uca.fr/hugo.livet/consEco:latest + CONTAINERNAME: consEco + COMMAND: create + OVERWRITE: true + CODEFIRST_CLIENTDRONE_ENV_MARIADB_ROOT_PASSWORD: + from_secret: db_root_password + CODEFIRST_CLIENTDRONE_ENV_MARIADB_DATABASE: + from_secret: db_database + CODEFIRST_CLIENTDRONE_ENV_MARIADB_USER: + from_secret: db_user + CODEFIRST_CLIENTDRONE_ENV_MARIADB_PASSWORD: + from_secret: db_password + + depends_on: [ web-todo, deploy-container-mysql ] \ No newline at end of file