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