Merge "Add scenario parameter for functest-k8s in container4nfv Proj"
[releng.git] / jjb / container4nfv / container4nfv-arm64.yaml
1 ---
2
3 - project:
4     name: 'container4nfv-arm64'
5     project: 'container4nfv'
6     installer: 'compass'
7     stream:
8       - master:
9           branch: master
10       - fraser:
11           branch: stable/fraser
12     scenario:
13       - 'k8-multus-nofeature-noha':
14           disabled: false
15       - 'k8-sriov-nofeature-noha':
16           disabled: false
17       - 'k8-vpp-nofeature-noha':
18           disabled: false
19     pod:
20       - virtual:
21           slave-label: arm-packet01
22       - baremetal:
23           slave-label: compass-baremetal-arm
24     jobs:
25       - 'container4nfv-arm-deploy-{pod}-daily-{stream}'
26       - 'container4nfv-{scenario}-{pod}-daily-{stream}'
27
28
29 - job-template:
30     name: 'container4nfv-arm-deploy-{pod}-daily-{stream}'
31     disabled: false
32     node: '{slave-label}'
33
34     wrappers:
35       - timeout:
36           timeout: 300
37           fail: true
38
39     scm:
40       - git:
41           url: https://gerrit.opnfv.org/gerrit/compass4nfv
42           branches:
43             - '{branch}'
44           basedir: compass4nfv
45           wipe-workspace: true
46
47     triggers:
48       - 'trigger-deploy-{pod}-{stream}'
49
50     builders:
51       - shell:
52           !include-raw: arm64/compass-build.sh
53       - shell:
54           !include-raw: arm64/compass-deploy.sh
55       - trigger-builds:
56           - project: yardstick-arm64-compass-arm-virtual03-daily-master
57             current-parameters: false
58             same-node: true
59             block: true
60             block-thresholds:
61               build-step-failure-threshold: 'never'
62               failure-threshold: 'never'
63               unstable-threshold: 'Failure'
64           - project: functest-compass-arm-virtual-daily-master
65             current-parameters: false
66             predefined-parameters:
67               DEPLOY_SCENARIO={scenario}
68             same-node: true
69             block: true
70             block-thresholds:
71               build-step-failure-threshold: 'never'
72               failure-threshold: 'never'
73               unstable-threshold: 'Failure'
74           - project: container4nfv-k8-multus-nofeature-noha-{pod}-daily-{stream}
75             current-parameters: true
76             same-node: true
77             block: true
78             block-thresholds:
79               build-step-failure-threshold: 'never'
80               failure-threshold: 'never'
81               unstable-threshold: 'Failure'
82           - project: container4nfv-k8-sriov-nofeature-noha-{pod}-daily-{stream}
83             current-parameters: true
84             same-node: true
85             block: true
86             block-thresholds:
87               build-step-failure-threshold: 'never'
88               failure-threshold: 'never'
89               unstable-threshold: 'Failure'
90           - project: container4nfv-k8-vpp-nofeature-noha-{pod}-daily-{stream}
91             current-parameters: true
92             same-node: true
93             block: true
94             block-thresholds:
95               build-step-failure-threshold: 'never'
96               failure-threshold: 'never'
97               unstable-threshold: 'never'
98
99
100 - job-template:
101     name: 'container4nfv-{scenario}-{pod}-daily-{stream}'
102     disabled: '{obj:disabled}'
103     node: '{slave-label}'
104
105     scm:
106       - git:
107           url: https://gerrit.opnfv.org/gerrit/container4nfv
108           branches:
109             - master
110           basedir: container4nfv
111           wipe-workspace: true
112
113     builders:
114       - shell:
115           !include-raw: arm64/deploy-cni.sh
116
117
118 - trigger:
119     name: 'trigger-deploy-virtual-master'
120     triggers:
121       - timed: '0 12 * * *'
122 - trigger:
123     name: 'trigger-deploy-virtual-fraser'
124     triggers:
125       - timed: '0 18 * * *'
126 - trigger:
127     name: 'trigger-deploy-baremetal-master'
128     triggers:
129       - timed: '0 12 * * *'
130 - trigger:
131     name: 'trigger-deploy-baremetal-fraser'
132     triggers:
133       - timed: '0 18 * * *'