2 name: 'bifrost-osa-daily'
3 #--------------------------------
5 #--------------------------------
6 # the versions stated here default to branches which then later
7 # on used for checking out the branches, pulling in head of the branch.
8 # but they also allow us to state sha1 so instead of checking out the
9 # branches, we can check out sha1 if we want to use locked/specific
10 # sha1 or manually enter sha1.
13 openstack-osa-version: '{stream}'
14 openstack-bifrost-version: '{stream}'
15 opnfv-releng-version: 'master'
19 openstack-osa-version: 'stable/{stream}'
20 openstack-bifrost-version: 'stable/{stream}'
21 opnfv-releng-version: 'master'
22 gs-pathname: '/{stream}'
23 #--------------------------------
25 #--------------------------------
28 - 'os-nosdn-nofeature-ha':
29 auto-trigger-name: 'daily-trigger-disabled'
30 #--------------------------------
32 #--------------------------------
38 #--------------------------------
40 #--------------------------------
44 slave-label: xci-xenial-virtual
45 dib-os-release: 'xenial'
46 dib-os-element: 'ubuntu-minimal'
47 dib-os-packages: 'vlan,vim,less,bridge-utils,sudo,language-pack-en,iputils-ping,rsyslog,curl,python,debootstrap,ifenslave,ifenslave-2.6,lsof,lvm2,tcpdump,nfs-kernel-server,chrony'
48 extra-dib-elements: 'openssh-server'
51 slave-label: xci-centos7-virtual
53 dib-os-element: 'centos7'
54 dib-os-packages: 'vim,less,bridge-utils,iputils,rsyslog,curl'
55 extra-dib-elements: 'openssh-server'
58 slave-label: xci-suse-virtual
59 dib-os-release: '42.2'
60 dib-os-element: 'opensuse-minimal'
61 dib-os-packages: 'vim,less,bridge-utils,iputils,rsyslog,curl'
62 extra-dib-elements: 'openssh-server'
64 #--------------------------------
66 #--------------------------------
71 #--------------------------------
73 #--------------------------------
75 - 'xci-{scenario}-{pod}-{distro}-daily-{stream}'
76 - 'xci-{phase}-{pod}-{distro}-daily-{stream}'
78 #--------------------------------
80 #--------------------------------
82 name: daily_vm_defaults
83 test-vm-num-nodes: '6'
84 test-vm-node-names: 'xcimaster controller00 controller01 controller02 compute00 compute01'
88 vm-memory-size: '16384'
89 vm-disk-cache: 'unsafe'
91 #--------------------------------
93 #--------------------------------
95 name: 'xci-{scenario}-{pod}-{distro}-daily-{stream}'
97 disabled: '{obj:disabled}'
103 use-build-blocker: true
111 name: OPENSTACK_OSA_VERSION
112 default: '{openstack-osa-version}'
114 name: OPENSTACK_BIFROST_VERSION
115 default: '{openstack-osa-version}'
117 name: OPNFV_RELENG_VERSION
118 default: '{opnfv-releng-version}'
120 name: USE_PROMOTED_VERSIONS
123 name: DEPLOY_SCENARIO
124 default: '{scenario}'
127 default: '{slave-label}'
130 - '{auto-trigger-name}'
133 - xci-fix-perms-workspace
136 - description-setter:
137 description: "Built on $NODE_NAME"
139 - project: 'xci-provision-{pod}-{distro}-daily-{stream}'
140 current-parameters: false
141 predefined-parameters: |
142 OPENSTACK_OSA_VERSION=$OPENSTACK_OSA_VERSION
143 OPENSTACK_BIFROST_VERSION=$OPENSTACK_BIFROST_VERSION
144 OPNFV_RELENG_VERSION=$OPNFV_RELENG_VERSION
145 USE_PROMOTED_VERSIONS=$USE_PROMOTED_VERSIONS
146 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
150 - project: 'xci-deploy-{pod}-{distro}-daily-{stream}'
151 current-parameters: false
152 predefined-parameters: |
153 OPENSTACK_OSA_VERSION=$OPENSTACK_OSA_VERSION
154 OPENSTACK_BIFROST_VERSION=$OPENSTACK_BIFROST_VERSION
155 OPNFV_RELENG_VERSION=$OPNFV_RELENG_VERSION
156 USE_PROMOTED_VERSIONS=$USE_PROMOTED_VERSIONS
157 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
161 - project: 'xci-functest-{pod}-{distro}-daily-{stream}'
162 current-parameters: false
163 predefined-parameters: |
164 OPENSTACK_OSA_VERSION=$OPENSTACK_OSA_VERSION
165 OPENSTACK_BIFROST_VERSION=$OPENSTACK_BIFROST_VERSION
166 OPNFV_RELENG_VERSION=$OPNFV_RELENG_VERSION
167 USE_PROMOTED_VERSIONS=$USE_PROMOTED_VERSIONS
168 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
172 build-step-failure-threshold: 'never'
173 failure-threshold: 'never'
174 unstable-threshold: 'FAILURE'
178 recipients: fatih.degirmenci@ericsson.com yroblamo@redhat.com mchandras@suse.de jack.morgan@intel.com julienjut@gmail.com
181 name: 'xci-{phase}-{pod}-{distro}-daily-{stream}'
183 disabled: '{obj:disabled}'
185 defaults: daily_vm_defaults
191 use-build-blocker: true
201 name: OPENSTACK_OSA_VERSION
202 default: '{openstack-osa-version}'
204 name: OPENSTACK_BIFROST_VERSION
205 default: '{openstack-osa-version}'
207 name: OPNFV_RELENG_VERSION
208 default: '{opnfv-releng-version}'
210 name: USE_PROMOTED_VERSIONS
213 name: DEPLOY_SCENARIO
214 default: 'os-nosdn-nofeature-ha'
220 default: '{dib-os-release}'
223 default: '{dib-os-element}'
225 name: EXTRA_DIB_ELEMENTS
226 default: '{extra-dib-elements}'
228 name: DIB_OS_PACKAGES
229 default: '{dib-os-packages}'
231 name: TEST_VM_NUM_NODES
232 default: '{test-vm-num-nodes}'
234 name: TEST_VM_NODE_NAMES
235 default: '{test-vm-node-names}'
238 default: '{vm-domain-type}'
247 default: '{vm-memory-size}'
250 default: '{vm-disk-cache}'
252 name: CLEAN_DIB_IMAGES
256 default: '{slave-label}'
258 name: ANSIBLE_VERBOSITY
262 - xci-fix-perms-workspace
265 - description-setter:
266 description: "Built on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
267 - 'xci-{phase}-builder'
269 #---------------------------
271 #---------------------------
273 name: xci-fix-perms-workspace
278 sudo chown -R $USER $WORKSPACE || exit 1
280 #---------------------------
282 #---------------------------
284 name: xci-provision-builder
287 !include-raw: ./xci-provision.sh
289 name: xci-deploy-builder
292 !include-raw: ./xci-deploy.sh
294 name: xci-functest-builder
297 !include-raw: ./xci-functest.sh