From ee49fc80c15f3d53b2d2cf2d7e974c03c5b18fbe Mon Sep 17 00:00:00 2001 From: Alix JEUDI--LEMOINE Date: Tue, 3 Dec 2024 15:04:40 +0100 Subject: [PATCH] :rocket: Updated order of the CI/CD pipeline --- .drone.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 7255cb3..d93005e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -35,6 +35,7 @@ steps: CODEFIRST_CLIENTDRONE_ENV_ME_CONFIG_BASICAUTH_PASSWORD: from_secret: SECRET_MONGODB_PASSWORD ADMINS: alixjeudi--lemoine,alexisferon,mathisframit,maxencejouannet + depends_on: [ deploy-database ] - name: code-analysis image: hub.codefirst.iut.uca.fr/alix.jeudi--lemoine/codefirst-dronesonarplugin-python312:latest @@ -64,6 +65,7 @@ steps: from_secret: SECRET_REGISTRY_USERNAME password: from_secret: SECRET_REGISTRY_PASSWORD + depends_on: [ code-analysis ] - name: deploy-api image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest @@ -85,4 +87,5 @@ steps: from_secret: SECRET_JWT_ALGORITHM CODEFIRST_CLIENTDRONE_ENV_JWT_ACCESS_TOKEN_EXPIRE_MINUTES: from_secret: SECRET_JWT_ACCESS_TOKEN_EXPIRE_MINUTES - ADMINS: alixjeudi--lemoine,alexisferon,mathisframit,maxencejouannet \ No newline at end of file + ADMINS: alixjeudi--lemoine,alexisferon,mathisframit,maxencejouannet + depends_on: [ docker-build-and-push ] \ No newline at end of file