-
Notifications
You must be signed in to change notification settings - Fork 136
69 lines (65 loc) · 2.74 KB
/
Copy pathdaily-network.yml
File metadata and controls
69 lines (65 loc) · 2.74 KB
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
---
name: Daily Tests - network
on: # yamllint disable-line rule:truthy
schedule:
- cron: '30 21 * * *' # every day at 21:30 UTC
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
pull_request:
paths:
- '.github/workflows/daily-network.yml'
jobs:
network:
name: ${{ matrix.test }} on ${{ matrix.container }} on ${{ matrix.architecture.tag }}
runs-on: ${{ matrix.architecture.runner }}
timeout-minutes: ${{ matrix.architecture.timeout }}
concurrency:
group: >
daily-network-${{ github.workflow }}-${{ github.ref }}
-${{ matrix.container }}-${{ matrix.test }}-${{ matrix.architecture.tag }}
cancel-in-progress: true
strategy:
fail-fast: false
matrix:
architecture:
- {runner: 'ubuntu-24.04', tag: 'amd', timeout: 20}
- {runner: 'ubuntu-24.04-arm', tag: 'arm', timeout: 60}
container:
- arch:latest
- debian:latest
- debian:sid
- fedora:latest
- opensuse:latest
- ubuntu:devel
- ubuntu:rolling
test:
- "31"
- "60"
- "61"
exclude:
- container: arch:latest
architecture: {runner: 'ubuntu-24.04-arm', tag: 'arm'}
- container: fedora:latest
architecture: {runner: 'ubuntu-24.04-arm', tag: 'arm'}
# https://github.com/dracut-ng/dracut-ng/issues/1988
- container: debian:sid
architecture: {runner: 'ubuntu-24.04-arm', tag: 'arm'}
# In Debian/Ubuntu both chrony and systemd-timesyncd provide
# the virtual package time-daemon, so systemd-timesyncd
# would have to be removed, breaking test 41.
- container: debian:latest
test: "61"
- container: debian:sid
test: "61"
- container: ubuntu:devel
test: "61"
- container: ubuntu:rolling
test: "61"
container:
image: ghcr.io/dracut-ng/${{ matrix.container }}
options: '--device=/dev/kvm --privileged'
steps:
- name: "Checkout Repository"
uses: actions/checkout@v6
- name: "${{ matrix.container }} TEST-${{ matrix.test }}"
run: ./test/test-container.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}