fix(ci): Update workflows to use release pipeline #256
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: "Lint & Unit Test" | |
| "on": | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| lint-unit: | |
| uses: sous-chefs/.github/.github/workflows/lint-unit.yml@4.0.0 | |
| permissions: | |
| actions: write | |
| checks: write | |
| pull-requests: write | |
| statuses: write | |
| issues: write | |
| integration: | |
| needs: lint-unit | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| os: | |
| - almalinux-8 | |
| - almalinux-9 | |
| - amazonlinux-2023 | |
| - debian-11 | |
| - debian-12 | |
| - centos-stream-9 | |
| - fedora-latest | |
| - ubuntu-2004 | |
| - ubuntu-2204 | |
| - ubuntu-2404 | |
| - rockylinux-8 | |
| - rockylinux-9 | |
| suite: | |
| - create | |
| - remove | |
| - create-thin | |
| - resize | |
| - resize-thin | |
| - resize-thin-pool-meta-data | |
| fail-fast: false | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v5 | |
| - name: Setup HashiCorp Vagrant | |
| run: | | |
| wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.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 | |
| sudo apt update | |
| sudo apt install -y vagrant | |
| - name: Setup Virtualbox | |
| run: | | |
| 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 | |
| wget -O- https://www.virtualbox.org/download/oracle_vbox_2016.asc | sudo gpg --yes --output /usr/share/keyrings/oracle-virtualbox-2016.gpg --dearmor | |
| sudo apt-get update | |
| sudo apt-get install -y build-essential software-properties-common virtualbox | |
| - name: Check versions | |
| run: | | |
| vagrant --version | |
| vboxmanage --version | |
| - name: Install Chef | |
| uses: actionshub/chef-install@3.0.1 | |
| - name: test-kitchen | |
| uses: actionshub/test-kitchen@3.0.0 | |
| env: | |
| CHEF_LICENSE: accept-no-persist | |
| with: | |
| suite: ${{ matrix.suite }} | |
| os: ${{ matrix.os }} |