Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 1 | --- |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 2 | # omec-ci jobs |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 3 | # Uses github pull request builder to trigger and Jenkinsfiles from this repo |
| 4 | # https://github.com/omec-project/omec-project-ci |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 5 | |
Zack Williams | c1d6a5e | 2019-05-06 16:35:58 -0700 | [diff] [blame] | 6 | # license check |
| 7 | - project: |
| 8 | name: omec-license-check |
| 9 | |
Zack Williams | 3bf60d5 | 2019-06-07 12:56:10 -0700 | [diff] [blame] | 10 | blackduck-project: omec |
Zack Williams | c1d6a5e | 2019-05-06 16:35:58 -0700 | [diff] [blame] | 11 | |
| 12 | jobs: |
Zack Williams | 3bf60d5 | 2019-06-07 12:56:10 -0700 | [diff] [blame] | 13 | - 'synopsys-periodic-check': |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 14 | github-organization: 'omec-project' |
Zack Williams | 3bf60d5 | 2019-06-07 12:56:10 -0700 | [diff] [blame] | 15 | build-node: "ubuntu16.04-basebuild-2c-4g" |
Zack Williams | b92f5d8 | 2019-05-06 22:16:40 -0700 | [diff] [blame] | 16 | git-server-url: "https://github.com/omec-project" |
Zack Williams | c1d6a5e | 2019-05-06 16:35:58 -0700 | [diff] [blame] | 17 | |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 18 | # generic OMEC test-case jobs, shared by other projects and triggered within pipelines |
| 19 | - project: |
| 20 | name: omec |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 21 | build-node: 'intel-102' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 22 | |
| 23 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 24 | github_pr_org_list: |
| 25 | - 'omec-project' |
| 26 | |
| 27 | jobs: |
| 28 | - 'omec-tc1' |
| 29 | - 'omec-tc2' |
| 30 | |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 31 | # for ngic-rtc |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 32 | - project: |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 33 | name: ngic-rtc |
| 34 | project: '{name}' |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 35 | |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 36 | build-node: 'intel-102' |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 37 | |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 38 | github-organization: 'omec-project' |
| 39 | |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 40 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 41 | github_pr_org_list: |
| 42 | - 'omec-project' |
| 43 | |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 44 | jobs: |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 45 | - 'omec-combined': |
| 46 | pipeline-file: 'Jenkinsfile-omec-combined.groovy' |
| 47 | - 'omec-install': |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 48 | sub-project: '{name}' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 49 | pipeline-file: 'Jenkinsfile-omec-install-ngic-rtc-vnf.groovy' |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 50 | - 'docker-publish-github': |
| 51 | build-timeout: 30 |
| 52 | docker-repo: 'omecproject' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 53 | |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 54 | # for c3po |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 55 | - project: |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 56 | name: c3po |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 57 | project: '{name}' |
| 58 | |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 59 | build-node: 'intel-102' |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 60 | |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 61 | github-organization: 'omec-project' |
| 62 | |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 63 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 64 | github_pr_org_list: |
| 65 | - 'omec-project' |
| 66 | |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 67 | jobs: |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 68 | - 'omec-combined': |
| 69 | pipeline-file: 'Jenkinsfile-omec-combined.groovy' |
| 70 | - 'omec-install': |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 71 | sub-project: 'c3po-sgx' |
Zack Williams | 6202145 | 2019-04-15 13:23:46 -0700 | [diff] [blame] | 72 | pipeline-file: 'Jenkinsfile-omec-install-c3po-sgx-vnf.groovy' |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 73 | - 'omec-install': |
| 74 | sub-project: 'c3po-hss' |
| 75 | pipeline-file: 'Jenkinsfile-omec-install-c3po-hss-vnf.groovy' |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 76 | - 'docker-publish-github': |
| 77 | build-timeout: 30 |
| 78 | docker-repo: 'omecproject' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 79 | |
| 80 | # for openmme |
| 81 | - project: |
| 82 | name: openmme |
| 83 | project: '{name}' |
| 84 | |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 85 | build-nod: 'intel-102' |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 86 | |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 87 | github-organization: 'omec-project' |
| 88 | |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 89 | github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003' |
| 90 | github_pr_org_list: |
| 91 | - 'omec-project' |
| 92 | |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 93 | jobs: |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 94 | - 'omec-combined': |
| 95 | pipeline-file: 'Jenkinsfile-omec-combined.groovy' |
| 96 | - 'omec-install': |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 97 | sub-project: '{name}' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 98 | pipeline-file: 'Jenkinsfile-omec-install-openmme-vnf.groovy' |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 99 | - 'docker-publish-github': |
| 100 | build-timeout: 30 |
| 101 | docker-repo: 'omecproject' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 102 | |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 103 | # Combined pipeline |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 104 | - job-template: |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 105 | id: 'omec-combined' |
| 106 | name: 'omec_{project}_combined' |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 107 | project-type: pipeline |
| 108 | |
| 109 | description: | |
| 110 | <!-- Managed by Jenkins Job Builder --> |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 111 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 112 | |
| 113 | properties: |
| 114 | - cord-infra-properties: |
| 115 | build-days-to-keep: '{build-days-to-keep}' |
| 116 | artifact-num-to-keep: '{artifact-num-to-keep}' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 117 | - github: |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 118 | url: 'https://github.com/{github-organization}/{project}' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 119 | - build-blocker: |
| 120 | use-build-blocker: true |
| 121 | blocking-jobs: |
Zack Williams | 6af01fe | 2019-03-15 11:08:53 -0700 | [diff] [blame] | 122 | - "omec_.*_combined" |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 123 | |
| 124 | wrappers: |
| 125 | - lf-infra-wrappers: |
| 126 | build-timeout: '{build-timeout}' |
| 127 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 128 | |
| 129 | parameters: |
| 130 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 131 | name: buildNode |
| 132 | default: '{build-node}' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 133 | description: 'Name of the Jenkins executor node to run the job on' |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 134 | |
| 135 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 136 | name: project |
| 137 | default: '{project}' |
| 138 | description: 'Name of the project' |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 139 | |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 140 | triggers: |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 141 | - cord-infra-github-pr-trigger: |
| 142 | github_pr_org_list: '{obj:github_pr_org_list}' |
| 143 | github_pr_auth_id: '{github_pr_auth_id}' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 144 | |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 145 | concurrent: false |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 146 | |
| 147 | pipeline-scm: |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 148 | script-path: '{pipeline-file}' |
| 149 | scm: |
| 150 | - git: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 151 | url: 'https://github.com/{github-organization}/omec-project-ci' |
| 152 | branches: |
| 153 | - 'master' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 154 | |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 155 | |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 156 | # install jobs, run for each project |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 157 | - job-template: |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 158 | id: 'omec-install' |
Zack Williams | e306e57 | 2019-04-18 07:12:46 -0700 | [diff] [blame] | 159 | name: 'omec_{sub-project}_install' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 160 | project-type: pipeline |
| 161 | |
| 162 | description: | |
| 163 | <!-- Managed by Jenkins Job Builder --> |
| 164 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 165 | |
| 166 | properties: |
| 167 | - cord-infra-properties: |
| 168 | build-days-to-keep: '{build-days-to-keep}' |
| 169 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 170 | - github: |
Zack Williams | 1e325b2 | 2019-07-24 17:52:57 -0700 | [diff] [blame] | 171 | url: 'https://github.com/{github-organization}/{project}' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 172 | |
| 173 | wrappers: |
| 174 | - lf-infra-wrappers: |
| 175 | build-timeout: '{build-timeout}' |
| 176 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 177 | |
| 178 | parameters: |
| 179 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 180 | name: buildNode |
| 181 | default: '{build-node}' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 182 | description: 'Name of the Jenkins executor node to run the job on' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 183 | |
| 184 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 185 | name: project |
| 186 | default: '{project}' |
| 187 | description: 'Name of the project' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 188 | |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 189 | concurrent: false |
| 190 | |
| 191 | pipeline-scm: |
| 192 | script-path: '{pipeline-file}' |
| 193 | scm: |
| 194 | - git: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 195 | url: 'https://github.com/{github-organization}/omec-project-ci' |
| 196 | branches: |
| 197 | - 'master' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 198 | |
| 199 | # tests |
| 200 | - job-template: |
| 201 | id: 'omec-tc1' |
| 202 | name: 'omec_tc1' |
| 203 | project-type: pipeline |
| 204 | |
| 205 | description: | |
| 206 | <!-- Managed by Jenkins Job Builder --> |
| 207 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 208 | |
| 209 | properties: |
| 210 | - cord-infra-properties: |
| 211 | build-days-to-keep: '{build-days-to-keep}' |
| 212 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 213 | |
| 214 | wrappers: |
| 215 | - lf-infra-wrappers: |
| 216 | build-timeout: '{build-timeout}' |
| 217 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 218 | |
| 219 | parameters: |
| 220 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 221 | name: buildNode |
| 222 | default: '{build-node}' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 223 | description: 'Name of the Jenkins executor node to run the job on' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 224 | |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 225 | concurrent: false |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 226 | |
| 227 | pipeline-scm: |
| 228 | script-path: 'Jenkinsfile-omec-test-TC1.groovy' |
| 229 | scm: |
| 230 | - git: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 231 | url: 'https://github.com/omec-project/omec-project-ci' |
| 232 | branches: |
| 233 | - 'master' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 234 | |
| 235 | - job-template: |
| 236 | id: 'omec-tc2' |
Zack Williams | 320b314 | 2019-03-14 23:10:01 -0700 | [diff] [blame] | 237 | name: 'omec_tc2' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 238 | project-type: pipeline |
| 239 | |
| 240 | description: | |
| 241 | <!-- Managed by Jenkins Job Builder --> |
| 242 | Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br /> |
| 243 | |
| 244 | properties: |
| 245 | - cord-infra-properties: |
| 246 | build-days-to-keep: '{build-days-to-keep}' |
| 247 | artifact-num-to-keep: '{artifact-num-to-keep}' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 248 | |
| 249 | wrappers: |
| 250 | - lf-infra-wrappers: |
| 251 | build-timeout: '{build-timeout}' |
| 252 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 253 | |
| 254 | parameters: |
| 255 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 256 | name: buildNode |
| 257 | default: '{build-node}' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 258 | description: 'Name of the Jenkins executor node to run the job on' |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 259 | |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 260 | concurrent: false |
Zack Williams | 73c3cf4 | 2019-02-25 23:43:22 -0700 | [diff] [blame] | 261 | |
| 262 | pipeline-scm: |
| 263 | script-path: 'Jenkinsfile-omec-test-TC2.groovy' |
Kailash | be4dc09 | 2019-01-23 09:22:17 -0800 | [diff] [blame] | 264 | scm: |
| 265 | - git: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 266 | url: 'https://github.com/omec-project/omec-project-ci' |
| 267 | branches: |
| 268 | - 'master' |
Zack Williams | 5d81f81 | 2019-02-27 14:37:09 -0700 | [diff] [blame] | 269 | |