Skip to content

Commit

Permalink
use CHEF_VERSION environment variable in kitchen.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Dean <ben.dean@finvi.com>
  • Loading branch information
b-dean committed May 20, 2023
1 parent 22c854b commit 2910e01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
- name: Dokken
uses: actionshub/test-kitchen@2.1.0
env:
CHEF_VERSION: 17
CHEF_LICENSE: accept-no-persist
KITCHEN_LOCAL_YAML: kitchen.dokken.yml
with:
Expand All @@ -86,6 +87,7 @@ jobs:
- name: Dokken
uses: actionshub/test-kitchen@2.1.0
env:
CHEF_VERSION: 17
CHEF_LICENSE: accept-no-persist
KITCHEN_LOCAL_YAML: kitchen.dokken.yml
with:
Expand Down Expand Up @@ -118,6 +120,7 @@ jobs:
- name: Dokken
uses: actionshub/test-kitchen@2.1.0
env:
CHEF_VERSION: 17
CHEF_LICENSE: accept-no-persist
with:
suite: ${{ matrix.suite }}
Expand Down
2 changes: 1 addition & 1 deletion kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ driver:
provisioner:
name: chef_infra
product_name: <%= ENV['CHEF_PRODUCT_NAME'] || 'chef' %>
product_version: 17
product_version: <%= ENV['CHEF_VERSION'] || '17' %>
enforce_idempotency: true
multiple_converge: 2
deprecations_as_errors: true
Expand Down

0 comments on commit 2910e01

Please sign in to comment.