- Notifications
You must be signed in to change notification settings - Fork2.5k
Add oci? helper#12061
Workflow file for this run
This file contains hidden or 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:kitchen | |
"on": | |
pull_request: | |
push: | |
branches: | |
-main | |
concurrency: | |
group:kitchen-${{ github.ref }} | |
cancel-in-progress:true | |
defaults: | |
run: | |
working-directory:kitchen-tests | |
jobs: | |
win_x86_64: | |
strategy: | |
fail-fast:false | |
matrix: | |
os: | |
-windows-2019 | |
-windows-2022 | |
runs-on:${{ matrix.os }} | |
env: | |
CHEF_LICENSE:accept-no-persist | |
KITCHEN_LOCAL_YAML:kitchen.exec.windows.yml | |
steps: | |
-uses:actions/checkout@v4 | |
-name:Install Chef | |
uses:actionshub/chef-install@3.0.0 | |
-name:Kitchen Test | |
run:kitchen test end-to-end-${{ matrix.os }} | |
mac_x86_64: | |
strategy: | |
fail-fast:false | |
matrix: | |
os: | |
-macos-13 | |
runs-on:${{ matrix.os }} | |
env: | |
CHEF_LICENSE:accept-no-persist | |
KITCHEN_LOCAL_YAML:kitchen.exec.macos.yml | |
steps: | |
-name:Check out code | |
uses:actions/checkout@v4 | |
with: | |
clean:true | |
-name:Install Chef | |
uses:actionshub/chef-install@3.0.0 | |
-name:Kitchen Test | |
run:kitchen test end-to-end-${{ matrix.os }} | |
mac_arm64: | |
strategy: | |
fail-fast:false | |
matrix: | |
os: | |
-macos-14# currently macos-latest | |
-macos-15 | |
runs-on:${{ matrix.os }} | |
env: | |
CHEF_LICENSE:accept-no-persist | |
KITCHEN_LOCAL_YAML:kitchen.exec.macos.yml | |
steps: | |
-name:Check out code | |
uses:actions/checkout@v4 | |
with: | |
clean:true | |
-name:Install Chef | |
uses:actionshub/chef-install@3.0.0 | |
-name:Kitchen Test | |
run:kitchen test end-to-end-${{ matrix.os }} | |
docr_lnx_x86_64: | |
strategy: | |
fail-fast:false | |
matrix: | |
os: | |
-amazonlinux-2023 | |
-almalinux-8 | |
-almalinux-9 | |
-debian-11 | |
-debian-12 | |
-fedora-40 | |
# fedora-latest | |
-opensuse-leap-15 | |
-oraclelinux-8 | |
-oraclelinux-9 | |
-rockylinux-8 | |
-rockylinux-9 | |
-ubuntu-2004 | |
-ubuntu-2204 | |
# - ubuntu-2404 | |
runs-on:ubuntu-latest | |
env: | |
FORCE_FFI_YAJL:ext | |
CHEF_LICENSE:accept-no-persist | |
KITCHEN_LOCAL_YAML:kitchen.dokken.yml | |
steps: | |
-name:Check out code | |
uses:actions/checkout@v4 | |
-name:Install Chef | |
uses:actionshub/chef-install@3.0.0 | |
-name:Kitchen Test | |
run:kitchen test end-to-end-${{ matrix.os }} | |
vm_lnx_x86_64: | |
strategy: | |
fail-fast:false | |
matrix: | |
os: | |
-amazonlinux-2 | |
-amazonlinux-2023 | |
-almalinux-8 | |
-almalinux-9 | |
-debian-11 | |
-debian-12 | |
-fedora-40 | |
# fedora-latest | |
-opensuse-leap-15 | |
-oracle-7 | |
-oracle-8 | |
-oracle-9 | |
-rockylinux-8 | |
-rockylinux-9 | |
-ubuntu-2004 | |
-ubuntu-2204 | |
# - ubuntu-2404 | |
runs-on:ubuntu-latest | |
env: | |
CHEF_LICENSE:accept-no-persist | |
KITCHEN_LOCAL_YAML:kitchen.linux.ci.yml | |
steps: | |
-uses:actions/checkout@v4 | |
-name:Install Vagrant and VirtualBox | |
run:| | |
wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor | sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg | |
wget -O- https://www.virtualbox.org/download/oracle_vbox_2016.asc | gpg --dearmor | sudo tee /usr/share/keyrings/oracle-virtualbox-2016.gpg | |
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list | |
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] https://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list | |
sudo apt-get update | |
sudo apt-get install -y vagrant virtualbox-7.0 | |
sudo vagrant --version | |
sudo VBoxManage --version | |
-name:Install Chef | |
uses:actionshub/chef-install@3.0.0 | |
-name:Kitchen Test | |
run:export LOGNAME=$USER && kitchen test end-to-end-${{ matrix.os }} |