Kailash Khalasi | 18b53b8 | 2018-04-12 13:51:25 -0700 | [diff] [blame] | 1 | --- |
Joey Armstrong | 2a7f476 | 2024-04-04 17:18:36 -0400 | [diff] [blame] | 2 | |
| 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 Khalasi | 18b53b8 | 2018-04-12 13:51:25 -0700 | [diff] [blame] | 23 | |
| 24 | - project: |
| 25 | name: xos |
| 26 | project: '{name}' |
| 27 | |
| 28 | jobs: |
Zack Williams | ba2aea0 | 2018-12-17 22:37:45 -0700 | [diff] [blame] | 29 | - 'verify-xos-jobs-licensed-versioned': |
| 30 | branch-regexp: '{supported-branches-regexp}' |
| 31 | - 'verify-xos-jobs-code': |
Kailash Khalasi | 18b53b8 | 2018-04-12 13:51:25 -0700 | [diff] [blame] | 32 | branch-regexp: '{supported-branches-regexp}' |
Zack Williams | 599f6b7 | 2019-04-16 17:05:34 -0700 | [diff] [blame] | 33 | - 'publish-xos-jobs': |
Zack Williams | b9ff6b1 | 2019-03-05 17:38:30 -0700 | [diff] [blame] | 34 | branch-regexp: '{supported-branches-regexp}' |
Kailash Khalasi | 18b53b8 | 2018-04-12 13:51:25 -0700 | [diff] [blame] | 35 | |
Zack Williams | ba2aea0 | 2018-12-17 22:37:45 -0700 | [diff] [blame] | 36 | # 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 Khalasi | 18b53b8 | 2018-04-12 13:51:25 -0700 | [diff] [blame] | 42 | - job-group: |
Zack Williams | ba2aea0 | 2018-12-17 22:37:45 -0700 | [diff] [blame] | 43 | name: 'verify-xos-jobs-licensed-versioned' |
Kailash Khalasi | 18b53b8 | 2018-04-12 13:51:25 -0700 | [diff] [blame] | 44 | jobs: |
| 45 | - 'verify-licensed' |
Zack Williams | b7a509a | 2018-06-22 17:00:50 -0700 | [diff] [blame] | 46 | - 'tag-collision-reject': |
Kailash Khalasi | 18b53b8 | 2018-04-12 13:51:25 -0700 | [diff] [blame] | 47 | dependency-jobs: 'verify_xos_licensed' |
Zack Williams | ba2aea0 | 2018-12-17 22:37:45 -0700 | [diff] [blame] | 48 | |
| 49 | - job-group: |
| 50 | name: 'verify-xos-jobs-code' |
| 51 | jobs: |
Zack Williams | dbdd236 | 2019-03-11 11:15:31 -0700 | [diff] [blame] | 52 | - 'python-unit-test': |
| 53 | build-timeout: 45 |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 54 | build-node: 'ubuntu18.04-basebuild-2c-4g' |
Kailash | c8170bb | 2019-03-26 10:06:55 -0700 | [diff] [blame] | 55 | - 'api-test': |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 56 | pipeline-script: 'xos-core.groovy' |
Zack Williams | 9d68aa3 | 2018-07-12 11:50:37 -0700 | [diff] [blame] | 57 | |
Zack Williams | b9ff6b1 | 2019-03-05 17:38:30 -0700 | [diff] [blame] | 58 | - job-group: |
Zack Williams | 599f6b7 | 2019-04-16 17:05:34 -0700 | [diff] [blame] | 59 | name: 'publish-xos-jobs' |
Zack Williams | b9ff6b1 | 2019-03-05 17:38:30 -0700 | [diff] [blame] | 60 | jobs: |
| 61 | - 'pypi-publish': |
Zack Williams | 8267cc8 | 2019-03-07 08:55:28 -0700 | [diff] [blame] | 62 | 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 Williams | b9ff6b1 | 2019-03-05 17:38:30 -0700 | [diff] [blame] | 63 | project-regexp: '^{name}$' |
| 64 | pypi-index: 'pypi' |
Matteo Scandolo | 02108aa | 2022-06-30 17:31:22 -0700 | [diff] [blame] | 65 | dependency-jobs: 'version-tag_wildcard' |
Zack Williams | 599f6b7 | 2019-04-16 17:05:34 -0700 | [diff] [blame] | 66 | - 'docker-publish': |
Joey Armstrong | ca4cb46 | 2023-01-12 17:51:05 -0500 | [diff] [blame] | 67 | maintainers: "onf-bat-admin@opennetworking.org, andy@opennetworking.org, scottb@opennetworking.org" |
Zack Williams | b030c65 | 2019-07-29 12:44:12 -0700 | [diff] [blame] | 68 | build-timeout: 30 |
Zack Williams | 599f6b7 | 2019-04-16 17:05:34 -0700 | [diff] [blame] | 69 | docker-repo: 'xosproject' |
Matteo Scandolo | 02108aa | 2022-06-30 17:31:22 -0700 | [diff] [blame] | 70 | dependency-jobs: 'version-tag_wildcard' |
Joey Armstrong | af679da | 2023-01-31 14:22:41 -0500 | [diff] [blame] | 71 | |
| 72 | # [EOF] |