toolbox/.zuul.yaml
Ondřej Míchal b91a93044b Connect Go unit tests to Meson & rename CI job
We now have some Go unit tests[0] and we should use them. By adding a
new test case to Meson, the existing CI job called "shellcheck" has no
longer an accurate name. With this it has been renamed to "unit-test".
Also, the job is now more important and therefore should also be used
for gating.

[0] https://github.com/containers/toolbox/pull/474

https://github.com/containers/toolbox/pull/730
2021-03-21 22:20:59 +01:00

76 lines
1.9 KiB
YAML

---
- job:
name: unit-test
description: Run Toolbox's unit tests declared in Meson
timeout: 300
nodeset:
nodes:
- name: ci-node-32
label: cloud-fedora-32-small
run: playbooks/unit-test.yaml
- job:
name: system-test-fedora-32
description: Run Toolbox's system tests in Fedora 32
timeout: 1200
nodeset:
nodes:
- name: ci-node-32
label: cloud-fedora-32-small
pre-run: playbooks/setup-env.yaml
run: playbooks/system-test.yaml
- job:
name: system-test-fedora-33
description: Run Toolbox's system tests in Fedora 33
timeout: 1200
nodeset:
nodes:
- name: ci-node-33
label: cloud-fedora-33-small
pre-run: playbooks/setup-env.yaml
run: playbooks/system-test.yaml
- job:
name: system-test-fedora-34
description: Run Toolbox's system tests in Fedora 34
timeout: 1200
nodeset:
nodes:
- name: ci-node-34
label: cloud-fedora-34-small
pre-run: playbooks/setup-env.yaml
run: playbooks/system-test.yaml
- job:
name: system-test-fedora-rawhide
description: Run Toolbox's system tests in Fedora Rawhide
timeout: 1200
nodeset:
nodes:
- name: ci-node-rawhide
label: cloud-fedora-rawhide-small
pre-run: playbooks/setup-env.yaml
run: playbooks/system-test.yaml
- project:
periodic:
jobs:
- system-test-fedora-32
- system-test-fedora-33
- system-test-fedora-34
- system-test-fedora-rawhide
check:
jobs:
- unit-test
- system-test-fedora-32
- system-test-fedora-33
- system-test-fedora-34
- system-test-fedora-rawhide
gate:
jobs:
- unit-test
- system-test-fedora-32
- system-test-fedora-33
- system-test-fedora-34
- system-test-fedora-rawhide