blob: 90cd1b4f0b56a1f562051e482fddabf5ebba9e93 [file] [log] [blame]
---
# -----------------------------------------------------------------------
# Copyright 2018-2024 Open Networking Foundation Contributors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-FileCopyrightText: 2018-2024 Open Networking Foundation Contributors
# SPDX-License-Identifier: Apache-2.0
# -----------------------------------------------------------------------
# Entropy: 0fcb5ffa-d1a4-11ee-be5e-9f44b7181764
# -----------------------------------------------------------------------
# Intent: verification jobs for 'voltha-api-server' repo
# Note: voltha-api-server is unmaintained, should we keep running tests?
# -----------------------------------------------------------------------
- project:
name: voltha-api-server
project: '{name}'
jobs:
- 'verify-voltha-api-server-jobs':
branch-regexp: '{all-branches-regexp}'
- 'publish-voltha-api-server-jobs':
branch-regexp: '{all-branches-regexp}'
# -----------------------------------------------------------------------
# verify-voltha-api-server-jobs
# o explicitly dependent on v2.8
# o copied to job verify-voltha-api-server-jobs-voltha-2.8
# o updated verify-voltha-api-server-jobs to depend on v2.11
# o is this another element that should be deleted with v2.11 ?
# o if not deprecated rename job to contain *-voltha-x.y to be clear
# the job is not intended for master branch.
# -----------------------------------------------------------------------
- job-group:
name: 'verify-voltha-api-server-jobs'
jobs:
- 'verify-licensed'
- 'tag-collision-reject':
dependency-jobs: 'verify_voltha-api-server_licensed'
- 'make-unit-test':
build-node: 'ubuntu18.04-basebuild-2c-4g'
dest-gopath: "github.com/opencord"
unit-test-targets: 'lint sca test'
unit-test-keep-going: 'false'
junit-allow-empty-results: true
- 'voltha-patch-test':
pipeline-script: 'voltha/voltha-2.11/bbsim-tests.groovy'
pipeline-branch: 'voltha-2.11'
- job-group:
name: 'verify-voltha-api-server-jobs-voltha-2.8'
jobs:
- 'verify-licensed'
- 'tag-collision-reject':
dependency-jobs: 'verify_voltha-api-server_licensed'
- 'make-unit-test':
build-node: 'ubuntu18.04-basebuild-2c-4g'
dest-gopath: "github.com/opencord"
unit-test-targets: 'lint sca test'
unit-test-keep-going: 'false'
junit-allow-empty-results: true
- 'voltha-patch-test':
pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
pipeline-branch: 'voltha-2.8'
- job-group:
name: 'publish-voltha-api-server-jobs'
jobs:
- 'docker-publish':
build-timeout: 30
docker-repo: 'voltha'
dependency-jobs: 'version-tag_wildcard'
# [EOF]