Skip to content

Commit

Permalink
chore(deps): update dependency dafyddj/copier-packer-build to v1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and dafyddj committed Apr 24, 2024
1 parent b6ea696 commit 98c5f75
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -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
30 changes: 17 additions & 13 deletions .github/workflows/libbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 98c5f75

Please sign in to comment.