blob: 8afe47cd133f495a0a327aed29a3c388e4a3ee9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
|
- project:
name: 'openstack-bifrost-verify'
project: 'releng'
#--------------------------------
# branches
#--------------------------------
stream:
- master:
branch: '{stream}'
#--------------------------------
# distros
# jobs for centos7 and suse can be enabled once the support is there
#--------------------------------
distro:
- 'trusty':
slave-label: infra-virtual-trusty
disabled: false
- 'centos7':
slave-label: infra-virtual-trusty
disabled: true
- 'suse':
slave-label: infra-virtual-trusty
disabled: true
#--------------------------------
# jobs
#--------------------------------
jobs:
- 'openstack-bifrost-verify-{distro}-{stream}'
#--------------------------------
# job templates
#--------------------------------
- job-template:
name: 'openstack-bifrost-verify-{distro}-{stream}'
concurrent: false
disabled: '{obj:disabled}'
properties:
- build-blocker:
use-build-blocker: true
blocking-jobs:
- 'infra-os-.*?-daily-.*'
block-level: 'NODE'
parameters:
- project-parameter:
project: '{project}'
- string:
name: DISTRO
default: '{distro}'
- string:
name: CLEAN_DIB_IMAGES
default: 'true'
- '{slave-label}-defaults'
scm:
- git-scm:
credentials-id: '{ssh-credentials}'
refspec: ''
branch: '{branch}'
triggers:
- gerrit:
server-name: 'review.openstack.org'
silent-start: true
skip-vote:
successful: true
failed: true
unstable: true
notbuilt: true
escape-quotes: true
trigger-on:
- patchset-created-event:
exclude-drafts: 'false'
exclude-trivial-rebase: 'false'
exclude-no-code-change: 'false'
- comment-added-contains-event:
comment-contains-value: 'recheck'
projects:
- project-compare-type: 'PLAIN'
project-pattern: 'openstack/bifrost'
branches:
- branch-compare-type: 'ANT'
branch-pattern: '**/master'
forbidden-file-paths:
- compare-type: ANT
pattern: 'doc/**'
- compare-type: ANT
pattern: 'releasenotes/**'
readable-message: true
builders:
- description-setter:
description: "Built on $NODE_NAME"
- 'openstack-bifrost-verify-builder'
publishers:
- email:
recipients: fatih.degirmenci@ericsson.com yroblamo@redhat.com mchandras@suse.de jack.morgan@intel.com zhang.jun3g@zte.com.cn
#####################################
# builder macros
#####################################
- builder:
name: 'openstack-bifrost-verify-builder'
builders:
- shell: |
#!/bin/bash
sudo -E $WORKSPACE/jjb/infra/openstack-bifrost-verify.sh
|