Skip to content
Snippets Groups Projects
Commit aa2a5a85 authored by marcoemi.poleggi's avatar marcoemi.poleggi
Browse files

Update README.md

parent 52617cd7
No related branches found
No related tags found
No related merge requests found
...@@ -112,6 +112,7 @@ deploy_prod: ...@@ -112,6 +112,7 @@ deploy_prod:
- # sync "public/" to the target production server via SSH - # sync "public/" to the target production server via SSH
# <condition> to trigger only on a given branch # <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 ### ### Task #3: test operation ###
...@@ -120,3 +121,15 @@ deploy_prod: ...@@ -120,3 +121,15 @@ deploy_prod:
Verify that: Verify that:
1. The pipeline is correctly triggered on push/commit. 1. The pipeline is correctly triggered on push/commit.
1. The app is not deployed if the version number is broken. 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?
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment