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'
71 name: 'joid-deploy-{pod}-daily-{stream}'
79 name: '$BUILD_NUMBER: $INSTALLER_TYPE $SDN_CONTROLLER'
85 - '{installer}-defaults'
89 credentials-id: '{ssh-credentials}'
96 ########################
97 # multijob builder macros
98 ########################
99 # intel-pod5 is CI POD so full CI will run on it
100 # deploy, functest, yardstick
102 name: joid-multijob-intel-pod5-builder
106 condition: SUCCESSFUL
108 - name: 'joid-deploy-{pod}-daily-{stream}'
109 current-parameters: true
111 kill-phase-on: FAILURE
116 - name: 'functest-joid-{pod}-daily-{stream}'
117 current-parameters: true
119 # yardstick placeholder
122 # condition: COMPLETED
124 # - name: 'yardstick-joid-{pod}-daily-{stream}'
125 # current-parameters: true
126 # kill-phase-on: NEVER
128 # orange-pod2 is NOT a CI POD so only the selected jobs will run
129 # deploy and functest currently
131 name: joid-multijob-orange-pod2-builder
135 condition: SUCCESSFUL
137 - name: 'joid-deploy-{pod}-daily-{stream}'
138 current-parameters: true
140 kill-phase-on: FAILURE
145 - name: 'functest-joid-{pod}-daily-{stream}'
146 current-parameters: true
148 ########################
150 ########################
152 name: intel-pod5-builder
156 echo "Running $INSTALLER_TYPE with controller $SDN_CONTROLLER"
157 echo "Please note that this is a quick try to see how joid deployment works"
159 echo "Executing clean.sh"
163 echo "Executing 02-maasdeploy.sh intelpod5"
164 ./02-maasdeploy.sh intelpod5
166 echo "Executing deploy.sh -o liberty -s $SDN_CONTROLLER -t ha -l intelpod5"
167 ./deploy.sh -o liberty -s $SDN_CONTROLLER -t ha -l intelpod5
170 name: orange-pod2-builder
174 echo "Running $INSTALLER_TYPE with controller $SDN_CONTROLLER"
175 echo "Please note that this is WIP generic builder"
177 echo "Executing clean.sh"
181 !include-raw ./joid-deploy.sh