blob: 5bec5e09854ab4d1bfc91a5a61ae69d2b24425bb [file] [log] [blame]
Kailash Khalasia5c04552019-01-17 18:24:11 +00001---
Kailash74eed212019-05-07 09:57:59 -07002# VOLTHA-Automated-Tests
Kailash Khalasia5c04552019-01-17 18:24:11 +00003
4- project:
Kailash74eed212019-05-07 09:57:59 -07005 name: voltha-atests
Kailash Khalasia5c04552019-01-17 18:24:11 +00006
7 project-name: 'voltha'
8
9 jobs:
10 - 'voltha-atest-provisioning'
Kailash74eed212019-05-07 09:57:59 -070011 - 'voltha-atest-bbsim'
Kailash Khalasia5c04552019-01-17 18:24:11 +000012
13- job-template:
14 id: voltha-atest-provisioning
15 name: 'voltha-atest-provisioning'
16 description: |
17 Created by {id} job-template from ci-management/jjb/voltha-atest-provisioning.yaml
Kailash74eed212019-05-07 09:57:59 -070018 Voltha automated tests run per commit. Voltha testing with ponsim to validate voltha+ponsim
Kailash Khalasia5c04552019-01-17 18:24:11 +000019
20 triggers:
21 - cord-infra-gerrit-trigger-patchset:
22 gerrit-server-name: '{gerrit-server-name}'
23 project-regexp: 'voltha'
24 branch-regexp: '{supported-branches-regexp}'
25 dependency-jobs: '{dependency-jobs}'
26 file-include-regexp: '{all-files-regexp}'
27
28 properties:
29 - cord-infra-properties:
30 build-days-to-keep: '{build-days-to-keep}'
31 artifact-num-to-keep: '{artifact-num-to-keep}'
32
33 wrappers:
34 - lf-infra-wrappers:
35 build-timeout: '{build-timeout}'
36 jenkins-ssh-credential: '{jenkins-ssh-credential}'
37
38 parameters:
39 - string:
40 name: executorNode
41 default: 'qct-pod3-voltha-testing'
42 description: 'Name of the Jenkins node to run the job on'
43
44 - string:
45 name: manifestUrl
46 default: '{gerrit-server-url}/{cord-repo-manifest}'
47 description: 'URL to the repo manifest'
48
49 - string:
50 name: manifestBranch
51 default: 'master'
52 description: 'Name of the repo branch to use'
53
54 - string:
55 name: gerritChangeNumber
56 default: '$GERRIT_CHANGE_NUMBER'
57 description: 'Changeset number in Gerrit'
58
59 - string:
60 name: gerritPatchsetNumber
61 default: '$GERRIT_PATCHSET_NUMBER'
62 description: 'PatchSet number in Gerrit'
63
Kailashc24db752019-05-07 14:01:40 -070064 - string:
65 name: adapter
66 default: ''
67 description: 'BLANK for ponsim'
Kailash74eed212019-05-07 09:57:59 -070068 - bool:
69 name: BuildVoltha
70 default: true
71 description: 'Build modified voltha component'
72
73 - bool:
74 name: BuildBbsim
75 default: false
76 description: 'Build modified bbsim component'
77
78 project-type: pipeline
79 concurrent: false
80
81 dsl: !include-raw-escape: pipeline/voltha-atest-provisioning.groovy
82
83- job-template:
84 id: voltha-atest-bbsim
85 name: 'voltha-atest-bbsim'
86 description: |
87 Created by {id} job-template from ci-management/jjb/voltha-atest-provisioning.yaml
88 Voltha automated tests run per commit. Voltha testing with bbsim to validate voltha+bbsim
89
90 triggers:
91 - cord-infra-gerrit-trigger-patchset:
92 gerrit-server-name: '{gerrit-server-name}'
93 project-regexp: 'bbsim'
94 branch-regexp: '{supported-branches-regexp}'
95 dependency-jobs: '{dependency-jobs}'
96 file-include-regexp: '{all-files-regexp}'
97
98 properties:
99 - cord-infra-properties:
100 build-days-to-keep: '{build-days-to-keep}'
101 artifact-num-to-keep: '{artifact-num-to-keep}'
102
103 wrappers:
104 - lf-infra-wrappers:
105 build-timeout: '{build-timeout}'
106 jenkins-ssh-credential: '{jenkins-ssh-credential}'
107
108 parameters:
109 - string:
110 name: executorNode
111 default: 'qct-pod3-voltha-testing'
112 description: 'Name of the Jenkins node to run the job on'
113
114 - string:
115 name: manifestUrl
116 default: '{gerrit-server-url}/{cord-repo-manifest}'
117 description: 'URL to the repo manifest'
118
119 - string:
120 name: manifestBranch
121 default: 'master'
122 description: 'Name of the repo branch to use'
123
124 - string:
125 name: gerritChangeNumber
126 default: '$GERRIT_CHANGE_NUMBER'
127 description: 'Changeset number in Gerrit'
128
129 - string:
130 name: gerritPatchsetNumber
131 default: '$GERRIT_PATCHSET_NUMBER'
132 description: 'PatchSet number in Gerrit'
133
134 - string:
135 name: adapter
136 default: 'bbsim'
137 description: 'virtual olt to install with voltha'
138
139 - bool:
140 name: BuildVoltha
141 default: false
142 description: 'Build modified voltha component'
143
144 - bool:
145 name: BuildBbsim
146 default: true
147 description: 'Build modified bbsim component'
148
Kailash Khalasia5c04552019-01-17 18:24:11 +0000149
150 project-type: pipeline
151 concurrent: false
152
153 dsl: !include-raw-escape: pipeline/voltha-atest-provisioning.groovy