From 98c5f759675e58f14c8ebc62b68268e6f12f4823 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 24 Apr 2024 04:37:48 +0000 Subject: [PATCH] chore(deps): update dependency dafyddj/copier-packer-build to v1.1.1 --- .copier-answers.yml | 2 +- .github/workflows/libbuild.yml | 30 +++++++++++++++++------------- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index 350fd75..61205f8 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,4 +1,4 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v1.1.0 +_commit: v1.1.1 _src_path: gh:dafyddj/copier-packer-build box_name: techneg/tkl17-x64-nocm diff --git a/.github/workflows/libbuild.yml b/.github/workflows/libbuild.yml index bb5dd78..880de08 100644 --- a/.github/workflows/libbuild.yml +++ b/.github/workflows/libbuild.yml @@ -28,6 +28,7 @@ jobs: runs-on: ${{ inputs.build-runner }} timeout-minutes: ${{ inputs.timeout-minutes }} env: + CHEF_LICENSE: accept-silent MAKE_VARS: "" steps: - name: Checkout repository @@ -68,21 +69,24 @@ jobs: run: vagrant plugin install vagrant-qemu - name: Install Test Kitchen if: ${{ !startsWith(runner.name, 'self') }} + uses: actionshub/chef-install@d41f8dde8642d5cd05abefa333fbf2784cff830c # 3.0.0 + env: + # renovate: datasource=github-tags depName=chef/chef-workstation + CHEF_WS_VERSION: 24.2.1058 + with: + project: chef-workstation + version: ${{ env.CHEF_WS_VERSION }} + - name: Prepare Test Kitchen + env: + # renovate: datasource=rubygems depName=kitchen-salt + KITCHEN-SALT_VERSION: 0.7.2 run: | - echo ::group::Installing Chef Workstation - kernel_name=$(uname -s) - if [ "$kernel_name" == "Linux" ]; then - wget --no-verbose https://packages.chef.io/files/stable/chef-workstation/23.7.1042/ubuntu/22.04/chef-workstation_23.7.1042-1_amd64.deb - sudo dpkg --install chef-workstation_23.7.1042-1_amd64.deb - elif [ "$kernel_name" == "Darwin" ]; then - sudo echo "Refresh sudo cached credential" - brew install chef-workstation + if [[ "${{ inputs.build-type }}" == vbox* ]]; then + echo TECHNEG_VAGRANT_PROVIDER=virtualbox >> $GITHUB_ENV + fi + if [[ "${{ runner.name }}" != self* ]]; then + chef gem install kitchen-salt --version ${{ env.KITCHEN-SALT_VERSION }} fi - echo ::endgroup:: - chef -v - - name: Prepare Test Kitchen - if: startsWith(inputs.build-type, 'vbox') - run: echo TECHNEG_VAGRANT_PROVIDER=virtualbox >> $GITHUB_ENV - name: Run Test Kitchen env: TECHNEG_VAGRANT_BOX: ${{ steps.packer.outputs.vagrant-box }}