blob: a8aa632e8d3096026eab22dc4d892e08e4be3baa [file] [log] [blame]
Kailash46a2a9a2019-01-23 12:39:04 -08001---
2# bbsim test job
3
4- project:
5 name: bbsim-test
6
7 project-name: '{name}'
8
9 jobs:
Kailash595a27e2019-03-22 19:53:14 -070010 - 'bbsim-validation-voltha-1.6'
11 - 'bbsim-validation-master'
Kailash46a2a9a2019-01-23 12:39:04 -080012
13- job-template:
Kailash595a27e2019-03-22 19:53:14 -070014 id: 'bbsim-validation-voltha-1.6'
15 name: 'BBSIM-Validation-Voltha-1.6'
16
17 description: |
18 <!-- Managed by Jenkins Job Builder -->
19 Created by {id} job-template from ci-management/jjb/bbsim-validation.yaml <br /><br />
20 Tests run for validation of BBSIM. Tests reside in the helm chart template
21
22 properties:
23 - cord-infra-properties:
24 build-days-to-keep: '{build-days-to-keep}'
25 artifact-num-to-keep: '{artifact-num-to-keep}'
26
27 wrappers:
28 - lf-infra-wrappers:
29 build-timeout: '{build-timeout}'
30 jenkins-ssh-credential: '{jenkins-ssh-credential}'
31
32 parameters:
33 - string:
Zack Williamsb3292082019-10-11 17:15:18 -070034 name: buildNode
hwchiu14f97852019-10-08 10:51:11 -070035 default: 'qct-pod2-node1'
36 description: 'Name of the Jenkins node to run the job on'
Kailash595a27e2019-03-22 19:53:14 -070037
38 - string:
hwchiu14f97852019-10-08 10:51:11 -070039 name: manifestUrl
40 default: '{gerrit-server-url}/{cord-repo-manifest}'
41 description: 'URL to the repo manifest'
Kailash595a27e2019-03-22 19:53:14 -070042
43 - string:
hwchiu14f97852019-10-08 10:51:11 -070044 name: manifestBranch
45 default: 'master'
46 description: 'Name of the repo branch to use'
Kailash595a27e2019-03-22 19:53:14 -070047
48 - string:
hwchiu14f97852019-10-08 10:51:11 -070049 name: deploymentConfig
50 default: 'bbsim-voltha-1.6.yml'
51 description: 'kubernetes configurations file'
Kailash595a27e2019-03-22 19:53:14 -070052
53 - string:
hwchiu14f97852019-10-08 10:51:11 -070054 name: OnuCount
55 default: '16'
56 description: 'Number of ONUs per pon port'
Kailash595a27e2019-03-22 19:53:14 -070057
58 - string:
hwchiu14f97852019-10-08 10:51:11 -070059 name: EmulationMode
60 default: '--set emulation_mode=both'
61 description: 'Emulation for BBSIM (both|aaa)'
Kailash595a27e2019-03-22 19:53:14 -070062
63 - string:
hwchiu14f97852019-10-08 10:51:11 -070064 name: TestTags
65 default: ''
66 description: 'Tests to include/exclude. eg "-e serviceinstances"'
Kailash595a27e2019-03-22 19:53:14 -070067
68 - string:
hwchiu14f97852019-10-08 10:51:11 -070069 name: TestTimeout
70 default: '300s'
71 description: 'timeout for each test case (increase as you scale up)'
Kailash595a27e2019-03-22 19:53:14 -070072
Kailashaad0e712019-03-22 20:42:07 -070073 - bool:
hwchiu14f97852019-10-08 10:51:11 -070074 name: ArchiveLogs
75 default: true
76 description: 'Archive all pod logs after test run'
Kailash595a27e2019-03-22 19:53:14 -070077
78 project-type: pipeline
79 concurrent: false
80
81 dsl: !include-raw-escape: pipeline/bbsim-validation.groovy
82
83- job-template:
84 id: 'bbsim-validation-master'
85 name: 'BBSIM-Validation-Voltha-master'
Kailash46a2a9a2019-01-23 12:39:04 -080086
87 description: |
88 <!-- Managed by Jenkins Job Builder -->
89 Created by {id} job-template from ci-management/jjb/bbsim-validation.yaml <br /><br />
90 Tests run for validation of BBSIM. Tests reside in the helm chart template
91
92 properties:
93 - cord-infra-properties:
94 build-days-to-keep: '{build-days-to-keep}'
95 artifact-num-to-keep: '{artifact-num-to-keep}'
96
97 wrappers:
98 - lf-infra-wrappers:
99 build-timeout: '{build-timeout}'
100 jenkins-ssh-credential: '{jenkins-ssh-credential}'
101
102 parameters:
103 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700104 name: buildNode
hwchiu14f97852019-10-08 10:51:11 -0700105 default: 'qct-pod2-node1'
106 description: 'Name of the Jenkins node to run the job on'
Kailash46a2a9a2019-01-23 12:39:04 -0800107
108 - string:
hwchiu14f97852019-10-08 10:51:11 -0700109 name: manifestUrl
110 default: '{gerrit-server-url}/{cord-repo-manifest}'
111 description: 'URL to the repo manifest'
Kailash46a2a9a2019-01-23 12:39:04 -0800112
113 - string:
hwchiu14f97852019-10-08 10:51:11 -0700114 name: manifestBranch
115 default: 'master'
116 description: 'Name of the repo branch to use'
Kailash46a2a9a2019-01-23 12:39:04 -0800117
Kailashff5c5402019-01-28 15:47:54 -0800118 - string:
hwchiu14f97852019-10-08 10:51:11 -0700119 name: deploymentConfig
120 default: 'bbsim-voltha-master.yml'
121 description: 'kubernetes configurations file'
Kailashff5c5402019-01-28 15:47:54 -0800122
Kailashf2688e02019-03-18 21:11:13 -0700123 - string:
hwchiu14f97852019-10-08 10:51:11 -0700124 name: OnuCount
125 default: '16'
126 description: 'Number of ONUs per pon port'
Kailashf2688e02019-03-18 21:11:13 -0700127
Kailashe4ac2862019-03-21 12:03:40 -0700128 - string:
hwchiu14f97852019-10-08 10:51:11 -0700129 name: EmulationMode
130 default: '--set emulation_mode=both'
131 description: 'Emulation for BBSIM (both|aaa)'
Kailashf1375442019-03-21 18:02:58 -0700132
133 - string:
hwchiu14f97852019-10-08 10:51:11 -0700134 name: TestTags
135 default: ''
136 description: 'Tests to include/exclude. eg "-e serviceinstances"'
Kailash595a27e2019-03-22 19:53:14 -0700137
138 - string:
hwchiu14f97852019-10-08 10:51:11 -0700139 name: TestTimeout
140 default: '300s'
141 description: 'timeout for each test case (increase as you scale up)'
Kailashe4ac2862019-03-21 12:03:40 -0700142
Kailash4b945ac2019-04-10 11:15:50 -0700143 - bool:
hwchiu14f97852019-10-08 10:51:11 -0700144 name: ArchiveLogs
145 default: true
146 description: 'Archive all pod logs after test run'
Kailash595a27e2019-03-22 19:53:14 -0700147
Kailash46a2a9a2019-01-23 12:39:04 -0800148 project-type: pipeline
149 concurrent: false
150
151 dsl: !include-raw-escape: pipeline/bbsim-validation.groovy