diff --git a/README.md b/README.md index 52688d594f102ccd37f761902cd7c5ab39bbad17..eb6748a41c33a7e2e571dbcf4ac681e088d0c17a 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? + +