1 ########################
2 # Job configuration for joid
3 ########################
12 #--------------------------------
14 #--------------------------------
19 brahmaputra: &brahmaputra
21 branch: 'stable/{stream}'
22 gs-pathname: '/{stream}'
23 #--------------------------------
24 # POD, INSTALLER, AND BRANCH MAPPING
25 #--------------------------------
27 #--------------------------------
28 # everything runs against master branch
29 #--------------------------------
35 #--------------------------------
38 #--------------------------------
40 #--------------------------------
43 #--------------------------------
45 #--------------------------------
50 #--------------------------------
52 # please check the triggers before enabling any of the controllers!!!
64 - 'joid-{sdn-controller}-{pod}-daily-{stream}'
65 - 'joid-deploy-{pod}-daily-{stream}'
67 ########################
69 ########################
71 name: 'joid-{sdn-controller}-{pod}-daily-{stream}'
73 project-type: multijob
75 disabled: '{obj:disabled}'
81 name: '$BUILD_NUMBER - SDN: $SDN_CONTROLLER Feature: $OPNFV_FEATURE'
84 - 'joid-{pod}-trigger'
90 - '{installer}-defaults'
93 default: '{sdn-controller}'
100 credentials-id: '{ssh-credentials}'
105 - '{installer}-multijob-{pod}-builder':
110 name: 'joid-deploy-{pod}-daily-{stream}'
118 name: '$BUILD_NUMBER - SDN: $SDN_CONTROLLER Feature: $OPNFV_FEATURE'
124 - '{installer}-defaults'
128 credentials-id: '{ssh-credentials}'
135 ########################
136 # multijob builder macros
137 ########################
138 # intel-pod5 is CI POD so full CI will run on it
139 # deploy, functest, yardstick
141 name: joid-multijob-intel-pod5-builder
145 condition: SUCCESSFUL
147 - name: 'joid-deploy-{pod}-daily-{stream}'
148 current-parameters: true
150 kill-phase-on: FAILURE
155 - name: 'functest-joid-{pod}-daily-{stream}'
156 current-parameters: true
158 # yardstick placeholder
161 # condition: COMPLETED
163 # - name: 'yardstick-joid-{pod}-daily-{stream}'
164 # current-parameters: true
165 # kill-phase-on: NEVER
167 # orange-pod2 is NOT a CI POD so only the selected jobs will run
168 # deploy and functest currently
170 name: joid-multijob-orange-pod2-builder
174 condition: SUCCESSFUL
176 - name: 'joid-deploy-{pod}-daily-{stream}'
177 current-parameters: true
179 kill-phase-on: FAILURE
184 - name: 'functest-joid-{pod}-daily-{stream}'
185 current-parameters: true
187 ########################
189 ########################
191 name: intel-pod5-builder
195 echo "Running $INSTALLER_TYPE with controller $SDN_CONTROLLER"
196 echo "Please note that this is a quick try to see how joid deployment works"
198 echo "Executing clean.sh"
202 echo "Executing 02-maasdeploy.sh intelpod5"
203 ./02-maasdeploy.sh intelpod5
205 echo "Executing deploy.sh -o liberty -s $SDN_CONTROLLER -t ha -l intelpod5"
206 ./deploy.sh -o liberty -s $SDN_CONTROLLER -t ha -l intelpod5
209 name: orange-pod2-builder
213 echo "Running $INSTALLER_TYPE with controller $SDN_CONTROLLER"
214 echo "Please note that this is WIP generic builder"
216 echo "Executing clean.sh"
220 !include-raw ./joid-deploy.sh
221 ########################
223 ########################
225 name: 'joid-intel-pod5-trigger'
228 # timer trigger is commented out since we do not know if the automatic runs should
229 # be enabled on orange-pod2
231 name: 'joid-orange-pod2-trigger'
233 - timed: '#0 3 * * *'