blob: 4ca9fe31efa52771adf7160baa1f6edc72db09c4 [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
Kailash4b945ac2019-04-10 11:15:50 -070060 default: '--set emulation_mode=both'
61 description: 'Emulation for BBSIM (both|aaa)'
Kailash595a27e2019-03-22 19:53:14 -070062
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
Kailash4b945ac2019-04-10 11:15:50 -070075 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:
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
Kailash4b945ac2019-04-10 11:15:50 -0700130 default: '--set emulation_mode=both'
131 description: 'Emulation for BBSIM (both|aaa)'
Kailashf1375442019-03-21 18:02:58 -0700132
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
Kailash4b945ac2019-04-10 11:15:50 -0700143 - bool:
Kailash595a27e2019-03-22 19:53:14 -0700144 name: ArchiveLogs
Kailash4b945ac2019-04-10 11:15:50 -0700145 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