Kailash Khalasi | c585d06 | 2018-04-06 16:22:40 -0700 | [diff] [blame] | 1 | --- |
Kailash Khalasi | 3074e60 | 2018-04-12 12:09:20 -0700 | [diff] [blame] | 2 | # POD Nightly Build Pipeline Jobs |
Kailash Khalasi | c585d06 | 2018-04-06 16:22:40 -0700 | [diff] [blame] | 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 | |
Kailash Khalasi | 4e08a2e | 2018-04-13 08:42:36 -0700 | [diff] [blame] | 23 | - job-pod-plate: &job-pod-plate |
| 24 | name: job-pod-plate |
| 25 | pod: |
Kailash Khalasi | 7470c45 | 2018-04-13 10:36:49 -0700 | [diff] [blame] | 26 | - 'qct-pod1' |
| 27 | - 'qct-pod3' |
Kailash Khalasi | c585d06 | 2018-04-06 16:22:40 -0700 | [diff] [blame] | 28 | |
| 29 | - job-version-plate: &job-version-plate |
| 30 | name: job-version-plate |
| 31 | version: |
| 32 | - 'master' |
Kailash Khalasi | 4e08a2e | 2018-04-13 08:42:36 -0700 | [diff] [blame] | 33 | - 'cord-5.0' |
| 34 | - 'cord-4.1' |
| 35 | - 'cord-4.0' |
Kailash Khalasi | c585d06 | 2018-04-06 16:22:40 -0700 | [diff] [blame] | 36 | |
Kailash Khalasi | c585d06 | 2018-04-06 16:22:40 -0700 | [diff] [blame] | 37 | - job-template: |
Kailash Khalasi | 4e08a2e | 2018-04-13 08:42:36 -0700 | [diff] [blame] | 38 | name: 'build-{pod}-{version}' |
Kailash Khalasi | c585d06 | 2018-04-06 16:22:40 -0700 | [diff] [blame] | 39 | description: | |
| 40 | <!-- Managed by Jenkins Job Builder --> |
Kailash Khalasi | 4e08a2e | 2018-04-13 08:42:36 -0700 | [diff] [blame] | 41 | It builds nighlty a full POD at {pod} <br /><br /> |
Kailash Khalasi | c585d06 | 2018-04-06 16:22:40 -0700 | [diff] [blame] | 42 | Created by Kailash Khalasi - kailash@opennetworking.org<br /> |
| 43 | Copyright (c) 2017 Open Networking Foundation (ONF) |
| 44 | |
| 45 | <<: *test-pipe-job-boiler-plate |
| 46 | |
Kailash Khalasi | 4e08a2e | 2018-04-13 08:42:36 -0700 | [diff] [blame] | 47 | <<: *job-pod-plate |
| 48 | |
Kailash Khalasi | c585d06 | 2018-04-06 16:22:40 -0700 | [diff] [blame] | 49 | parameters: |
Kailash Khalasi | c585d06 | 2018-04-06 16:22:40 -0700 | [diff] [blame] | 50 | - string: |
Kailash Khalasi | bb7ca64 | 2018-04-11 13:35:17 -0700 | [diff] [blame] | 51 | name: devNodeName |
Kailash Khalasi | 4e08a2e | 2018-04-13 08:42:36 -0700 | [diff] [blame] | 52 | default: '{pod}' |
Kailash Khalasi | bb7ca64 | 2018-04-11 13:35:17 -0700 | [diff] [blame] | 53 | description: 'Jenkins node name of Dev Node' |
| 54 | |
| 55 | - string: |
Kailash Khalasi | c585d06 | 2018-04-06 16:22:40 -0700 | [diff] [blame] | 56 | name: configRepoUrl |
| 57 | default: 'https://gerrit.opencord.org/pod-configs' |
| 58 | description: 'The URL of the POD configs repository' |
| 59 | |
| 60 | - string: |
| 61 | name: configRepoBaseDir |
| 62 | default: 'pod-configs/' |
| 63 | description: 'The directory inside the POD configs repository' |
| 64 | |
| 65 | - string: |
| 66 | name: configRepoFile |
Kailash Khalasi | 7470c45 | 2018-04-13 10:36:49 -0700 | [diff] [blame] | 67 | default: 'deployment-configs/{pod}.yml' |
Kailash Khalasi | c585d06 | 2018-04-06 16:22:40 -0700 | [diff] [blame] | 68 | description: 'The deployment config file' |
| 69 | |
| 70 | - string: |
Kailash Khalasi | fbb3ec4 | 2018-04-13 10:50:34 -0700 | [diff] [blame^] | 71 | name: GERRIT_BRANCH |
| 72 | default: '{version}' |
| 73 | |
| 74 | - string: |
Kailash Khalasi | c585d06 | 2018-04-06 16:22:40 -0700 | [diff] [blame] | 75 | name: RECEIPIENT |
| 76 | default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org' |
| 77 | description: '' |
| 78 | |
Kailash Khalasi | c585d06 | 2018-04-06 16:22:40 -0700 | [diff] [blame] | 79 | concurrent: true |
| 80 | |
Kailash Khalasi | c585d06 | 2018-04-06 16:22:40 -0700 | [diff] [blame] | 81 | |
| 82 | pipeline-scm: |
Kailash Khalasi | 3074e60 | 2018-04-12 12:09:20 -0700 | [diff] [blame] | 83 | script-path: 'Jenkinsfile' |
Kailash Khalasi | c585d06 | 2018-04-06 16:22:40 -0700 | [diff] [blame] | 84 | scm: |
| 85 | - git: |
| 86 | url: 'https://gerrit.opencord.org/cord' |
| 87 | branches: |
| 88 | - 'master' |
| 89 | |
Kailash Khalasi | c585d06 | 2018-04-06 16:22:40 -0700 | [diff] [blame] | 90 | |
| 91 | - project: |
| 92 | name: nightly-build-pipeline |
| 93 | |
Kailash Khalasi | 4e08a2e | 2018-04-13 08:42:36 -0700 | [diff] [blame] | 94 | <<: *job-pod-plate |
| 95 | <<: *job-version-plate |
| 96 | |
| 97 | project-name: '{name}' |
Kailash Khalasi | c585d06 | 2018-04-06 16:22:40 -0700 | [diff] [blame] | 98 | |
| 99 | build-timeout: '300' |
Kailash Khalasi | c585d06 | 2018-04-06 16:22:40 -0700 | [diff] [blame] | 100 | |
| 101 | jobs: |
Kailash Khalasi | 4e08a2e | 2018-04-13 08:42:36 -0700 | [diff] [blame] | 102 | - 'build-{pod}-{version}' |