Automated PR: Standardising Files (#513) #430
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: | |
os: | |
- "debian-11" | |
- "debian-12" | |
- "ubuntu-2004" | |
- "ubuntu-2204" | |
- "centos-stream-8" | |
- "centos-stream-9" | |
- "fedora-latest" | |
suite: | |
- config-2 | |
- config-3 | |
- config-acl | |
- config-array | |
- config-backend-search | |
- config-custom-template | |
- config-fastcgi | |
- config-resolver | |
- config-ssl-redirect | |
- "package" | |
- "source-24" | |
- "source-26" | |
- "source-28" | |
- "source-29" | |
- "source-lua" | |
- "source-default" | |
# - "source-openssl" | |
# OpenSSSL libraries are not currently compiling correctly | |
# see https://github.com/sous-chefs/haproxy/issues/503 | |
fail-fast: false | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 # v4 | |
- name: Install Chef | |
uses: actionshub/chef-install@main | |
- name: Dokken | |
uses: actionshub/test-kitchen@main | |
env: | |
CHEF_LICENSE: accept-no-persist | |
KITCHEN_LOCAL_YAML: kitchen.dokken.yml | |
with: | |
suite: ${{ matrix.suite }} | |
os: ${{ matrix.os }} | |
integration-amazonlinux: | |
needs: lint-unit | |
runs-on: ubuntu-24.04 | |
strategy: | |
matrix: | |
os: | |
- "amazonlinux-2023" | |
suite: | |
- "package" | |
- "source-24" | |
- "source-26" | |
- "source-28" | |
- "source-29" | |
- "source-default" | |
fail-fast: false | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 # 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 }} | |
lua_test: | |
needs: lint-unit | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
os: | |
- "centos-7" | |
suite: | |
- "source-lua" | |
fail-fast: false | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 # 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 }} | |
configtest: | |
needs: lint-unit | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
os: | |
- "centos-7" | |
- "centos-stream-8" | |
suite: | |
- "config-2" | |
- "config-3" | |
- "config-backend-search" | |
- "config-acl" | |
- "config-resolver" | |
- "config-ssl-redirect" | |
- "config-custom-template" | |
- "config-custom-template" | |
- "config-array" | |
- "config-fastcgi" | |
fail-fast: false | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 # 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 }} |