forked from screwdriver-cd-test/quickstart-nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscrewdriver.yaml
39 lines (39 loc) · 1020 Bytes
/
screwdriver.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
shared:
image: node:6
secrets:
- SOURCE_CLEAR_TOKEN
jobs:
test-case1:
requires: [ ~pr, ~commit ]
annotations:
beta.screwdriver.cd/timeout: 126
steps:
- test: |
echo "this is annotation test."
echo "nToken: ";
echo "SD_TOKEN: $SD_TOKEN";
test-case2:
requires: [ test-case1 ]
annotations:
beta.screwdriver.cd/timeout: 121
steps:
- test: |
echo "this is annotation test. over MAX_BUILD_TIMEOUT"
echo "nToken: ";
echo "SD_TOKEN: $SD_TOKEN";
test-case3:
requires: [ test-case2 ]
steps:
- test: |
echo "this is no annotation. It should be default build timeout value (90min.)"
echo "nToken: ";
echo "SD_TOKEN: $SD_TOKEN";
test-case4:
requires: [ test-case3 ]
annotations:
beta.screwdriver.cd/timeout: 'aaa'
steps:
- test: |
echo "this is invalid annotation."
echo "nToken: ";
echo "SD_TOKEN: $SD_TOKEN";