From 44f92995d1d4b94ea87d6ecfa3899fb959d066fb Mon Sep 17 00:00:00 2001 From: Thomas BELLEMBOIS Date: Wed, 28 Sep 2022 14:56:55 +0000 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 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.drone.yml b/.drone.yml index e69de29..bb854a4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -0,0 +1,25 @@ +kind: pipeline +type: docker +name: CD + +trigger: + event: + - push + +steps: + +# database container deployment + - name: deploy-container-mysql + image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest + environment: + # IMAGENAME: mysql:8.0 + IMAGENAME: mariadb:10 + CONTAINERNAME: mariadb + #list|logs|create|delete|start + COMMAND: create + # OVERWRITE: false + PRIVATE: true + CODEFIRST_CLIENTDRONE_ENV_MARIADB_ROOT_PASSWORD: root + CODEFIRST_CLIENTDRONE_ENV_MARIADB_DATABASE: test + CODEFIRST_CLIENTDRONE_ENV_MARIADB_USER: maria + CODEFIRST_CLIENTDRONE_ENV_MARIADB_PASSWORD: maria