From aa2a5a85e59e8e5af53eae1334ab8c71e1af3c62 Mon Sep 17 00:00:00 2001 From: "marcoemi.poleggi" <marco-emilio.poleggi@hesge.ch> Date: Wed, 23 Nov 2022 17:05:09 +0100 Subject: [PATCH] Update README.md --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 52688d5..eb6748a 100644 --- a/README.md +++ b/README.md @@ -112,6 +112,7 @@ deploy_prod: - # sync "public/" to the target production server via SSH # <condition> to trigger only on a given branch ``` +The "deploy_prod" stage shall run only if we're pushing to the main branch. ### Task #3: test operation ### @@ -120,3 +121,15 @@ deploy_prod: Verify that: 1. The pipeline is correctly triggered on push/commit. 1. The app is not deployed if the version number is broken. + 1. The deploy stage is not triggered for commits on a branch different than "main". + + +### Task #4: parallel jobs ### + +**Goal:** Exercise the parallel jobs feature of any pipeline stage. + +Extend the pipeline's "test" stage with a second unit test to be run in parallel. + +:question: What happens if only one of the two test jobs fails? + + -- GitLab