-
Notifications
You must be signed in to change notification settings - Fork 591
83 lines (77 loc) · 2.76 KB
/
nightly-spread.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
name: Nightly spread executions
# See https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#onschedule
on:
schedule:
# usual nitghtly run
- cron: '0 2 * * *'
# from current
- cron: '0 3 * * *'
# experimental features and openstack
- cron: '0 6 * * *'
workflow_dispatch:
inputs:
job:
type: choice
description: Job to run
options:
- spread-nightly
- spread-test-build-from-current
- spread-test-experimental
- spread-test-openstack
jobs:
spread-nightly:
if: ${{ github.event.schedule == '0 2 * * *' || (github.event_name == 'workflow_dispatch' && inputs.job == 'spread-nightly') }}
uses: ./.github/workflows/spread-tests.yaml
with:
runs-on: '["self-hosted", "spread-enabled"]'
group: google
backend: google
systems: 'ALL'
tasks: 'tests/nightly/...'
rules: ''
use-snapd-snap-from-master: true
spread-test-build-from-current:
if: ${{ github.event.schedule == '0 6 * * *' || (github.event_name == 'workflow_dispatch' && inputs.job == 'spread-test-build-from-current') }}
uses: ./.github/workflows/spread-tests.yaml
with:
runs-on: '["self-hosted", "spread-enabled"]'
group: ${{ matrix.group }}
backend: ${{ matrix.backend }}
systems: ${{ matrix.systems }}
tasks: 'tests/...'
rules: ''
use-snapd-snap-from-master: true
spread-snapd-deb-from-repo: false
strategy:
fail-fast: false
matrix:
include:
- group: google
backend: google
systems: 'ubuntu-18.04-64 ubuntu-20.04-64 ubuntu-22.04-64 ubuntu-24.04-64'
- group: debian-not-req
backend: google-distro-1
systems: 'debian-11-64 debian-12-64 debian-sid-64'
spread-test-experimental:
if: ${{ github.event.schedule == '0 3 * * *' || (github.event_name == 'workflow_dispatch' && inputs.job == 'spread-test-experimental') }}
uses: ./.github/workflows/spread-tests.yaml
with:
runs-on: '["self-hosted", "spread-enabled"]'
group: 'google'
backend: 'google'
systems: 'ubuntu-18.04-64 ubuntu-20.04-64 ubuntu-21.10-64 ubuntu-core-20-64'
tasks: 'tests/...'
rules: ''
use-snapd-snap-from-master: true
spread-experimental-features: gate-auto-refresh-hook
spread-test-openstack:
if: ${{ github.event.schedule == '0 3 * * *' || (github.event_name == 'workflow_dispatch' && inputs.job == 'spread-test-openstack') }}
uses: ./.github/workflows/spread-tests.yaml
with:
runs-on: '["self-hosted", "spread-enabled"]'
group: 'openstack'
backend: 'openstack'
systems: 'ALL'
tasks: 'tests/main/...'
rules: ''
use-snapd-snap-from-master: true