Improve firewalld support #372
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | ||
"on": | ||
pull_request: | ||
push: | ||
branches: [main] | ||
jobs: | ||
lint-unit: | ||
uses: sous-chefs/.github/.github/workflows/[email protected] | ||
permissions: | ||
actions: write | ||
checks: write | ||
pull-requests: write | ||
statuses: write | ||
issues: write | ||
integration: | ||
needs: lint-unit | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
include: | ||
# Default suite | ||
- suite: default | ||
os: almalinux-8 | ||
- suite: default | ||
os: almalinux-9 | ||
- suite: default | ||
os: almalinux-10 | ||
- suite: default | ||
os: amazonlinux-2023 | ||
- suite: default | ||
os: centos-stream-9 | ||
- suite: default | ||
os: centos-stream-10 | ||
- suite: default | ||
os: debian-11 | ||
- suite: default | ||
os: debian-12 | ||
- suite: default | ||
os: fedora-latest | ||
- suite: default | ||
os: opensuse-leap-15 | ||
- suite: default | ||
os: oracle-8 | ||
- suite: default | ||
os: oracle-9 | ||
- suite: default | ||
os: rockylinux-8 | ||
- suite: default | ||
os: rockylinux-9 | ||
- suite: default | ||
os: ubuntu-20.04 | ||
- suite: default | ||
os: ubuntu-22.04 | ||
- suite: default | ||
os: ubuntu-24.04 | ||
# Firewalld simple suite | ||
- suite: firewalld-simple | ||
os: almalinux-8 | ||
- suite: firewalld-simple | ||
os: almalinux-9 | ||
- suite: firewalld-simple | ||
os: almalinux-10 | ||
- suite: firewalld-simple | ||
os: amazonlinux-2023 | ||
- suite: firewalld-simple | ||
os: centos-stream-9 | ||
- suite: firewalld-simple | ||
os: centos-stream-10 | ||
- suite: firewalld-simple | ||
os: debian-11 | ||
- suite: firewalld-simple | ||
os: debian-12 | ||
- suite: firewalld-simple | ||
os: fedora-latest | ||
- suite: firewalld-simple | ||
os: opensuse-leap-15 | ||
- suite: firewalld-simple | ||
os: oracle-8 | ||
- suite: firewalld-simple | ||
os: oracle-9 | ||
- suite: firewalld-simple | ||
os: rockylinux-8 | ||
- suite: firewalld-simple | ||
os: rockylinux-9 | ||
- suite: firewalld-simple | ||
os: ubuntu-20.04 | ||
- suite: firewalld-simple | ||
os: ubuntu-22.04 | ||
- suite: firewalld-simple | ||
os: ubuntu-24.04 | ||
# UFW suite | ||
- suite: ufw | ||
os: almalinux-8 | ||
- suite: ufw | ||
os: almalinux-9 | ||
- suite: ufw | ||
os: centos-stream-9 | ||
- suite: ufw | ||
os: debian-11 | ||
- suite: ufw | ||
os: debian-12 | ||
- suite: ufw | ||
os: fedora-latest | ||
- suite: ufw | ||
os: oracle-8 | ||
- suite: ufw | ||
os: oracle-9 | ||
- suite: ufw | ||
os: rockylinux-8 | ||
- suite: ufw | ||
os: rockylinux-9 | ||
- suite: ufw | ||
os: ubuntu-20.04 | ||
- suite: ufw | ||
os: ubuntu-22.04 | ||
- suite: ufw | ||
os: ubuntu-24.04 | ||
# Iptables suite | ||
- suite: iptables | ||
os: almalinux-8 | ||
- suite: iptables | ||
os: almalinux-9 | ||
- suite: iptables | ||
os: almalinux-10 | ||
- suite: iptables | ||
os: amazonlinux-2023 | ||
- suite: iptables | ||
os: centos-stream-9 | ||
- suite: iptables | ||
os: centos-stream-10 | ||
- suite: iptables | ||
os: debian-11 | ||
- suite: iptables | ||
os: debian-12 | ||
- suite: iptables | ||
os: fedora-latest | ||
- suite: iptables | ||
os: oracle-8 | ||
- suite: iptables | ||
os: rockylinux-8 | ||
- suite: iptables | ||
os: rockylinux-9 | ||
- suite: iptables | ||
os: ubuntu-20.04 | ||
- suite: iptables | ||
os: ubuntu-22.04 | ||
- suite: iptables | ||
os: ubuntu-24.04 | ||
# NFTables suite | ||
- suite: nftables | ||
os: debian-11 | ||
- suite: nftables | ||
os: debian-12 | ||
- suite: nftables | ||
os: oracle-8 | ||
- suite: nftables | ||
os: oracle-9 | ||
# Firewalld advanced suite | ||
- suite: firewalld-advanced | ||
os: almalinux-8 | ||
- suite: firewalld-advanced | ||
os: almalinux-9 | ||
- suite: firewalld-advanced | ||
os: almalinux-10 | ||
- suite: firewalld-advanced | ||
os: amazonlinux-2023 | ||
- suite: firewalld-advanced | ||
os: centos-stream-9 | ||
- suite: firewalld-advanced | ||
os: centos-stream-10 | ||
- suite: firewalld-advanced | ||
os: debian-11 | ||
- suite: firewalld-advanced | ||
os: debian-12 | ||
- suite: firewalld-advanced | ||
os: fedora-latest | ||
- suite: firewalld-advanced | ||
os: opensuse-leap-15 | ||
- suite: firewalld-advanced | ||
os: oracle-8 | ||
- suite: firewalld-advanced | ||
os: oracle-9 | ||
- suite: firewalld-advanced | ||
os: rockylinux-8 | ||
- suite: firewalld-advanced | ||
os: rockylinux-9 | ||
- suite: firewalld-advanced | ||
os: ubuntu-22.04 | ||
- suite: firewalld-advanced | ||
os: ubuntu-24.04 | ||
# TODO: Windows suite | ||
# - suite: windows | ||
# os: windows-2016 | ||
# - suite: windows | ||
# os: windows-2019 | ||
fail-fast: false | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
- name: Install Chef | ||
uses: actionshub/[email protected] | ||
- name: Dokken | ||
uses: actionshub/[email protected] | ||
env: | ||
CHEF_LICENSE: accept-no-persist | ||
KITCHEN_LOCAL_YAML: kitchen.dokken.yml | ||
with: | ||
suite: ${{ matrix.suite }} | ||
os: ${{ matrix.os }} |