7 - 'multisite-kingbird-virtual-daily-{stream}'
8 - 'multisite-{phase}-{stream}'
11 - 'fuel-deploy-regionone-virtual':
12 slave-label: ericsson-virtual12
13 - 'fuel-deploy-regiontwo-virtual':
14 slave-label: ericsson-virtual13
15 - 'register-endpoints':
16 slave-label: ericsson-virtual12
18 slave-label: ericsson-virtual13
19 - 'kingbird-deploy-virtual':
20 slave-label: ericsson-virtual12
30 name: 'multisite-kingbird-virtual-daily-{stream}'
32 project-type: multijob
34 disabled: '{obj:disabled}'
48 name: KINGBIRD_LOG_FILE
49 default: $WORKSPACE/kingbird.log
50 - 'opnfv-build-defaults'
57 description: "Built on $NODE_NAME"
59 name: fuel-deploy-virtual
62 - name: 'multisite-fuel-deploy-regionone-virtual-{stream}'
63 current-parameters: false
64 predefined-parameters: |
66 DEPLOY_SCENARIO=os-nosdn-nofeature-noha
68 REGIONONE_IP=100.64.209.10
69 REGIONTWO_IP=100.64.209.11
70 FRESH_INSTALL=$FRESH_INSTALL
71 node-parameters: false
72 node-label-name: SLAVE_LABEL
73 node-label: ericsson-virtual12
74 kill-phase-on: FAILURE
76 - name: 'multisite-fuel-deploy-regiontwo-virtual-{stream}'
77 current-parameters: false
78 predefined-parameters: |
80 DEPLOY_SCENARIO=os-nosdn-nofeature-noha
82 REGIONONE_IP=100.64.209.10
83 REGIONTWO_IP=100.64.209.11
84 FRESH_INSTALL=$FRESH_INSTALL
85 node-parameters: false
86 node-label-name: SLAVE_LABEL
87 node-label: ericsson-virtual13
88 kill-phase-on: FAILURE
91 name: centralize-keystone
94 - name: 'multisite-register-endpoints-{stream}'
95 current-parameters: false
96 predefined-parameters: |
98 REGIONONE_IP=100.64.209.10
99 REGIONTWO_IP=100.64.209.11
100 FRESH_INSTALL=$FRESH_INSTALL
101 node-parameters: false
102 node-label-name: SLAVE_LABEL
103 node-label: ericsson-virtual12
104 kill-phase-on: FAILURE
106 - name: 'multisite-update-auth-{stream}'
107 current-parameters: false
108 predefined-parameters: |
110 REGIONONE_IP=100.64.209.10
111 REGIONTWO_IP=100.64.209.11
112 FRESH_INSTALL=$FRESH_INSTALL
113 node-parameters: false
114 node-label-name: SLAVE_LABEL
115 node-label: ericsson-virtual13
116 kill-phase-on: FAILURE
119 name: kingbird-deploy-virtual
120 condition: SUCCESSFUL
122 - name: 'multisite-kingbird-deploy-virtual-{stream}'
123 current-parameters: false
124 predefined-parameters: |
126 REGIONONE_IP=100.64.209.10
127 REGIONTWO_IP=100.64.209.11
128 FRESH_INSTALL=$FRESH_INSTALL
129 node-parameters: false
130 node-label-name: SLAVE_LABEL
131 node-label: ericsson-virtual12
132 kill-phase-on: FAILURE
135 name: kingbird-functest
136 condition: SUCCESSFUL
138 - name: 'functest-fuel-virtual-suite-{stream}'
139 current-parameters: false
140 predefined-parameters: |
141 DEPLOY_SCENARIO=os-nosdn-multisite-noha
142 FUNCTEST_SUITE_NAME=multisite
144 REGIONONE_IP=100.64.209.10
145 REGIONTWO_IP=100.64.209.11
146 FRESH_INSTALL=$FRESH_INSTALL
147 node-parameters: false
148 node-label-name: SLAVE_LABEL
149 node-label: ericsson-virtual12
154 name: 'multisite-{phase}-{stream}'
158 disabled: '{obj:disabled}'
167 name: KINGBIRD_LOG_FILE
168 default: $WORKSPACE/kingbird.log
170 - '{slave-label}-defaults'
181 - description-setter:
182 description: "Built on $NODE_NAME"
183 - 'multisite-{phase}-builder':
187 - 'multisite-{phase}-publisher'
189 ########################
191 ########################
193 name: 'multisite-fuel-deploy-regionone-virtual-builder'
196 !include-raw-escape: ./fuel-deploy-for-multisite.sh
200 echo "This is where we deploy fuel, extract passwords and save into file"
202 cd $WORKSPACE/tools/keystone/
203 ./run.sh -t controller -r fetchpass.sh -o servicepass.ini
206 name: 'multisite-fuel-deploy-regiontwo-virtual-builder'
209 !include-raw-escape: ./fuel-deploy-for-multisite.sh
213 echo "This is where we deploy fuel, extract publicUrl, privateUrl, and adminUrl and save into file"
215 cd $WORKSPACE/tools/keystone/
216 ./run.sh -t controller -r endpoint.sh -o endpoints.ini
218 name: 'multisite-register-endpoints-builder'
221 project: 'multisite-fuel-deploy-regiontwo-virtual-{stream}'
222 which-build: multijob-build
223 filter: "endpoints.ini"
227 echo "This is where we register RegionTwo in RegionOne keystone using endpoints.ini"
229 cd $WORKSPACE/tools/keystone/
230 ./run.sh -t controller -r region.sh -d $WORKSPACE/endpoints.ini
232 name: 'multisite-update-auth-builder'
235 project: 'multisite-fuel-deploy-regionone-virtual-{stream}'
236 which-build: multijob-build
237 filter: "servicepass.ini"
241 echo "This is where we read passwords from servicepass.ini and replace passwords in RegionTwo"
243 cd $WORKSPACE/tools/keystone/
244 ./run.sh -t controller -r writepass.sh -d $WORKSPACE/servicepass.ini
245 ./run.sh -t compute -r writepass.sh -d $WORKSPACE/servicepass.ini
247 name: 'multisite-kingbird-deploy-virtual-builder'
252 echo "This is where we install kingbird"
253 cd $WORKSPACE/tools/kingbird
255 ########################
257 ########################
259 name: 'multisite-fuel-deploy-regionone-virtual-publisher'
262 artifacts: 'servicepass.ini'
264 only-if-success: true
267 name: 'multisite-fuel-deploy-regiontwo-virtual-publisher'
270 artifacts: 'endpoints.ini'
272 only-if-success: true
275 name: 'multisite-register-endpoints-publisher'
278 artifacts: 'dummy.txt'
281 name: 'multisite-update-auth-publisher'
284 artifacts: 'dummy.txt'
287 name: 'multisite-kingbird-deploy-virtual-publisher'
290 artifacts: 'dummy.txt'
293 name: 'multisite-kingbird-functest-publisher'
296 artifacts: 'dummy.txt'