blob: 61ddb43827c276c9d32fbb1ead5807eab568f2ae [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':
Joey Armstrongc5194c42024-07-23 15:31:18 -040054 # build-node: 'ubuntu18.04-basebuild-4c-8g'
Joey Armstrongd1362f12024-08-21 17:35:56 -040055 build-node: 'ubuntu-basebuild-24.04-4c-15g'
Zack Williamsd1ba6412019-08-28 11:18:32 -070056 dest-gopath: "github.com/opencord"
Shrey Baidaa897cd2020-07-22 11:26:47 -040057 unit-test-targets: 'lint sca test'
Joey Armstrong5226fb22023-02-02 18:16:07 -050058 unit-test-keep-going: 'false'
Matteo Scandolo42f6e572021-01-25 15:11:34 -080059
Joey Armstrong56fdfec2024-03-01 13:43:36 -050060# - job-group:
Joey Armstrong0eb8bd82023-07-10 13:26:25 -040061# name: 'verify-bbsim-jobs-voltha-2.8'
62# jobs:
63# - 'voltha-patch-test':
64# pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
65# testTargets: |
66# - target: sanity-bbsim-att
67# workflow: att
68# flags: ""
69# teardown: true
70# logging: true
71# - target: sanity-bbsim-dt
72# workflow: dt
73# flags: ""
74# teardown: true
75# logging: true
76# - target: sanity-bbsim-tt
77# workflow: tt
78# flags: ""
79# teardown: true
80# logging: true
81#
82
Matteo Scandolo42f6e572021-01-25 15:11:34 -080083- job-group:
Joey Armstrong0eb8bd82023-07-10 13:26:25 -040084 name: 'verify-bbsim-jobs-master'
Matteo Scandolo42f6e572021-01-25 15:11:34 -080085 jobs:
Andy Baviera6f8e482019-10-24 08:22:30 -070086 - 'voltha-patch-test':
Joey Armstrong0eb8bd82023-07-10 13:26:25 -040087 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
88 testTargets: |
89 - target: sanity-bbsim-att
90 workflow: att
91 flags: ""
92 teardown: true
93 logging: true
94 - target: sanity-bbsim-dt
95 workflow: dt
96 flags: ""
97 teardown: true
98 logging: true
99 - target: sanity-bbsim-tt
100 workflow: tt
101 flags: ""
102 teardown: true
103 logging: true
104
105- job-group:
106 name: 'verify-bbsim-jobs-voltha-2.12'
107 jobs:
108 - 'voltha-patch-test':
Joey Armstrong6aa5ec02024-01-31 18:27:50 -0500109 pipeline-script: 'voltha/bbsim-tests.groovy'
Jan Klare41a44fc2023-09-27 10:20:57 +0200110 pipeline-branch: 'voltha-2.12'
Joey Armstrong0eb8bd82023-07-10 13:26:25 -0400111 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
Hardik Windlass0a18e4e2021-07-13 12:19:20 +0000112 testTargets: |
113 - target: sanity-bbsim-att
114 workflow: att
115 flags: ""
116 teardown: true
Hardik Windlasse44ef712021-10-20 10:36:33 +0000117 logging: true
Hardik Windlass0a18e4e2021-07-13 12:19:20 +0000118 - target: sanity-bbsim-dt
119 workflow: dt
120 flags: ""
121 teardown: true
Hardik Windlasse44ef712021-10-20 10:36:33 +0000122 logging: true
Hardik Windlass0a18e4e2021-07-13 12:19:20 +0000123 - target: sanity-bbsim-tt
124 workflow: tt
125 flags: ""
126 teardown: true
Hardik Windlasse44ef712021-10-20 10:36:33 +0000127 logging: true
Zack Williamsd1ba6412019-08-28 11:18:32 -0700128
129- job-group:
Joey Armstrong7adbfb02023-01-24 17:02:37 -0500130 name: 'verify-bbsim-jobs-voltha-2.11'
131 jobs:
132 - 'voltha-patch-test':
133 pipeline-script: 'voltha/voltha-2.11/bbsim-tests.groovy'
Jan Klare41a44fc2023-09-27 10:20:57 +0200134 pipeline-branch: 'voltha-2.11'
Joey Armstrong7adbfb02023-01-24 17:02:37 -0500135 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master'
136 testTargets: |
137 - target: sanity-bbsim-att
138 workflow: att
139 flags: ""
140 teardown: true
141 logging: true
142 - target: sanity-bbsim-dt
143 workflow: dt
144 flags: ""
145 teardown: true
146 logging: true
147 - target: sanity-bbsim-tt
148 workflow: tt
149 flags: ""
150 teardown: true
151 logging: true
Joey Armstrong56fdfec2024-03-01 13:43:36 -0500152
Matteo Scandolo42f6e572021-01-25 15:11:34 -0800153- job-group:
Zack Williamsd1ba6412019-08-28 11:18:32 -0700154 name: 'publish-bbsim-jobs'
155 jobs:
156 - 'docker-publish':
Joey Armstrongca4cb462023-01-12 17:51:05 -0500157 maintainers: "onf-bat-admin@opennetworking.org"
Zack Williamsd1ba6412019-08-28 11:18:32 -0700158 docker-repo: 'voltha'
Matteo Scandolo02108aa2022-06-30 17:31:22 -0700159 dependency-jobs: 'version-tag_wildcard'
Matteo Scandolob50daac2019-10-22 16:45:47 -0700160 - 'github-release':
Joey Armstrongca4cb462023-01-12 17:51:05 -0500161 dependency-jobs: 'version-tag_wildcard'
162 github-organization: 'opencord'
163 release-targets: 'release'
164 artifact-glob: 'release/*'
Joey Armstrongaf679da2023-01-31 14:22:41 -0500165
Joey Armstrong56fdfec2024-03-01 13:43:36 -0500166# [EOF]