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}'
55 - '{installer}-defaults'
58 default: '{sdn-controller}'
65 credentials-id: '{ssh-credentials}'
70 - '{installer}-multijob-{pod}-builder':
75 name: 'joid-deploy-{pod}-daily-{stream}'
83 name: '$BUILD_NUMBER: $INSTALLER_TYPE $SDN_CONTROLLER'
89 - '{installer}-defaults'
93 credentials-id: '{ssh-credentials}'
100 ########################
101 # multijob builder macros
102 ########################
103 # intel-pod5 is CI POD so full CI will run on it
104 # deploy, functest, yardstick
106 name: joid-multijob-intel-pod5-builder
110 condition: SUCCESSFUL
112 - name: 'joid-deploy-{pod}-daily-{stream}'
113 current-parameters: true
115 kill-phase-on: FAILURE
120 - name: 'functest-joid-{pod}-daily-{stream}'
121 current-parameters: true
123 # yardstick placeholder
126 # condition: COMPLETED
128 # - name: 'yardstick-joid-{pod}-daily-{stream}'
129 # current-parameters: true
130 # kill-phase-on: NEVER
132 # orange-pod2 is NOT a CI POD so only the selected jobs will run
133 # deploy and functest currently
135 name: joid-multijob-orange-pod2-builder
139 condition: SUCCESSFUL
141 - name: 'joid-deploy-{pod}-daily-{stream}'
142 current-parameters: true
144 kill-phase-on: FAILURE
149 - name: 'functest-joid-{pod}-daily-{stream}'
150 current-parameters: true
152 ########################
154 ########################
156 name: intel-pod5-builder
160 echo "Running $INSTALLER_TYPE with controller $SDN_CONTROLLER"
161 echo "Please note that this is a quick try to see how joid deployment works"
163 echo "Executing clean.sh"
167 echo "Executing 02-maasdeploy.sh intelpod5"
168 ./02-maasdeploy.sh intelpod5
170 echo "Executing deploy.sh -o liberty -s $SDN_CONTROLLER -t ha -l intelpod5"
171 ./deploy.sh -o liberty -s $SDN_CONTROLLER -t ha -l intelpod5
174 name: orange-pod2-builder
178 echo "Running $INSTALLER_TYPE with controller $SDN_CONTROLLER"
179 echo "Please note that this is WIP generic builder"
181 echo "Executing clean.sh"
185 !include-raw ./joid-deploy.sh