blob: 513df82f165ad9ca35d2900c0f44add494fc29eb [file] [log] [blame]
Filip Pytloun7af94b32017-03-14 18:38:52 +01001parameters:
2 jenkins:
3 client:
Jakub Josef9ab31442017-04-05 14:02:59 +02004 view:
5 Gating:
6 enabled: true
7 type: ListView
8 include_regex: "gate-.*"
Filip Pytloun7af94b32017-03-14 18:38:52 +01009 job_template:
10 gate-gerrit-namespace:
11 name: gate-gerrit-{{name}}
12 jobs:
13 - name: mk
Mikhail Ivanovb2707e12017-04-10 17:19:30 +040014 regex: 'mk\/.*'
Filip Pytloun7af94b32017-03-14 18:38:52 +010015 - name: debian
Mikhail Ivanovb2707e12017-04-10 17:19:30 +040016 regex: 'debian\/.*'
Filip Pytloun7af94b32017-03-14 18:38:52 +010017 - name: contrail
Mikhail Ivanovb2707e12017-04-10 17:19:30 +040018 regex: 'contrail\/.*'
Filip Pytloun7af94b32017-03-14 18:38:52 +010019 - name: salt-models
Mikhail Ivanovb2707e12017-04-10 17:19:30 +040020 regex: 'salt-models\/.*'
Filip Pytloun7af94b32017-03-14 18:38:52 +010021 - name: salt-formulas
Mikhail Ivanovb2707e12017-04-10 17:19:30 +040022 regex: 'salt-formulas\/.*'
23 - name: oss
24 regex: 'oss\/devops-portal'
Filip Pytloun7af94b32017-03-14 18:38:52 +010025 template:
26 discard:
27 build:
Jakub Josef0d2c9c02018-02-08 16:51:45 +010028 keep_num: 150
Filip Pytloun7af94b32017-03-14 18:38:52 +010029 artifact:
Jakub Josef0d2c9c02018-02-08 16:51:45 +010030 keep_num: 150
Filip Pytloun7af94b32017-03-14 18:38:52 +010031 type: workflow-scm
32 concurrent: true
33 scm:
34 type: git
35 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010036 branch: "${_param:jenkins_pipelines_branch}"
Filip Pytloun7af94b32017-03-14 18:38:52 +010037 credentials: "gerrit"
38 script: gating-pipeline.groovy
Jakub Josef62cf8612017-04-04 17:32:19 +020039 quiet_period: 60
Filip Pytloun7af94b32017-03-14 18:38:52 +010040 trigger:
41 gerrit:
42 project:
Mikhail Ivanovb2707e12017-04-10 17:19:30 +040043 '{{regex}}':
Jakub Josef1ce4b3a2017-03-15 12:17:59 +010044 compare_type: REG_EXP
45 branches:
Filip Pytloun7af94b32017-03-14 18:38:52 +010046 - master
Alexander Evseev74903d22018-08-28 12:45:59 +020047 - compare_type: ANT
48 name: release/*
Filip Pytloun7af94b32017-03-14 18:38:52 +010049 skip_vote:
50 - successful
51 - failed
52 - unstable
53 - not_built
54 event:
55 comment:
56 - added:
57 verdictCategory: 'Workflow'
58 commentAddedTriggerApprovalValue: '+1'
59 param:
60 JOBS_NAMESPACE:
61 type: string
62 default: "{{name}}"
Jakub Josef20e5cca2017-03-21 16:04:55 +010063 SKIP_TEST:
64 type: string
65 default: false
Filip Pytloun7af94b32017-03-14 18:38:52 +010066 CREDENTIALS_ID:
67 type: string
Mikhail Ivanovb2707e12017-04-10 17:19:30 +040068 default: "gerrit"