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