Kailash Khalasi | c585d06 | 2018-04-06 16:22:40 -0700 | [diff] [blame] | 1 | --- |
| 2 | # CORD Test Pipeline jobs |
| 3 | |
| 4 | - test-pipe-job-boiler-plate: &test-pipe-job-boiler-plate |
| 5 | name: test-pipe-job-boiler-plate |
| 6 | |
| 7 | project-type: pipeline |
| 8 | |
| 9 | sandbox: true |
| 10 | |
| 11 | properties: |
| 12 | |
| 13 | - build-discarder: |
| 14 | num-to-keep: 20 |
| 15 | gitURL: https://gerrit.opencord.org/cord-tester |
| 16 | |
| 17 | - test-pipe-init-procedure-plate: &test-pipe-init-procedure-plate |
| 18 | name: test-pipe-init-procedure-plate |
| 19 | project: cord-tester |
| 20 | stream: 'master' |
| 21 | jenkins-path: 'Jenkinsfile' |
| 22 | |
| 23 | |
| 24 | - job-version-plate: &job-version-plate |
| 25 | name: job-version-plate |
| 26 | version: |
| 27 | - 'master' |
| 28 | |
| 29 | - job-type-plate: &job-type-plate |
| 30 | name: job-type-plate |
| 31 | type: |
| 32 | - 'verify-api-tests' |
| 33 | |
| 34 | - job-repo-plate: &job-repo-plate |
| 35 | name: job-repo-plate |
| 36 | repo: |
| 37 | - 'xos' |
| 38 | - 'cord' |
| 39 | - 'platform-install' |
| 40 | - 'rcord' |
| 41 | - 'vrouter' |
| 42 | - 'vsg' |
| 43 | - 'vtn' |
| 44 | - 'vtr' |
| 45 | - 'fabric' |
| 46 | - 'openstack' |
| 47 | - 'chameleon' |
| 48 | - 'exampleservice' |
| 49 | - 'onos-service' |
| 50 | - 'olt-service' |
| 51 | - 'cord-tester' |
| 52 | - 'vEE' |
| 53 | - 'vEG' |
| 54 | - 'mcord' |
| 55 | - 'vspgwu' |
| 56 | - 'venb' |
| 57 | - 'vspgwc' |
| 58 | - 'vEPC' |
| 59 | - 'vMME' |
| 60 | - 'vHSS' |
| 61 | |
| 62 | - job-template: |
| 63 | |
Kailash Khalasi | 41273bb | 2018-04-09 12:58:16 -0700 | [diff] [blame] | 64 | name: 'verify-{repo}-{type}-pipeline-{version}' |
Kailash Khalasi | c585d06 | 2018-04-06 16:22:40 -0700 | [diff] [blame] | 65 | description: | |
| 66 | <!-- Managed by Jenkins Job Builder --> |
| 67 | This pipeline contains the test results and logs of {type} on CORD {version}. <br /><br /> |
| 68 | Created by Kailash Khalasi - kailash@opennetworking.org<br /> |
| 69 | Copyright (c) 2017 Open Networking Foundation (ONF) |
| 70 | |
| 71 | <<: *test-pipe-job-boiler-plate |
| 72 | |
| 73 | parameters: |
| 74 | |
| 75 | - string: |
| 76 | name: GERRIT_CHANGE_NUMBER |
| 77 | default: '2831' |
| 78 | description: 'This parameter is required to manually build this pipeline job' |
| 79 | |
| 80 | - string: |
| 81 | name: GERRIT_PATCHSET_NUMBER |
| 82 | default: '1' |
| 83 | description: 'This parameter is required to manually build this pipeline job' |
| 84 | |
| 85 | |
| 86 | - string: |
| 87 | name: RECEIPIENT |
| 88 | default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org' |
| 89 | description: '' |
| 90 | |
| 91 | - lf-infra-parameters: |
| 92 | project: 'CordTest' |
| 93 | branch: 'master' |
| 94 | stream: 'master' |
| 95 | lftools-version: '<1.0.0' |
| 96 | |
| 97 | concurrent: true |
| 98 | |
| 99 | triggers: |
| 100 | - gerrit: |
Zack Williams | e64341b | 2018-04-10 22:14:35 -0700 | [diff] [blame] | 101 | server-name: '{gerrit-server-name}' |
Kailash Khalasi | c585d06 | 2018-04-06 16:22:40 -0700 | [diff] [blame] | 102 | trigger-on: |
| 103 | - patchset-created-event: |
| 104 | exclude-drafts: false |
| 105 | exclude-trivial-rebase: false |
| 106 | exclude-no-code-change: false |
| 107 | - draft-published-event |
| 108 | projects: |
| 109 | - project-compare-type: PLAIN |
Kailash Khalasi | 41273bb | 2018-04-09 12:58:16 -0700 | [diff] [blame] | 110 | project-pattern: '{repo}' |
Kailash Khalasi | c585d06 | 2018-04-06 16:22:40 -0700 | [diff] [blame] | 111 | branches: |
| 112 | - branch-compare-type: ANT |
| 113 | branch-pattern: 'master' |
| 114 | |
| 115 | pipeline-scm: |
| 116 | script-path: '{jenkins-path}/{type}-JenkinsFile' |
| 117 | scm: |
| 118 | - git: |
| 119 | url: '{gitURL}' |
| 120 | branches: |
| 121 | - 'master' |
| 122 | |
| 123 | - job-template: |
| 124 | name: 'automated-nightly-build-qct4-cord-master' |
| 125 | description: | |
| 126 | <!-- Managed by Jenkins Job Builder --> |
| 127 | It builds nighlty a full POD using R-CORD at QCT - POD 4 <br /><br /> |
| 128 | Created by Kailash Khalasi - kailash@opennetworking.org<br /> |
| 129 | Copyright (c) 2017 Open Networking Foundation (ONF) |
| 130 | |
| 131 | <<: *test-pipe-job-boiler-plate |
| 132 | |
| 133 | parameters: |
| 134 | |
| 135 | - string: |
Kailash Khalasi | bb7ca64 | 2018-04-11 13:35:17 -0700 | [diff] [blame] | 136 | name: devNodeName |
| 137 | default: 'qct-cord-pod4' |
| 138 | description: 'Jenkins node name of Dev Node' |
| 139 | |
| 140 | - string: |
Kailash Khalasi | c585d06 | 2018-04-06 16:22:40 -0700 | [diff] [blame] | 141 | name: configRepoUrl |
| 142 | default: 'https://gerrit.opencord.org/pod-configs' |
| 143 | description: 'The URL of the POD configs repository' |
| 144 | |
| 145 | - string: |
| 146 | name: configRepoBaseDir |
| 147 | default: 'pod-configs/' |
| 148 | description: 'The directory inside the POD configs repository' |
| 149 | |
| 150 | - string: |
| 151 | name: configRepoFile |
| 152 | default: 'deployment-configs/qct-pod4.yml' |
| 153 | description: 'The deployment config file' |
| 154 | |
| 155 | - string: |
| 156 | name: RECEIPIENT |
| 157 | default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org' |
| 158 | description: '' |
| 159 | |
| 160 | - lf-infra-parameters: |
| 161 | project: 'CordTest' |
| 162 | branch: 'master' |
| 163 | stream: 'master' |
| 164 | lftools-version: '<1.0.0' |
| 165 | |
| 166 | concurrent: true |
| 167 | |
| 168 | triggers: |
| 169 | - timed: | |
| 170 | TZ=America/Los_Angeles |
| 171 | H 21 * * * |
| 172 | |
| 173 | pipeline-scm: |
Kailash Khalasi | bb7ca64 | 2018-04-11 13:35:17 -0700 | [diff] [blame] | 174 | script-path: 'build/Jenkinsfile' |
Kailash Khalasi | c585d06 | 2018-04-06 16:22:40 -0700 | [diff] [blame] | 175 | scm: |
| 176 | - git: |
| 177 | url: 'https://gerrit.opencord.org/cord' |
| 178 | branches: |
| 179 | - 'master' |
| 180 | |
| 181 | - project: |
| 182 | name: build-pipeline |
| 183 | |
| 184 | <<: *job-type-plate |
| 185 | |
| 186 | project-name: '{type}-pipeline' |
| 187 | |
| 188 | build-timeout: '60' |
| 189 | build-node: 'ubuntu16.04-basebuild-1c-2g' |
| 190 | |
| 191 | <<: *test-pipe-init-procedure-plate |
| 192 | <<: *job-version-plate |
Kailash Khalasi | 41273bb | 2018-04-09 12:58:16 -0700 | [diff] [blame] | 193 | <<: *job-repo-plate |
Kailash Khalasi | c585d06 | 2018-04-06 16:22:40 -0700 | [diff] [blame] | 194 | |
| 195 | jobs: |
Kailash Khalasi | 41273bb | 2018-04-09 12:58:16 -0700 | [diff] [blame] | 196 | - 'verify-{repo}-{type}-pipeline-{version}' |
Kailash Khalasi | c585d06 | 2018-04-06 16:22:40 -0700 | [diff] [blame] | 197 | |
| 198 | - project: |
| 199 | name: nightly-build-pipeline |
| 200 | |
| 201 | project-name: 'automated-build-pipeline' |
| 202 | |
| 203 | build-timeout: '300' |
| 204 | build-node: 'qct-cord-pod-04' |
| 205 | |
| 206 | jobs: |
| 207 | - 'automated-nightly-build-qct4-cord-master' |