From 133533544d846117555370b313a3e3ff3741b569 Mon Sep 17 00:00:00 2001 From: Alban Peignier Date: Fri, 16 Dec 2022 14:57:19 +0100 Subject: [PATCH] CHOUETTE-2543 Run unit tests and build docker image in parallel --- bitbucket-pipelines.yml | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 60c3a286c8..58fc81c610 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -70,20 +70,21 @@ pipelines: branches: master: - - step: *unit-tests - - step: - name: Build Docker - image: - name: eu.gcr.io/enroute-interne/enroute-cloud-sdk:latest - username: _json_key - password: "$GCLOUD_API_KEYFILE" - caches: - - docker - script: - - build.sh gcloud::setup - - build.sh bitbucket::docker::build - services: - - docker + - parallel: + - step: *unit-tests + - step: + name: Build Docker + image: + name: eu.gcr.io/enroute-interne/enroute-cloud-sdk:latest + username: _json_key + password: "$GCLOUD_API_KEYFILE" + caches: + - docker + script: + - build.sh gcloud::setup + - build.sh bitbucket::docker::build + services: + - docker - step: name: Tag script: