Kailash Khalasi | 94d4b48 | 2018-06-28 15:37:11 -0700 | [diff] [blame] | 1 | --- |
| 2 | # kubespray installation validation job |
| 3 | |
| 4 | - project: |
| 5 | name: kubespray-install-test |
| 6 | |
| 7 | project-name: '{name}' |
| 8 | |
| 9 | jobs: |
| 10 | - 'k8-install' |
| 11 | |
| 12 | - job-template: |
| 13 | id: 'k8-install' |
Kailash Khalasi | 93af93a | 2018-08-07 16:51:37 -0700 | [diff] [blame] | 14 | name: 'kubespray-multinode-install' |
Kailash Khalasi | 94d4b48 | 2018-06-28 15:37:11 -0700 | [diff] [blame] | 15 | |
| 16 | description: | |
| 17 | <!-- Managed by Jenkins Job Builder --> |
| 18 | Created by {id} job-template from ci-management/jjb/k8install.yaml <br /><br /> |
| 19 | Validation job for kubespray installation script provided to users/operators |
| 20 | |
| 21 | properties: |
| 22 | - cord-infra-properties: |
| 23 | build-days-to-keep: '{build-days-to-keep}' |
| 24 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 25 | |
| 26 | wrappers: |
| 27 | - lf-infra-wrappers: |
| 28 | build-timeout: '{build-timeout}' |
| 29 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 30 | |
| 31 | parameters: |
| 32 | - string: |
| 33 | name: executorNode |
| 34 | default: 'qa-testvm-pod' |
| 35 | description: 'Name of the Jenkins node to run the job on' |
| 36 | |
| 37 | - string: |
| 38 | name: branch |
| 39 | default: 'master' |
| 40 | description: 'Name of the repo branch to use' |
| 41 | |
| 42 | - string: |
| 43 | name: configRepoUrl |
| 44 | default: 'https://gerrit.opencord.org/pod-configs' |
| 45 | description: 'The URL of the POD configs repository' |
| 46 | |
| 47 | - string: |
| 48 | name: configRepoBaseDir |
| 49 | default: 'pod-configs/' |
| 50 | description: 'The directory inside the POD configs repository' |
| 51 | |
| 52 | - string: |
| 53 | name: configRepoFile |
| 54 | default: 'kubernetes-configs/flex-onf-pod1.yml' |
| 55 | description: 'The deployment config file' |
| 56 | |
Kailash Khalasi | a718743 | 2018-07-16 10:34:06 -0700 | [diff] [blame] | 57 | - string: |
| 58 | name: podName |
| 59 | default: 'flex-onf-pod1' |
| 60 | description: 'Name of pod' |
| 61 | |
Kailash Khalasi | 94d4b48 | 2018-06-28 15:37:11 -0700 | [diff] [blame] | 62 | project-type: pipeline |
| 63 | concurrent: false |
| 64 | |
| 65 | dsl: !include-raw-escape: pipeline/kubespray-install.groovy |
Kailash Khalasi | 93af93a | 2018-08-07 16:51:37 -0700 | [diff] [blame] | 66 | |
| 67 | triggers: |
| 68 | - timed: | |
| 69 | TZ=America/Los_Angeles |
| 70 | H 10 31/3 * * |