Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
Lab-GitLab-CI-CD
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Operate
Environments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LSDS
Teaching
Bachelor
Cloud-and-Deployment
Lab-GitLab-CI-CD
Commits
aa2a5a85
Commit
aa2a5a85
authored
2 years ago
by
marcoemi.poleggi
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
52617cd7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+13
-0
13 additions, 0 deletions
README.md
with
13 additions
and
0 deletions
README.md
+
13
−
0
View file @
aa2a5a85
...
@@ -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?
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment