blob: c6b634c42310f8a438c58cbb54a553e0da589928 [file] [log] [blame]
Kailash Khalasi94d4b482018-06-28 15:37:11 -07001---
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 Khalasi93af93a2018-08-07 16:51:37 -070014 name: 'kubespray-multinode-install'
Kailash Khalasi94d4b482018-06-28 15:37:11 -070015
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:
Zack Williamsb3292082019-10-11 17:15:18 -070033 name: buildNode
Kailash Khalasi94d4b482018-06-28 15:37:11 -070034 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:
hwchiu14f97852019-10-08 10:51:11 -070043 name: configRepoUrl
44 default: 'https://gerrit.opencord.org/pod-configs'
45 description: 'The URL of the POD configs repository'
Kailash Khalasi94d4b482018-06-28 15:37:11 -070046
47 - string:
hwchiu14f97852019-10-08 10:51:11 -070048 name: configRepoBaseDir
49 default: 'pod-configs/'
50 description: 'The directory inside the POD configs repository'
Kailash Khalasi94d4b482018-06-28 15:37:11 -070051
52 - string:
hwchiu14f97852019-10-08 10:51:11 -070053 name: configRepoFile
54 default: 'kubernetes-configs/flex-onf-pod1.yml'
55 description: 'The deployment config file'
Kailash Khalasi94d4b482018-06-28 15:37:11 -070056
Kailash Khalasia7187432018-07-16 10:34:06 -070057 - string:
hwchiu14f97852019-10-08 10:51:11 -070058 name: podName
59 default: 'flex-onf-pod1'
60 description: 'Name of pod'
Kailash Khalasia7187432018-07-16 10:34:06 -070061
Kailash Khalasi94d4b482018-06-28 15:37:11 -070062 project-type: pipeline
63 concurrent: false
64
65 dsl: !include-raw-escape: pipeline/kubespray-install.groovy
Kailash Khalasi93af93a2018-08-07 16:51:37 -070066
67 triggers:
hwchiu14f97852019-10-08 10:51:11 -070068 - timed: |
Kailash Khalasi93af93a2018-08-07 16:51:37 -070069 TZ=America/Los_Angeles
70 H 10 31/3 * *