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