Commit 355c48619a758fc1331d6962a3eab5744fac2d74
1 parent
29551a9f
Exists in
rhitier-dev
and in
1 other branch
gitlab ci file
Showing
1 changed file
with
23 additions
and
0 deletions
Show diff stats
... | ... | @@ -0,0 +1,23 @@ |
1 | +build-job: | |
2 | + stage: build | |
3 | + script: | |
4 | + - echo "Hello, $GITLAB_USER_LOGIN!" | |
5 | + | |
6 | +test-job1: | |
7 | + stage: test | |
8 | + script: | |
9 | + - echo "This job tests something" | |
10 | + | |
11 | +test-job2: | |
12 | + stage: test | |
13 | + script: | |
14 | + - echo "This job tests something, but takes more time than test-job1." | |
15 | + - echo "After the echo commands complete, it runs the sleep command for 20 seconds" | |
16 | + - echo "which simulates a test that runs 20 seconds longer than test-job1" | |
17 | + - sleep 20 | |
18 | + | |
19 | +deploy-prod: | |
20 | + stage: deploy | |
21 | + script: | |
22 | + - echo "This job deploys something from the $CI_COMMIT_BRANCH branch." | |
23 | + | ... | ... |