de652f4102
This is meant to roughly replicate the build environments used by downstream distributors to build toolbox(1). These can be restricted in odd ways compared to a fully featured environment where toolbox(1) is actually going to be used. eg., the inability to use podman(1) in the case of Fedora or not having subordinate user and group ID ranges in the case of openSUSE. It's important to ensure that toolbox(1) can be built by downstream distributors without any unnecessary hassle. https://github.com/containers/podman/issues/17657 https://github.com/containers/toolbox/issues/1246
105 lines
3 KiB
YAML
105 lines
3 KiB
YAML
#
|
||
# Copyright © 2020 – 2022 Red Hat, Inc.
|
||
#
|
||
# 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.
|
||
#
|
||
|
||
---
|
||
- job:
|
||
name: unit-test
|
||
description: Run Toolbox's unit tests declared in Meson
|
||
timeout: 1800
|
||
nodeset:
|
||
nodes:
|
||
- name: fedora-rawhide
|
||
label: cloud-fedora-rawhide
|
||
pre-run: playbooks/setup-env.yaml
|
||
run: playbooks/unit-test.yaml
|
||
|
||
- job:
|
||
name: unit-test-migration-path-for-coreos-toolbox
|
||
description: Run Toolbox's unit tests declared in Meson when built with -Dmigration_path_for_coreos_toolbox
|
||
timeout: 600
|
||
nodeset:
|
||
nodes:
|
||
- name: centos-9-stream
|
||
label: cloud-centos-9-stream
|
||
pre-run: playbooks/setup-env-migration-path-for-coreos-toolbox.yaml
|
||
run: playbooks/unit-test.yaml
|
||
|
||
- job:
|
||
name: unit-test-restricted
|
||
description: Run Toolbox's unit tests declared in Meson in a restricted build environment
|
||
timeout: 1800
|
||
nodeset:
|
||
nodes:
|
||
- name: fedora-rawhide
|
||
label: cloud-fedora-rawhide
|
||
pre-run: playbooks/setup-env-restricted.yaml
|
||
run: playbooks/unit-test.yaml
|
||
|
||
- job:
|
||
name: system-test-fedora-rawhide
|
||
description: Run Toolbox's system tests in Fedora Rawhide
|
||
timeout: 3600
|
||
nodeset:
|
||
nodes:
|
||
- name: fedora-rawhide
|
||
label: cloud-fedora-rawhide
|
||
pre-run: playbooks/setup-env.yaml
|
||
run: playbooks/system-test.yaml
|
||
|
||
- job:
|
||
name: system-test-fedora-37
|
||
description: Run Toolbx's system tests in Fedora 37
|
||
timeout: 2400
|
||
nodeset:
|
||
nodes:
|
||
- name: fedora-37
|
||
label: cloud-fedora-37
|
||
pre-run: playbooks/setup-env.yaml
|
||
run: playbooks/system-test.yaml
|
||
|
||
- job:
|
||
name: system-test-fedora-36
|
||
description: Run Toolbx's system tests in Fedora 36
|
||
timeout: 2400
|
||
nodeset:
|
||
nodes:
|
||
- name: fedora-36
|
||
label: cloud-fedora-36
|
||
pre-run: playbooks/setup-env.yaml
|
||
run: playbooks/system-test.yaml
|
||
|
||
- project:
|
||
periodic:
|
||
jobs:
|
||
- system-test-fedora-rawhide
|
||
- system-test-fedora-37
|
||
- system-test-fedora-36
|
||
check:
|
||
jobs:
|
||
- unit-test
|
||
- unit-test-migration-path-for-coreos-toolbox
|
||
- unit-test-restricted
|
||
- system-test-fedora-rawhide
|
||
- system-test-fedora-37
|
||
- system-test-fedora-36
|
||
gate:
|
||
jobs:
|
||
- unit-test
|
||
- unit-test-migration-path-for-coreos-toolbox
|
||
- unit-test-restricted
|
||
- system-test-fedora-rawhide
|
||
- system-test-fedora-37
|
||
- system-test-fedora-36
|