blob: f76172aa689b678cc399f636351e2fb9eeb6f0d2 [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:
34 name: executorNode
35 default: 'qct-pod2-node1'
36 description: 'Name of the Jenkins node to run the job on'
37
38 - string:
39 name: manifestUrl
40 default: '{gerrit-server-url}/{cord-repo-manifest}'
41 description: 'URL to the repo manifest'
42
43 - string:
44 name: manifestBranch
45 default: 'master'
46 description: 'Name of the repo branch to use'
47
48 - string:
49 name: deploymentConfig
50 default: 'bbsim-voltha-1.6.yml'
51 description: 'kubernetes configurations file'
52
53 - string:
54 name: OnuCount
55 default: '16'
56 description: 'Number of ONUs per pon port'
57
58 - string:
59 name: EmulationMode
60 default: '--set emulation_mode=default'
61 description: 'Emulation for BBSIM (both|aaa|default)'
62
63 - string:
64 name: TestTags
65 default: ''
66 description: 'Tests to include/exclude. eg "-e serviceinstances"'
67
68 - string:
69 name: TestTimeout
70 default: '300s'
71 description: 'timeout for each test case (increase as you scale up)'
72
Kailashaad0e712019-03-22 20:42:07 -070073 - bool:
Kailash595a27e2019-03-22 19:53:14 -070074 name: ArchiveLogs
75 default: false
76 description: 'Archive all pod logs after test run. Default to false as logs are very large'
77
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:
104 name: executorNode
Kailashe4ac2862019-03-21 12:03:40 -0700105 default: 'qct-pod2-node1'
Kailash46a2a9a2019-01-23 12:39:04 -0800106 description: 'Name of the Jenkins node to run the job on'
107
108 - string:
109 name: manifestUrl
110 default: '{gerrit-server-url}/{cord-repo-manifest}'
111 description: 'URL to the repo manifest'
112
113 - string:
114 name: manifestBranch
115 default: 'master'
116 description: 'Name of the repo branch to use'
117
Kailashff5c5402019-01-28 15:47:54 -0800118 - string:
119 name: deploymentConfig
120 default: 'bbsim-voltha-master.yml'
121 description: 'kubernetes configurations file'
122
Kailashf2688e02019-03-18 21:11:13 -0700123 - string:
124 name: OnuCount
125 default: '16'
126 description: 'Number of ONUs per pon port'
127
Kailashe4ac2862019-03-21 12:03:40 -0700128 - string:
129 name: EmulationMode
130 default: '--set emulation_mode=default'
Kailashf1375442019-03-21 18:02:58 -0700131 description: 'Emulation for BBSIM (both|aaa|default)'
132
133 - string:
Kailash595a27e2019-03-22 19:53:14 -0700134 name: TestTags
135 default: ''
136 description: 'Tests to include/exclude. eg "-e serviceinstances"'
137
138 - string:
Kailashf1375442019-03-21 18:02:58 -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
Kailash595a27e2019-03-22 19:53:14 -0700143 - string:
144 name: ArchiveLogs
145 default: false
146 description: 'Archive all pod logs after test run. Default to false as logs are very large'
147
Kailash46a2a9a2019-01-23 12:39:04 -0800148 project-type: pipeline
149 concurrent: false
150
151 dsl: !include-raw-escape: pipeline/bbsim-validation.groovy