From b10074e440904f41701e2bf4aa774e7f7768e584 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Tue, 27 Dec 2022 00:26:43 +0100 Subject: [PATCH] Feature: add parallelism in drone image compilation pipeline --- .drone.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.drone.yml b/.drone.yml index 72f758b..a3bf9ec 100644 --- a/.drone.yml +++ b/.drone.yml @@ -33,6 +33,8 @@ steps: commands: - composer install --no-scripts --no-interaction - composer update --with-all-dependencies --no-interaction chill-project/chill-bundles + depends_on: + - build-base-image - name: build-assets image: node:14 @@ -40,6 +42,8 @@ steps: commands: - yarn install - yarn run encore production + depends_on: + - composer-install - name: build-image-php image: plugins/docker @@ -56,6 +60,9 @@ steps: cache_from: - h3m6q87t.gra7.container-registry.ovh.net/chillbasics/php-base:latest - chill/base-image:latest + depends_on: + - build-assets + - composer-install - name: build-image-nginx image: plugins/docker @@ -70,3 +77,5 @@ steps: tag: - ${DRONE_TAG} Dockerfile: docker/nginx/Dockerfile + depends_on: + - build-assets