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