1 ########################
2 # Job configuration for joid
3 ########################
26 # only master branch is enabled at the moment to keep no of jobs sane
32 # branch: 'stable/{stream}'
33 # gs-pathname: '{stream}'
36 - 'joid-{sdn-controller}-{pod}-daily-{stream}'
37 - 'joid-deploy-{pod}-daily-{stream}'
39 ########################
41 ########################
43 name: 'joid-{sdn-controller}-{pod}-daily-{stream}'
45 project-type: multijob
47 disabled: '{obj:disabled}'
53 - '{installer}-defaults'
56 default: '{sdn-controller}'
63 credentials-id: '{ssh-credentials}'
68 - '{installer}-multijob-{pod}-builder':
73 name: 'joid-deploy-{pod}-daily-{stream}'
81 name: '$BUILD_NUMBER: $INSTALLER_TYPE $SDN_CONTROLLER'
87 - '{installer}-defaults'
91 credentials-id: '{ssh-credentials}'
98 ########################
99 # multijob builder macros
100 ########################
101 # intel-pod5 is CI POD so full CI will run on it
102 # deploy, functest, yardstick
104 name: joid-multijob-intel-pod5-builder
108 condition: SUCCESSFUL
110 - name: 'joid-deploy-{pod}-daily-{stream}'
111 current-parameters: true
113 kill-phase-on: FAILURE
118 - name: 'functest-joid-{pod}-daily-{stream}'
119 current-parameters: true
121 # yardstick placeholder
124 # condition: COMPLETED
126 # - name: 'yardstick-joid-{pod}-daily-{stream}'
127 # current-parameters: true
128 # kill-phase-on: NEVER
130 # orange-pod2 is NOT a CI POD so only the selected jobs will run
131 # deploy and functest currently
133 name: joid-multijob-orange-pod2-builder
137 condition: SUCCESSFUL
139 - name: 'joid-deploy-{pod}-daily-{stream}'
140 current-parameters: true
142 kill-phase-on: FAILURE
147 - name: 'functest-joid-{pod}-daily-{stream}'
148 current-parameters: true
150 ########################
152 ########################
154 name: intel-pod5-builder
158 echo "Running $INSTALLER_TYPE with controller $SDN_CONTROLLER"
159 echo "Please note that this is a quick try to see how joid deployment works"
161 echo "Executing clean.sh"
165 echo "Executing 02-maasdeploy.sh intelpod5"
166 ./02-maasdeploy.sh intelpod5
168 echo "Executing deploy.sh -o liberty -s $SDN_CONTROLLER -t ha -l intelpod5"
169 ./deploy.sh -o liberty -s $SDN_CONTROLLER -t ha -l intelpod5
172 name: orange-pod2-builder
176 echo "Running $INSTALLER_TYPE with controller $SDN_CONTROLLER"
177 echo "Please note that this is WIP generic builder"
179 echo "Executing clean.sh"
183 !include-raw ./joid-deploy.sh