blob: 90cd1b4f0b56a1f562051e482fddabf5ebba9e93 [file] [log] [blame]
Zack Williams0b072cf2019-09-27 11:00:11 -07001---
Joey Armstrong054d8312024-02-22 12:19:37 -05002# -----------------------------------------------------------------------
3# Copyright 2018-2024 Open Networking Foundation Contributors
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16#
17# SPDX-FileCopyrightText: 2018-2024 Open Networking Foundation Contributors
18# SPDX-License-Identifier: Apache-2.0
19# -----------------------------------------------------------------------
20# Entropy: 0fcb5ffa-d1a4-11ee-be5e-9f44b7181764
21# -----------------------------------------------------------------------
22# Intent: verification jobs for 'voltha-api-server' repo
23# Note: voltha-api-server is unmaintained, should we keep running tests?
24# -----------------------------------------------------------------------
Matteo Scandolo42f6e572021-01-25 15:11:34 -080025
Zack Williams0b072cf2019-09-27 11:00:11 -070026- project:
27 name: voltha-api-server
28 project: '{name}'
29
30 jobs:
31 - 'verify-voltha-api-server-jobs':
32 branch-regexp: '{all-branches-regexp}'
33 - 'publish-voltha-api-server-jobs':
34 branch-regexp: '{all-branches-regexp}'
35
Joey Armstronga516c322023-01-25 17:40:42 -050036# -----------------------------------------------------------------------
37# verify-voltha-api-server-jobs
38# o explicitly dependent on v2.8
39# o copied to job verify-voltha-api-server-jobs-voltha-2.8
40# o updated verify-voltha-api-server-jobs to depend on v2.11
41# o is this another element that should be deleted with v2.11 ?
42# o if not deprecated rename job to contain *-voltha-x.y to be clear
43# the job is not intended for master branch.
44# -----------------------------------------------------------------------
Zack Williams0b072cf2019-09-27 11:00:11 -070045- job-group:
46 name: 'verify-voltha-api-server-jobs'
47 jobs:
48 - 'verify-licensed'
49 - 'tag-collision-reject':
50 dependency-jobs: 'verify_voltha-api-server_licensed'
51 - 'make-unit-test':
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -070052 build-node: 'ubuntu18.04-basebuild-2c-4g'
Zack Williams0b072cf2019-09-27 11:00:11 -070053 dest-gopath: "github.com/opencord"
Andy Bavier8b0b2d32019-10-23 09:58:19 -070054 unit-test-targets: 'lint sca test'
Joey Armstrong5226fb22023-02-02 18:16:07 -050055 unit-test-keep-going: 'false'
Zack Williams0b072cf2019-09-27 11:00:11 -070056 junit-allow-empty-results: true
Scott Baker5521fd42019-10-02 09:41:06 -070057 - 'voltha-patch-test':
Joey Armstronga516c322023-01-25 17:40:42 -050058 pipeline-script: 'voltha/voltha-2.11/bbsim-tests.groovy'
Jan Klare41a44fc2023-09-27 10:20:57 +020059 pipeline-branch: 'voltha-2.11'
Joey Armstronga516c322023-01-25 17:40:42 -050060
61- job-group:
62 name: 'verify-voltha-api-server-jobs-voltha-2.8'
63 jobs:
64 - 'verify-licensed'
65 - 'tag-collision-reject':
66 dependency-jobs: 'verify_voltha-api-server_licensed'
67 - 'make-unit-test':
68 build-node: 'ubuntu18.04-basebuild-2c-4g'
69 dest-gopath: "github.com/opencord"
70 unit-test-targets: 'lint sca test'
Joey Armstrong5226fb22023-02-02 18:16:07 -050071 unit-test-keep-going: 'false'
Joey Armstronga516c322023-01-25 17:40:42 -050072 junit-allow-empty-results: true
73 - 'voltha-patch-test':
Hardik Windlass6d9a82e2021-07-08 16:23:21 +000074 pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
Jan Klare41a44fc2023-09-27 10:20:57 +020075 pipeline-branch: 'voltha-2.8'
Zack Williams0b072cf2019-09-27 11:00:11 -070076
77- job-group:
78 name: 'publish-voltha-api-server-jobs'
79 jobs:
80 - 'docker-publish':
81 build-timeout: 30
82 docker-repo: 'voltha'
Matteo Scandolo02108aa2022-06-30 17:31:22 -070083 dependency-jobs: 'version-tag_wildcard'
Joey Armstrongaf679da2023-01-31 14:22:41 -050084
85# [EOF]