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