2 name: 'openstack-bifrost-verify'
3 #--------------------------------
5 #--------------------------------
9 #--------------------------------
11 #--------------------------------
14 project-repo: 'https://git.openstack.org/openstack/bifrost'
15 clone-location: '/opt/bifrost'
17 project-repo: 'https://gerrit.opnfv.org/gerrit/releng'
18 clone-location: '/opt/releng'
19 #--------------------------------
21 #--------------------------------
25 dib-os-release: 'trusty'
26 dib-os-element: 'ubuntu-minimal'
27 dib-os-packages: 'vlan,vim,less,bridge-utils,language-pack-en,iputils-ping,rsyslog,curl'
28 extra-dib-elements: 'openssh-server'
32 dib-os-element: 'centos7'
33 dib-os-packages: 'vim,less,bridge-utils,iputils,rsyslog,curl'
34 extra-dib-elements: 'openssh-server'
37 dib-os-release: '42.2'
38 dib-os-element: 'opensuse-minimal'
39 dib-os-packages: 'vim,less,bridge-utils,iputils,rsyslog,curl'
40 extra-dib-elements: 'openssh-server'
41 #--------------------------------
43 #--------------------------------
46 #--------------------------------
48 #--------------------------------
50 - '{project}-bifrost-verify-{distro}-{type}-{stream}'
52 #--------------------------------
54 #--------------------------------
58 vm-disk-cache: 'unsafe'
62 #--------------------------------
64 #--------------------------------
66 name: '{project}-bifrost-verify-{distro}-{type}-{stream}'
68 disabled: '{obj:disabled}'
77 use-build-blocker: true
79 - '.*-bifrost-verify.*-{type}'
88 default: '{project-repo}'
91 default: '{clone-location}'
97 default: '{dib-os-release}'
100 default: '{dib-os-element}'
102 name: EXTRA_DIB_ELEMENTS
103 default: '{extra-dib-elements}'
105 name: DIB_OS_PACKAGES
106 default: '{dib-os-packages}'
112 default: '{vm-disk-cache}'
115 default: '{vm-memory}'
120 name: CLEAN_DIB_IMAGES
124 default: 'infra-{type}-{distro}'
126 name: BIFROST_LOG_URL
127 default: 'http://artifacts.opnfv.org/cross-community-ci/openstack/bifrost/$GERRIT_NAME/$GERRIT_CHANGE_NUMBER/$GERRIT_PATCHSET_NUMBER/$JOB_NAME'
132 refspec: '$GERRIT_REFSPEC'
136 choosing-strategy: 'gerrit'
141 - '{project}-gerrit-trigger':
149 - bifrost-fix-perms-workspace
153 recipients: fatih.degirmenci@ericsson.com yroblamo@redhat.com mchandras@suse.de jack.morgan@intel.com julienjut@gmail.com
154 #--------------------------------
156 #--------------------------------
158 name: 'openstack-gerrit-trigger'
161 server-name: 'review.openstack.org'
164 - patchset-created-event:
165 exclude-drafts: 'false'
166 exclude-trivial-rebase: 'false'
167 exclude-no-code-change: 'false'
168 - comment-added-contains-event:
169 comment-contains-value: 'recheck'
170 custom-url: '* $JOB_NAME $BIFROST_LOG_URL/index.html'
173 - project-compare-type: 'PLAIN'
174 project-pattern: 'openstack/bifrost'
176 - branch-compare-type: 'ANT'
177 branch-pattern: '**/{branch}'
178 disable-strict-forbidden-file-verification: 'true'
179 forbidden-file-paths:
183 pattern: 'releasenotes/**'
184 disable-strict-forbidden-file-verification: 'true'
185 readable-message: true
187 name: 'opnfv-gerrit-trigger'
190 server-name: 'gerrit.opnfv.org'
192 - patchset-created-event:
193 exclude-drafts: 'false'
194 exclude-trivial-rebase: 'false'
195 exclude-no-code-change: 'false'
196 - draft-published-event
197 - comment-added-contains-event:
198 comment-contains-value: 'recheck'
199 - comment-added-contains-event:
200 comment-contains-value: 'reverify'
201 custom-url: '* $JOB_NAME $BIFROST_LOG_URL/index.html'
203 - project-compare-type: 'ANT'
204 project-pattern: 'releng'
206 - branch-compare-type: 'ANT'
207 branch-pattern: '**/{branch}'
210 pattern: 'prototypes/bifrost/**'
211 readable-message: true
213 #---------------------------
215 #---------------------------
217 name: bifrost-fix-perms-workspace
222 sudo chown -R $USER $WORKSPACE || exit 1
224 #---------------------------
226 #---------------------------
228 name: bifrost-set-name
230 - description-setter:
231 description: "Built on $NODE_NAME"
237 !include-raw: ./bifrost-verify.sh