Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 1 | parameters: |
chnyda | 800d26b | 2017-08-21 16:28:17 +0200 | [diff] [blame] | 2 | _param: |
| 3 | jenkins_contrail_dpdk_kernel_modules_dkms: "${_param:jenkins_gerrit_url}/contrail/contrail-dpdk-kernel-modules-dkms" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 4 | jenkins: |
| 5 | client: |
| 6 | job_template: |
| 7 | build-opencontrail-dpdk-extra: |
| 8 | name: build-opencontrail-dpdk-extra-{{branch_name}}-{{os}}-{{dist}} |
| 9 | jobs: |
| 10 | - os: ubuntu |
| 11 | dist: trusty |
| 12 | branch_name: kilo |
| 13 | branch_real_name: kilo |
chnyda | 063bf3d | 2017-07-20 10:57:56 +0200 | [diff] [blame] | 14 | aptly_repo: ubuntu-trusty-kilo |
| 15 | binary: "all" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 16 | - os: ubuntu |
| 17 | dist: trusty |
| 18 | branch_name: liberty |
| 19 | branch_real_name: liberty-multiqueue |
chnyda | 063bf3d | 2017-07-20 10:57:56 +0200 | [diff] [blame] | 20 | aptly_repo: ubuntu-trusty-liberty |
| 21 | binary: "all" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 22 | - os: ubuntu |
| 23 | dist: trusty |
| 24 | branch_name: mitaka |
| 25 | branch_real_name: mitaka |
chnyda | 063bf3d | 2017-07-20 10:57:56 +0200 | [diff] [blame] | 26 | aptly_repo: ubuntu-trusty-mitaka |
| 27 | binary: "all" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 28 | - os: ubuntu |
| 29 | dist: xenial |
| 30 | branch_name: mitaka |
| 31 | branch_real_name: mitaka |
chnyda | 063bf3d | 2017-07-20 10:57:56 +0200 | [diff] [blame] | 32 | aptly_repo: ubuntu-xenial-mitaka |
| 33 | binary: "all" |
chnyda | 1ccf3a4 | 2017-05-22 17:41:50 +0200 | [diff] [blame] | 34 | - os: ubuntu |
| 35 | dist: xenial |
| 36 | branch_name: newton |
| 37 | branch_real_name: newton |
chnyda | 063bf3d | 2017-07-20 10:57:56 +0200 | [diff] [blame] | 38 | aptly_repo: ubuntu-xenial-newton |
| 39 | binary: "all" |
| 40 | - os: ubuntu |
| 41 | dist: xenial |
| 42 | branch_name: dpdk1702 |
| 43 | branch_real_name: mitaka_dpdk_17_02 |
| 44 | aptly_repo: ubuntu-xenial-oc40-dpdk1702 |
| 45 | binary: "contrail-dpdk-kernel-modules-dkms" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 46 | template: |
| 47 | discard: |
| 48 | build: |
| 49 | keep_num: 5 |
| 50 | artifact: |
| 51 | keep_num: 5 |
| 52 | type: workflow-scm |
| 53 | concurrent: false |
| 54 | scm: |
| 55 | type: git |
| 56 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 57 | credentials: "gerrit" |
| 58 | script: build-extra-dpdk-pipeline.groovy |
| 59 | quiet_period: 120 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 60 | param: |
| 61 | SOURCE_URL: |
| 62 | type: string |
| 63 | default: "${_param:jenkins_gerrit_url}/contrail/contrail-dpdk-extra-packages.git" |
| 64 | SOURCE_BRANCH: |
| 65 | type: string |
| 66 | default: "{{branch_real_name}}" |
| 67 | SOURCE_CREDENTIALS: |
| 68 | type: string |
| 69 | default: "gerrit" |
| 70 | APTLY_URL: |
| 71 | type: string |
| 72 | default: "${_param:jenkins_aptly_api_url}" |
| 73 | APTLY_REPO: |
| 74 | type: string |
| 75 | default: "{{os}}-{{dist}}-{{branch_name}}" |
| 76 | OS: |
| 77 | type: string |
| 78 | default: "{{os}}" |
| 79 | DIST: |
| 80 | type: string |
| 81 | default: "{{dist}}" |
| 82 | ARCH: |
| 83 | type: string |
| 84 | default: "amd64" |
chnyda | 135f387 | 2017-04-07 11:32:48 +0200 | [diff] [blame] | 85 | BINARY_PACKAGES: |
| 86 | description: "binary packages to create" |
| 87 | type: string |
chnyda | 063bf3d | 2017-07-20 10:57:56 +0200 | [diff] [blame] | 88 | default: "{{binary}}" |
chnyda | 800d26b | 2017-08-21 16:28:17 +0200 | [diff] [blame] | 89 | build-opencontrail-dpdk-kernel-modules-dkms: |
| 90 | name: build-opencontrail-dpdk-kernel-modules-dkms-{{os}}-{{dist}}-{{dpdk}} |
| 91 | jobs: |
| 92 | - os: ubuntu |
| 93 | dist: xenial |
| 94 | branch: contrail_dpdk_2_1 |
| 95 | dpdk: "21" |
| 96 | aptly_repo: ubuntu-xenial-mitaka |
| 97 | - os: ubuntu |
| 98 | dist: xenial |
| 99 | dpdk: "1702" |
| 100 | branch: contrail_dpdk_17_02 |
| 101 | aptly_repo: ubuntu-xenial-oc40-dpdk1702 |
| 102 | template: |
| 103 | discard: |
| 104 | build: |
| 105 | keep_num: 5 |
| 106 | artifact: |
| 107 | keep_num: 5 |
| 108 | type: workflow-scm |
| 109 | concurrent: false |
| 110 | quiet_period: 120 |
| 111 | scm: |
| 112 | type: git |
| 113 | url: "${_param:jenkins_contrail_dpdk_kernel_modules_dkms}" |
| 114 | credentials: "gerrit" |
| 115 | branch: "{{branch}}" |
chnyda | c0b3cea | 2017-08-23 13:54:57 +0200 | [diff] [blame^] | 116 | trigger: |
| 117 | gerrit: |
| 118 | project: |
| 119 | contrail/contrail-dpdk: |
| 120 | branches: |
| 121 | - "{{branch}}" |
| 122 | message: |
| 123 | build_successful: "Build successful" |
| 124 | build_unstable: "Build unstable" |
| 125 | build_failure: "Build failed" |
| 126 | event: |
| 127 | ref: |
| 128 | - updated |
chnyda | 800d26b | 2017-08-21 16:28:17 +0200 | [diff] [blame] | 129 | param: |
| 130 | SOURCE_BRANCH: |
| 131 | type: string |
| 132 | default: "{{branch}}" |
| 133 | SOURCE_CREDENTIALS: |
| 134 | type: string |
| 135 | default: "gerrit" |
| 136 | APTLY_URL: |
| 137 | type: string |
| 138 | default: "${_param:jenkins_aptly_api_url}" |
| 139 | APTLY_REPO: |
| 140 | type: string |
| 141 | default: "{{aptly_repo}}" |
| 142 | OS: |
| 143 | type: string |
| 144 | default: "{{os}}" |
| 145 | DIST: |
| 146 | type: string |
| 147 | default: "{{dist}}" |
| 148 | ARCH: |
| 149 | type: string |
| 150 | default: "amd64" |