Skip to content

fix: migrate to Policyfile#393

Open
damacus wants to merge 6 commits into
mainfrom
chore/migrate-policyfile
Open

fix: migrate to Policyfile#393
damacus wants to merge 6 commits into
mainfrom
chore/migrate-policyfile

Conversation

@damacus

@damacus damacus commented Jul 2, 2026

Copy link
Copy Markdown
Member

Summary

  • migrate cookbook dependency management from Berksfile to Policyfile
  • wire Kitchen/ChefSpec/Copilot setup to Policyfile and named run lists
  • remove stale Berks ignore entries
  • fix existing Cookstyle and markdownlint issues that would block CI

Validation

  • chef install Policyfile.rb
  • cookstyle
  • GEM_HOME=/opt/chef-workstation/embedded/lib/ruby/gems/3.1.0 GEM_PATH=/opt/chef-workstation/embedded/lib/ruby/gems/3.1.0 /opt/chef-workstation/embedded/bin/rspec --format documentation
  • KITCHEN_LOCAL_YAML=kitchen.dokken.yml kitchen list
  • yamllint .
  • markdownlint-cli2 '**/*.md'
  • actionlint
  • git diff --check

Notes

  • chef exec rspec hit a local macOS user-gem signature issue loading /Users/damacus/.chef/gem/ruby/3.1.0/gems/json-2.20.0/lib/json/ext/parser.bundle; the embedded Chef Workstation gem path passed with 7 examples, 0 failures.

@damacus damacus requested a review from a team as a code owner July 2, 2026 06:14
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

Slowest examples

Top 7 slowest examples (0 seconds, 100% of total time)
Example Description Time in seconds
spec/libraries/helpers_spec.rb:22 Php::Cookbook::Helpers#php_version rhel is expected to eq "7.2" 0.00664
spec/libraries/helpers_spec.rb:56 Php::Cookbook::Helpers#php_version debian ubuntu 20.04 is expected to eq "7.4" 0.00058
spec/libraries/helpers_spec.rb:29 Php::Cookbook::Helpers#php_version amazon is expected to eq "8.2" 0.00047
spec/libraries/helpers_spec.rb:50 Php::Cookbook::Helpers#php_version debian ubuntu 18.04 is expected to eq "7.2" 0.00046
spec/libraries/helpers_spec.rb:38 Php::Cookbook::Helpers#php_version debian debian 10 is expected to eq "7.3" 0.00043
spec/libraries/helpers_spec.rb:44 Php::Cookbook::Helpers#php_version debian debian 11 is expected to eq "7.4" 0.00042
spec/libraries/helpers_spec.rb:62 Php::Cookbook::Helpers#php_version debian ubuntu 22.04 is expected to eq "8.1" 0.00035

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant