3 name: 'openstack-bifrost-verify'
4 # -------------------------------
6 # -------------------------------
10 # -------------------------------
12 # -------------------------------
15 project-repo: 'https://git.openstack.org/openstack/bifrost'
16 clone-location: '$WORKSPACE/bifrost'
18 project-repo: 'https://gerrit.opnfv.org/gerrit/releng-xci'
19 clone-location: '$WORKSPACE/releng-xci'
20 # -------------------------------
22 # -------------------------------
26 dib-os-release: 'xenial'
27 dib-os-element: 'ubuntu-minimal'
28 dib-os-packages: 'vlan,vim,less,bridge-utils,language-pack-en,iputils-ping,rsyslog,curl'
29 extra-dib-elements: 'openssh-server'
33 dib-os-element: 'centos-minimal'
34 dib-os-packages: 'vim,less,bridge-utils,iputils,rsyslog,curl'
35 extra-dib-elements: 'openssh-server'
38 dib-os-release: '42.3'
39 dib-os-element: 'opensuse-minimal'
40 dib-os-packages: 'vim,less,bridge-utils,iputils,rsyslog,curl'
41 extra-dib-elements: 'openssh-server'
42 # -------------------------------
44 # -------------------------------
47 # -------------------------------
49 # -------------------------------
51 - '{project}-bifrost-verify-{distro}-{type}-{stream}'
53 # -------------------------------
55 # -------------------------------
57 name: verify_vm_defaults
58 test-vm-num-nodes: '3'
59 test-vm-node-names: 'opnfv controller00 compute00'
63 vm-memory-size: '4096'
64 vm-disk-cache: 'unsafe'
66 # -------------------------------
68 # -------------------------------
70 name: '{project}-bifrost-verify-{distro}-{type}-{stream}'
72 disabled: '{obj:disabled}'
74 defaults: verify_vm_defaults
81 use-build-blocker: true
83 - '.*-bifrost-verify.*-{type}'
92 default: '{project-repo}'
95 default: '{clone-location}'
101 default: '{dib-os-release}'
104 default: '{dib-os-element}'
106 name: EXTRA_DIB_ELEMENTS
107 default: '{extra-dib-elements}'
109 name: DIB_OS_PACKAGES
110 default: '{dib-os-packages}'
112 name: TEST_VM_NUM_NODES
113 default: '{test-vm-num-nodes}'
115 name: TEST_VM_NODE_NAMES
116 default: '{test-vm-node-names}'
119 default: '{vm-domain-type}'
128 default: '{vm-memory-size}'
131 default: '{vm-disk-cache}'
133 name: CLEAN_DIB_IMAGES
137 default: 'infra-{type}-{distro}'
138 # yamllint disable rule:line-length
140 name: BIFROST_LOG_URL
141 default: 'http://artifacts.opnfv.org/cross-community-ci/openstack/bifrost/$GERRIT_NAME/$GERRIT_CHANGE_NUMBER/$GERRIT_PATCHSET_NUMBER/$JOB_NAME'
142 # yamllint enable rule:line-length
150 refspec: '$GERRIT_REFSPEC'
154 choosing-strategy: 'gerrit'
159 - '{project}-gerrit-trigger':
167 - fix-workspace-permissions
172 # yamllint disable rule:line-length
174 recipients: fatih.degirmenci@ericsson.com yroblamo@redhat.com mchandras@suse.de jack.morgan@intel.com julienjut@gmail.com
175 # yamllint enable rule:line-length
176 - email-jenkins-admins-on-failure
177 # -------------------------------
179 # -------------------------------
181 name: 'openstack-gerrit-trigger'
184 server-name: 'review.openstack.org'
187 - patchset-created-event:
188 exclude-drafts: 'false'
189 exclude-trivial-rebase: 'false'
190 exclude-no-code-change: 'false'
191 - comment-added-contains-event:
192 comment-contains-value: 'recheck'
193 custom-url: '* $JOB_NAME $BIFROST_LOG_URL/index.html'
196 - project-compare-type: 'PLAIN'
197 project-pattern: 'openstack/bifrost'
199 - branch-compare-type: 'ANT'
200 branch-pattern: '**/{branch}'
201 disable-strict-forbidden-file-verification: 'true'
202 forbidden-file-paths:
206 pattern: 'releasenotes/**'
207 readable-message: true
210 name: 'opnfv-gerrit-trigger'
213 server-name: 'gerrit.opnfv.org'
215 - patchset-created-event:
216 exclude-drafts: 'false'
217 exclude-trivial-rebase: 'false'
218 exclude-no-code-change: 'false'
219 - draft-published-event
220 - comment-added-contains-event:
221 comment-contains-value: 'recheck'
222 - comment-added-contains-event:
223 comment-contains-value: 'reverify'
224 custom-url: '* $JOB_NAME $BIFROST_LOG_URL/index.html'
226 - project-compare-type: 'ANT'
227 project-pattern: 'releng-xci'
229 - branch-compare-type: 'ANT'
230 branch-pattern: '**/{branch}'
233 pattern: 'bifrost/**'
234 readable-message: true
236 # --------------------------
238 # --------------------------
240 name: bifrost-set-name
242 - description-setter:
243 description: "Built on $NODE_NAME"
249 !include-raw: ./bifrost-verify.sh