blob: 31f0482220c805880a198ef6648ee59b2408fe50 [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 Williamsb7a509a2018-06-22 17:00:50 -070046 - 'tag-collision-reject':
Kailash Khalasi18b53b82018-04-12 13:51:25 -070047 dependency-jobs: 'verify_xos_licensed'
Zack Williamsba2aea02018-12-17 22:37:45 -070048
49- job-group:
50 name: 'verify-xos-jobs-code'
51 jobs:
Zack Williamsdbdd2362019-03-11 11:15:31 -070052 - 'python-unit-test':
53 build-timeout: 45
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -070054 build-node: 'ubuntu18.04-basebuild-2c-4g'
Kailashc8170bb2019-03-26 10:06:55 -070055 - 'api-test':
Zack Williamsb3292082019-10-11 17:15:18 -070056 pipeline-script: 'xos-core.groovy'
Zack Williams9d68aa32018-07-12 11:50:37 -070057
Zack Williamsb9ff6b12019-03-05 17:38:30 -070058- job-group:
Zack Williams599f6b72019-04-16 17:05:34 -070059 name: 'publish-xos-jobs'
Zack Williamsb9ff6b12019-03-05 17:38:30 -070060 jobs:
61 - 'pypi-publish':
Zack Williams8267cc82019-03-07 08:55:28 -070062 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 -070063 project-regexp: '^{name}$'
64 pypi-index: 'pypi'
Matteo Scandolo02108aa2022-06-30 17:31:22 -070065 dependency-jobs: 'version-tag_wildcard'
Zack Williams599f6b72019-04-16 17:05:34 -070066 - 'docker-publish':
Joey Armstrongca4cb462023-01-12 17:51:05 -050067 maintainers: "onf-bat-admin@opennetworking.org, andy@opennetworking.org, scottb@opennetworking.org"
Zack Williamsb030c652019-07-29 12:44:12 -070068 build-timeout: 30
Zack Williams599f6b72019-04-16 17:05:34 -070069 docker-repo: 'xosproject'
Matteo Scandolo02108aa2022-06-30 17:31:22 -070070 dependency-jobs: 'version-tag_wildcard'
Joey Armstrongaf679da2023-01-31 14:22:41 -050071
72# [EOF]