blob: 64d40bce5903d5f219bdf7e04682b04f989a1abb [file] [log] [blame]
Kailash Khalasi18b53b82018-04-12 13:51:25 -07001---
Joey Armstrong2a7f4762024-04-04 17:18:36 -04002
3# -----------------------------------------------------------------------
4# Copyright 2018-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: 2018-2024 Open Networking Foundation Contributors
19# SPDX-License-Identifier: Apache-2.0
20# -----------------------------------------------------------------------
21# Intent: verification jobs for 'xos' repo
22# -----------------------------------------------------------------------
Kailash Khalasi18b53b82018-04-12 13:51:25 -070023
24- project:
25 name: xos
26 project: '{name}'
27
28 jobs:
Zack Williamsba2aea02018-12-17 22:37:45 -070029 - 'verify-xos-jobs-licensed-versioned':
30 branch-regexp: '{supported-branches-regexp}'
31 - 'verify-xos-jobs-code':
Kailash Khalasi18b53b82018-04-12 13:51:25 -070032 branch-regexp: '{supported-branches-regexp}'
Zack Williams599f6b72019-04-16 17:05:34 -070033 - 'publish-xos-jobs':
Zack Williamsb9ff6b12019-03-05 17:38:30 -070034 branch-regexp: '{supported-branches-regexp}'
Kailash Khalasi18b53b82018-04-12 13:51:25 -070035
Zack Williamsba2aea02018-12-17 22:37:45 -070036# these two job groups are split so that documentation-only patches can go into
37# the XOS repo without invoking all the code-level tests.
38#
39# Items in the 'verify-xos-jobs-code' job-group only trigger with
40# 'non-doc-files-regexp', which excludes the docs/* and VERSION file
41
Kailash Khalasi18b53b82018-04-12 13:51:25 -070042- job-group:
Zack Williamsba2aea02018-12-17 22:37:45 -070043 name: 'verify-xos-jobs-licensed-versioned'
Kailash Khalasi18b53b82018-04-12 13:51:25 -070044 jobs:
45 - 'verify-licensed'
Zack Williamsba2aea02018-12-17 22:37:45 -070046
47- job-group:
48 name: 'verify-xos-jobs-code'
49 jobs:
Zack Williamsdbdd2362019-03-11 11:15:31 -070050 - 'python-unit-test':
51 build-timeout: 45
Joey Armstrongc5194c42024-07-23 15:31:18 -040052 # build-node: 'ubuntu18.04-basebuild-2c-4g'
Joey Armstrong6fb53fb2024-08-27 16:44:29 -040053 build-node: 'ubuntu18.04-basebuild-8c-15g'
Kailashc8170bb2019-03-26 10:06:55 -070054 - 'api-test':
Zack Williamsb3292082019-10-11 17:15:18 -070055 pipeline-script: 'xos-core.groovy'
Zack Williams9d68aa32018-07-12 11:50:37 -070056
Zack Williamsb9ff6b12019-03-05 17:38:30 -070057- job-group:
Zack Williams599f6b72019-04-16 17:05:34 -070058 name: 'publish-xos-jobs'
Zack Williamsb9ff6b12019-03-05 17:38:30 -070059 jobs:
60 - 'pypi-publish':
Zack Williams8267cc82019-03-07 08:55:28 -070061 pypi-module-dirs: 'lib/xos-config|lib/xos-genx|lib/xos-util|lib/xos-api|lib/xos-migrate|lib/xos-synchronizer|lib/xos-kafka'
Zack Williamsb9ff6b12019-03-05 17:38:30 -070062 project-regexp: '^{name}$'
63 pypi-index: 'pypi'
Matteo Scandolo02108aa2022-06-30 17:31:22 -070064 dependency-jobs: 'version-tag_wildcard'
Zack Williams599f6b72019-04-16 17:05:34 -070065 - 'docker-publish':
Eric Ball122196c2024-11-06 16:48:12 -080066 maintainers: "releng+voltha-build@linuxfoundation.org"
Zack Williamsb030c652019-07-29 12:44:12 -070067 build-timeout: 30
Zack Williams599f6b72019-04-16 17:05:34 -070068 docker-repo: 'xosproject'
Matteo Scandolo02108aa2022-06-30 17:31:22 -070069 dependency-jobs: 'version-tag_wildcard'
Joey Armstrongaf679da2023-01-31 14:22:41 -050070
71# [EOF]