parameters: | |
_param: | |
jenkins_contrail_pipeline: "${_param:jenkins_gerrit_url}/contrail/contrail-pipeline" | |
jenkins: | |
client: | |
job_template: | |
build-opencontrail: | |
name: build-opencontrail-{{buildname}}-{{os}}-{{dist}} | |
jobs: | |
- buildname: oc303 | |
os: ubuntu | |
dist: trusty | |
branch: R3.0.3.x | |
ppa: mirantis-opencontrail/opencontrail-3.0.3 | |
upload_source_package: false | |
dpdk: contrail_dpdk_2_1 | |
build_trigger: "" | |
- buildname: oc31 | |
os: ubuntu | |
dist: trusty | |
branch: R3.1 | |
ppa: mirantis-opencontrail/opencontrail-3.1 | |
upload_source_package: true | |
dpdk: contrail_dpdk_2_1 | |
build_trigger: "" | |
- buildname: oc31 | |
os: ubuntu | |
dist: xenial | |
branch: R3.1 | |
ppa: mirantis-opencontrail/opencontrail-3.1 | |
upload_source_package: true | |
dpdk: contrail_dpdk_2_1 | |
build_trigger: "" | |
- buildname: oc311 | |
os: ubuntu | |
dist: trusty | |
branch: R3.1.1.x | |
ppa: mirantis-opencontrail/opencontrail-3.1.1 | |
upload_source_package: true | |
dpdk: contrail_dpdk_2_1 | |
build_trigger: "" | |
- buildname: oc311 | |
os: ubuntu | |
dist: xenial | |
branch: R3.1.1.x | |
ppa: mirantis-opencontrail/opencontrail-3.1.1 | |
upload_source_package: true | |
dpdk: contrail_dpdk_2_1 | |
build_trigger: "" | |
- buildname: oc32 | |
os: ubuntu | |
dist: trusty | |
branch: R3.2 | |
ppa: mirantis-opencontrail/opencontrail-3.2 | |
upload_source_package: true | |
dpdk: contrail_dpdk_17_02 | |
build_trigger: "" | |
- buildname: oc32 | |
os: ubuntu | |
dist: xenial | |
branch: R3.2 | |
ppa: mirantis-opencontrail/opencontrail-3.2 | |
upload_source_package: true | |
dpdk: contrail_dpdk_17_02 | |
build_trigger: "" | |
- buildname: oc323 | |
os: ubuntu | |
dist: trusty | |
branch: R3.2.3.x | |
ppa: mirantis-opencontrail/opencontrail-3.2.3 | |
upload_source_package: true | |
dpdk: contrail_dpdk_2_1 | |
build_trigger: "" | |
- buildname: oc323 | |
os: ubuntu | |
dist: xenial | |
branch: R3.2.3.x | |
ppa: mirantis-opencontrail/opencontrail-3.2.3 | |
upload_source_package: true | |
dpdk: contrail_dpdk_2_1 | |
build_trigger: "" | |
- buildname: oc40 | |
os: ubuntu | |
dist: trusty | |
branch: R4.0 | |
ppa: mirantis-opencontrail/opencontrail-4.0 | |
upload_source_package: true | |
dpdk: contrail_dpdk_17_02 | |
build_trigger: "H H(20-23) */3 * *" | |
- buildname: oc40 | |
os: ubuntu | |
dist: xenial | |
branch: R4.0 | |
ppa: mirantis-opencontrail/opencontrail-4.0 | |
upload_source_package: true | |
dpdk: contrail_dpdk_17_02 | |
build_trigger: "H H(20-23) */3 * *" | |
- buildname: oc41 | |
os: ubuntu | |
dist: trusty | |
branch: R4.1 | |
ppa: mirantis-opencontrail/opencontrail-4.1 | |
upload_source_package: true | |
dpdk: contrail_dpdk_17_02 | |
build_trigger: "H H(20-23) */7 * *" | |
- buildname: oc41 | |
os: ubuntu | |
dist: xenial | |
branch: R4.1 | |
ppa: mirantis-opencontrail/opencontrail-4.1 | |
upload_source_package: true | |
dpdk: contrail_dpdk_17_02 | |
build_trigger: "H H(20-23) */7 * *" | |
- buildname: oc666 | |
os: ubuntu | |
dist: trusty | |
branch: master | |
ppa: mirantis-opencontrail/opencontrail-master | |
upload_source_package: true | |
dpdk: contrail_dpdk_17_02 | |
build_trigger: "H H(20-23) */7 * *" | |
- buildname: oc666 | |
os: ubuntu | |
dist: xenial | |
branch: master | |
ppa: mirantis-opencontrail/opencontrail-master | |
upload_source_package: true | |
dpdk: contrail_dpdk_17_02 | |
build_trigger: "H H(20-23) */7 * *" | |
template: | |
discard: | |
build: | |
keep_num: 5 | |
artifact: | |
keep_num: 5 | |
type: workflow-scm | |
concurrent: true | |
quiet_period: 120 | |
scm: | |
type: git | |
url: "${_param:jenkins_contrail_pipeline}" | |
credentials: "gerrit" | |
github: | |
url: https://github.com/Mirantis/ccp-contrail-pipeline | |
param: | |
APTLY_URL: | |
type: string | |
default: "${_param:jenkins_aptly_api_url}" | |
APTLY_REPO: | |
type: string | |
default: "{{os}}-{{dist}}-{{buildname}}" | |
SOURCE_URL: | |
type: string | |
default: "${_param:jenkins_gerrit_url}/contrail" | |
SOURCE_BRANCH: | |
type: string | |
default: "{{branch}}" | |
SOURCE_CREDENTIALS: | |
type: string | |
default: "gerrit" | |
KEEP_REPOS: | |
type: boolean | |
default: 'false' | |
description: "Don't cleanup on failure" | |
DPDK_BRANCH: | |
type: string | |
default: "{{dpdk}}" | |
OS: | |
type: string | |
default: "{{os}}" | |
DIST: | |
type: string | |
default: "{{dist}}" | |
ARCH: | |
type: string | |
default: "amd64" | |
PPA: | |
type: string | |
default: "{{ppa}}" | |
UPLOAD_SOURCE_PACKAGE: | |
type: boolean | |
default: '{{upload_source_package}}' | |
trigger: | |
pollscm: | |
spec: "{{build_trigger}}" | |
gerrit: | |
project: | |
contrail/contrail-pipeline: | |
branches: | |
- "{{branch}}" | |
contrail/contrail-build: | |
branches: | |
- "{{branch}}" | |
contrail/contrail-controller: | |
branches: | |
- "{{branch}}" | |
contrail/contrail-vrouter: | |
branches: | |
- "{{branch}}" | |
contrail/contrail-third-party: | |
branches: | |
- "{{branch}}" | |
contrail/contrail-generateDS: | |
branches: | |
- "{{branch}}" | |
contrail/contrail-sandesh: | |
branches: | |
- "{{branch}}" | |
contrail/contrail-packages: | |
branches: | |
- "{{branch}}" | |
contrail/contrail-nova-vif-driver: | |
branches: | |
- "{{branch}}" | |
contrail/contrail-neutron-plugin: | |
branches: | |
- "{{branch}}" | |
contrail/contrail-nova-extensions: | |
branches: | |
- "{{branch}}" | |
contrail/contrail-heat: | |
branches: | |
- "{{branch}}" | |
contrail/contrail-web-storage: | |
branches: | |
- "{{branch}}" | |
contrail/contrail-web-server-manager: | |
branches: | |
- "{{branch}}" | |
contrail/contrail-web-controller: | |
branches: | |
- "{{branch}}" | |
contrail/contrail-web-core: | |
branches: | |
- "{{branch}}" | |
contrail/contrail-webui-third-party: | |
branches: | |
- "{{branch}}" | |
event: | |
comment: | |
- addedContains: | |
commentAddedCommentContains: '(buildpackage)' |