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