toolbox/.zuul.yaml
Debarshi Ray 4cd1c798b3 Test -Dmigration_path_for_coreos_toolbox on CentOS Stream 9
The code behind -Dmigration_path_for_coreos_toolbox is meant for Red Hat
Enterprise Linux 8 and 9.  Hence, it makes sense to use CentOS Stream 9
to run the 'unit tests' on the corresponding code path.

Note that, just like Fedora, Podman prefers crun(1) as its OCI runtime
on CentOS Stream 9 [1,2].

[1] Podman commit 060775901de09b27
    https://gitlab.com/redhat/centos-stream/rpms/podman/-/commit/060775901de09b27

[2] Podman commit f327e88a08ca224b
    https://gitlab.com/redhat/centos-stream/rpms/podman/-/commit/f327e88a08ca224b

https://github.com/containers/toolbox/pull/1171
2022-12-14 23:09:55 +01:00

92 lines
2.6 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#
# 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: 600
nodeset:
nodes:
- name: ci-node-36
label: cloud-fedora-36
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: system-test-fedora-rawhide
description: Run Toolbox's system tests in Fedora Rawhide
timeout: 3600
nodeset:
nodes:
- name: ci-node-rawhide
label: cloud-fedora-rawhide
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: 1200
nodeset:
nodes:
- name: ci-node-36
label: cloud-fedora-36
pre-run: playbooks/setup-env.yaml
run: playbooks/system-test.yaml
- job:
name: system-test-fedora-35
description: Run Toolbox's system tests in Fedora 35
timeout: 1200
nodeset:
nodes:
- name: ci-node-35
label: cloud-fedora-35
pre-run: playbooks/setup-env.yaml
run: playbooks/system-test.yaml
- project:
periodic:
jobs:
- system-test-fedora-rawhide
- system-test-fedora-36
- system-test-fedora-35
check:
jobs:
- unit-test
- unit-test-migration-path-for-coreos-toolbox
- system-test-fedora-rawhide
- system-test-fedora-36
- system-test-fedora-35
gate:
jobs:
- unit-test
- unit-test-migration-path-for-coreos-toolbox
- system-test-fedora-rawhide
- system-test-fedora-36
- system-test-fedora-35