blob: 45b06b629e737488cc8de6996b0d07f354f3cb14 [file] [log] [blame]
Filip Pytloun7af94b32017-03-14 18:38:52 +01001parameters:
Filip Pytlouna83bbee2017-03-15 18:13:59 +01002 _param:
3 jenkins_pollscm_spec: "H/60 * * * *"
Filip Pytloun7af94b32017-03-14 18:38:52 +01004 jenkins:
5 client:
6 job_template:
7 git-mirror:
8 name: git-mirror-{{name}}
9 jobs:
10 - name: contrail-build
Jakub Josef19de5752017-04-12 23:50:01 +020011 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010012 - name: contrail-controller
Jakub Josef19de5752017-04-12 23:50:01 +020013 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010014 - name: contrail-vrouter
Jakub Josef19de5752017-04-12 23:50:01 +020015 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010016 - name: contrail-third-party
Jakub Josef19de5752017-04-12 23:50:01 +020017 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010018 - name: contrail-generateDS
Jakub Josef19de5752017-04-12 23:50:01 +020019 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010020 - name: contrail-sandesh
Jakub Josef19de5752017-04-12 23:50:01 +020021 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010022 - name: contrail-packages
Jakub Josef19de5752017-04-12 23:50:01 +020023 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010024 - name: contrail-nova-vif-driver
Jakub Josef19de5752017-04-12 23:50:01 +020025 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010026 - name: contrail-neutron-plugin
Jakub Josef19de5752017-04-12 23:50:01 +020027 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010028 - name: contrail-nova-extensions
Jakub Josef19de5752017-04-12 23:50:01 +020029 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010030 - name: contrail-ceilometer-plugin
Jakub Josef19de5752017-04-12 23:50:01 +020031 branches: ${_param:contrail_ceilometer_plugin_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010032 - name: contrail-heat
Jakub Josef19de5752017-04-12 23:50:01 +020033 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010034 - name: contrail-web-storage
Jakub Josef19de5752017-04-12 23:50:01 +020035 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010036 - name: contrail-web-server-manager
Jakub Josef19de5752017-04-12 23:50:01 +020037 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010038 - name: contrail-web-controller
Jakub Josef19de5752017-04-12 23:50:01 +020039 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010040 - name: contrail-web-core
Jakub Josef19de5752017-04-12 23:50:01 +020041 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010042 - name: contrail-webui-third-party
Jakub Josef19de5752017-04-12 23:50:01 +020043 branches: ${_param:contrail_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010044 - name: contrail-dpdk-extra-packages
Jakub Josef19de5752017-04-12 23:50:01 +020045 branches: ${_param:contrail_dpdk_extra_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010046 - name: contrail-kubernetes
Jakub Josef19de5752017-04-12 23:50:01 +020047 branches: ${_param:contrail_kubernetes_branches}
chnydacb9ca9a2017-04-26 15:55:19 +020048 - name: contrail-dpdk
49 branches: ${_param:contrail_dpdk_branches}
Filip Pytloun7af94b32017-03-14 18:38:52 +010050 template:
51 discard:
52 build:
53 keep_num: 10
54 artifact:
55 keep_num: 10
56 type: workflow-scm
57 concurrent: false
58 scm:
59 type: git
60 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
61 credentials: "gerrit"
62 script: git-mirror-pipeline.groovy
63 github:
64 url: "https://github.com/Juniper/{{name}}"
65 trigger:
66 github:
67 pollscm:
68 spec: ${_param:jenkins_pollscm_spec}
69 param:
70 SOURCE_URL:
71 type: string
72 default: "https://github.com/Juniper/{{name}}.git"
73 TARGET_URL:
74 type: string
75 default: "${_param:jenkins_gerrit_url}/contrail/{{name}}.git"
76 CREDENTIALS_ID:
77 type: string
78 default: "gerrit"
79 BRANCHES:
80 type: string
Jakub Josef19de5752017-04-12 23:50:01 +020081 default: "{{branches}}"
Filip Pytloun7af94b32017-03-14 18:38:52 +010082 job:
83 git-mirror-ifmap-python-client:
84 discard:
85 build:
86 keep_num: 10
87 artifact:
88 keep_num: 10
89 type: workflow-scm
90 concurrent: false
91 scm:
92 type: git
93 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
94 credentials: "gerrit"
95 script: git-mirror-pipeline.groovy
96 github:
97 url: "https://github.com/tcpcloud/ifmap-python-client"
98 trigger:
99 github:
100 pollscm:
101 spec: ${_param:jenkins_pollscm_spec}
102 param:
103 SOURCE_URL:
104 type: string
105 default: "https://github.com/tcpcloud/ifmap-python-client.git"
106 TARGET_URL:
107 type: string
108 default: "${_param:jenkins_gerrit_url}/contrail/ifmap-python-client.git"
109 CREDENTIALS_ID:
110 type: string
111 default: "gerrit"
112 BRANCHES:
113 type: string
114 default: "master"