blob: bbba989e4d01a89e0802da7af4d35b2f3481a0d8 [file] [log] [blame]
Zack Williamsd1ba6412019-08-28 11:18:32 -07001---
Joey Armstrong56fdfec2024-03-01 13:43:36 -05002
3# -----------------------------------------------------------------------
4# Copyright 2017-2024 Open Networking Foundation Contributors
5#
6# Licensed under the Apache License, Version 2.0 (the "License");
7# you may not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9#
10# http:#www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS,
14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17# -----------------------------------------------------------------------
18# SPDX-FileCopyrightText: 2017-2024 Open Networking Foundation Contributors
19# SPDX-License-Identifier: Apache-2.0
20# -----------------------------------------------------------------------
21# Entropy: 0fcb5ffa-d1a4-11ee-be5e-9f44b7181764
22# -----------------------------------------------------------------------
23# Intent: Verification jobs for 'bbsim' repo
24# -----------------------------------------------------------------------
Zack Williamsd1ba6412019-08-28 11:18:32 -070025
26- project:
27 name: bbsim
28 project: '{name}'
Amol Jaikarbc9549a2023-01-27 16:53:06 -050029 dest-gopath: "github.com/opencord"
Zack Williamsd1ba6412019-08-28 11:18:32 -070030
31 jobs:
32 - 'verify-bbsim-jobs':
33 branch-regexp: '{all-branches-regexp}'
Joey Armstrong0eb8bd82023-07-10 13:26:25 -040034 - 'verify-bbsim-jobs-voltha-2.12':
35 name-extension: '-voltha-2.12'
36 override-branch: 'voltha-2.12'
37 branch-regexp: '^voltha-2.12$'
Joey Armstrong7adbfb02023-01-24 17:02:37 -050038 - 'verify-bbsim-jobs-voltha-2.11':
39 name-extension: '-voltha-2.11'
40 override-branch: 'voltha-2.11'
41 branch-regexp: '^voltha-2.11$'
Matteo Scandolo42f6e572021-01-25 15:11:34 -080042 - 'verify-bbsim-jobs-master':
43 branch-regexp: '^master$'
Zack Williamsd1ba6412019-08-28 11:18:32 -070044 - 'publish-bbsim-jobs':
45 branch-regexp: '{all-branches-regexp}'
46
47- job-group:
48 name: 'verify-bbsim-jobs'
49 jobs:
50 - 'verify-licensed'
51 - 'tag-collision-reject':
52 dependency-jobs: 'verify_bbsim_licensed'
53 - 'make-unit-test':
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -070054 build-node: 'ubuntu18.04-basebuild-4c-8g'
Zack Williamsd1ba6412019-08-28 11:18:32 -070055 dest-gopath: "github.com/opencord"
Shrey Baidaa897cd2020-07-22 11:26:47 -040056 unit-test-targets: 'lint sca test'
Joey Armstrong5226fb22023-02-02 18:16:07 -050057 unit-test-keep-going: 'false'
Matteo Scandolo42f6e572021-01-25 15:11:34 -080058
Joey Armstrong56fdfec2024-03-01 13:43:36 -050059# - job-group:
Joey Armstrong0eb8bd82023-07-10 13:26:25 -040060# name: 'verify-bbsim-jobs-voltha-2.8'
61# jobs:
62# - 'voltha-patch-test':
63# pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
64# testTargets: |
65# - target: sanity-bbsim-att
66# workflow: att
67# flags: ""
68# teardown: true
69# logging: true
70# - target: sanity-bbsim-dt
71# workflow: dt
72# flags: ""
73# teardown: true
74# logging: true
75# - target: sanity-bbsim-tt
76# workflow: tt
77# flags: ""
78# teardown: true
79# logging: true
80#
81
Matteo Scandolo42f6e572021-01-25 15:11:34 -080082- job-group:
Joey Armstrong0eb8bd82023-07-10 13:26:25 -040083 name: 'verify-bbsim-jobs-master'
Matteo Scandolo42f6e572021-01-25 15:11:34 -080084 jobs:
Andy Baviera6f8e482019-10-24 08:22:30 -070085 - 'voltha-patch-test':
Joey Armstrong0eb8bd82023-07-10 13:26:25 -040086 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
87 testTargets: |
88 - target: sanity-bbsim-att
89 workflow: att
90 flags: ""
91 teardown: true
92 logging: true
93 - target: sanity-bbsim-dt
94 workflow: dt
95 flags: ""
96 teardown: true
97 logging: true
98 - target: sanity-bbsim-tt
99 workflow: tt
100 flags: ""
101 teardown: true
102 logging: true
103
104- job-group:
105 name: 'verify-bbsim-jobs-voltha-2.12'
106 jobs:
107 - 'voltha-patch-test':
Joey Armstrong6aa5ec02024-01-31 18:27:50 -0500108 pipeline-script: 'voltha/bbsim-tests.groovy'
Jan Klare41a44fc2023-09-27 10:20:57 +0200109 pipeline-branch: 'voltha-2.12'
Joey Armstrong0eb8bd82023-07-10 13:26:25 -0400110 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Hardik Windlass0a18e4e2021-07-13 12:19:20 +0000111 testTargets: |
112 - target: sanity-bbsim-att
113 workflow: att
114 flags: ""
115 teardown: true
Hardik Windlasse44ef712021-10-20 10:36:33 +0000116 logging: true
Hardik Windlass0a18e4e2021-07-13 12:19:20 +0000117 - target: sanity-bbsim-dt
118 workflow: dt
119 flags: ""
120 teardown: true
Hardik Windlasse44ef712021-10-20 10:36:33 +0000121 logging: true
Hardik Windlass0a18e4e2021-07-13 12:19:20 +0000122 - target: sanity-bbsim-tt
123 workflow: tt
124 flags: ""
125 teardown: true
Hardik Windlasse44ef712021-10-20 10:36:33 +0000126 logging: true
Zack Williamsd1ba6412019-08-28 11:18:32 -0700127
128- job-group:
Joey Armstrong7adbfb02023-01-24 17:02:37 -0500129 name: 'verify-bbsim-jobs-voltha-2.11'
130 jobs:
131 - 'voltha-patch-test':
132 pipeline-script: 'voltha/voltha-2.11/bbsim-tests.groovy'
Jan Klare41a44fc2023-09-27 10:20:57 +0200133 pipeline-branch: 'voltha-2.11'
Joey Armstrong7adbfb02023-01-24 17:02:37 -0500134 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
135 testTargets: |
136 - target: sanity-bbsim-att
137 workflow: att
138 flags: ""
139 teardown: true
140 logging: true
141 - target: sanity-bbsim-dt
142 workflow: dt
143 flags: ""
144 teardown: true
145 logging: true
146 - target: sanity-bbsim-tt
147 workflow: tt
148 flags: ""
149 teardown: true
150 logging: true
Joey Armstrong56fdfec2024-03-01 13:43:36 -0500151
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800152- job-group:
Zack Williamsd1ba6412019-08-28 11:18:32 -0700153 name: 'publish-bbsim-jobs'
154 jobs:
155 - 'docker-publish':
Joey Armstrongca4cb462023-01-12 17:51:05 -0500156 maintainers: "onf-bat-admin@opennetworking.org"
Zack Williamsd1ba6412019-08-28 11:18:32 -0700157 docker-repo: 'voltha'
Matteo Scandolo02108aa2022-06-30 17:31:22 -0700158 dependency-jobs: 'version-tag_wildcard'
Matteo Scandolob50daac2019-10-22 16:45:47 -0700159 - 'github-release':
Joey Armstrongca4cb462023-01-12 17:51:05 -0500160 dependency-jobs: 'version-tag_wildcard'
161 github-organization: 'opencord'
162 release-targets: 'release'
163 artifact-glob: 'release/*'
Joey Armstrongaf679da2023-01-31 14:22:41 -0500164
Joey Armstrong56fdfec2024-03-01 13:43:36 -0500165# [EOF]