Skip to content

Commit

Permalink
CHOUETTE-2543 Run unit tests and build docker image in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
albanpeignier committed Dec 16, 2022
1 parent 102f1de commit 1335335
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions bitbucket-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1335335

Please sign in to comment.