toolbox/.zuul.yaml
Debarshi Ray 53a7ac0f9e .zuul: Try to prevent the CI from timing out running the unit tests
Currently, the CI has been frequently timing out when running the unit
tests. It's possible that the current 5 minute timeout isn't enough,
because it's significantly lower than the 20 minute timeout on stable
Fedoras for the system tests.

Increase the timeout to 10 minutes to see if that makes the CI more
stable.

https://github.com/containers/toolbox/pull/970
2022-01-05 00:54:25 +01:00

67 lines
1.8 KiB
YAML

---
- job:
name: unit-test
description: Run Toolbox's unit tests declared in Meson
timeout: 600
files: ['playbooks/*', 'src/*', 'meson.build', 'meson_options.txt', '.zuul.yaml']
nodeset:
nodes:
- name: ci-node-34
label: cloud-fedora-34-small
pre-run: playbooks/setup-env.yaml
run: playbooks/unit-test.yaml
- job:
name: system-test-fedora-34
description: Run Toolbox's system tests in Fedora 34
timeout: 1200
files: &system_test_files ['data/*', 'playbooks/*', 'profile.d/*', 'src/*', 'meson.build', 'meson_options.txt', '.zuul.yaml']
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-35
description: Run Toolbox's system tests in Fedora 35
timeout: 1200
files: *system_test_files
nodeset:
nodes:
- name: ci-node-35
label: cloud-fedora-35-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: 2700
files: *system_test_files
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-34
- system-test-fedora-35
- system-test-fedora-rawhide
check:
jobs:
- unit-test
- system-test-fedora-34
- system-test-fedora-35
- system-test-fedora-rawhide
gate:
jobs:
- unit-test
- system-test-fedora-34
- system-test-fedora-35
- system-test-fedora-rawhide