| name: vm | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| # Cancel stale PR runs without interrupting push, tag, scheduled, or | |
| # manually dispatched validation. | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| permissions: | |
| contents: read | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - 'master' | |
| - '[0-9]+.[0-9]+' | |
| - '[0-9]+.x' | |
| pull_request: | |
| jobs: | |
| validate-dco: | |
| permissions: | |
| pull-requests: read | |
| uses: ./.github/workflows/.dco.yml | |
| vm: | |
| needs: | |
| - validate-dco | |
| uses: ./.github/workflows/.vm.yml | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| # EL 8 is used for running the tests with cgroup v1. | |
| # Do not upgrade this to EL 9 until formally deprecating the cgroup v1 support. | |
| - template: template:almalinux-8 | |
| # openSUSE Tumbleweed is a rolling release, and provides coverage for | |
| # a recent kernel and SELinux in enforcing mode | |
| - template: template:experimental/opensuse-tumbleweed | |
| with: | |
| template: ${{ matrix.template }} | |
| # To minimize CI time the whole test suite takes, focus on a subset of | |
| # integration packages that currently contain cgroup-v1/v2 specific | |
| # coverage (cgroup namespaces, cgroup driver/systemd, and resource | |
| # update verification via /sys/fs/cgroup paths) and networking. | |
| integration_dir: ./integration/container ./integration/build ./integration/system ./integration/network ./integration/networking |