Skip to content

fix: migrate to Policyfile#195

Merged
damacus merged 9 commits into
mainfrom
chore/migrate-to-policyfile
Jul 9, 2026
Merged

fix: migrate to Policyfile#195
damacus merged 9 commits into
mainfrom
chore/migrate-to-policyfile

Conversation

@damacus

@damacus damacus commented Jul 2, 2026

Copy link
Copy Markdown
Member

Summary

  • replace Berksfile with Policyfile.rb
  • switch ChefSpec to Policyfile support
  • update Copilot setup to run chef install Policyfile.rb

Verification

  • chef install Policyfile.rb
  • cookstyle --no-server --cache-root /private/tmp/rubocop_cache
  • /opt/homebrew/bin/markdownlint-cli2 "**/*.md"
  • env GEM_PATH=/opt/chef-workstation/embedded/lib/ruby/gems/3.1.0 /opt/chef-workstation/embedded/bin/rspec
  • git diff --check
  • kitchen list
  • KITCHEN_LOCAL_YAML=kitchen.dokken.yml kitchen list

This change is Reviewable

@damacus
damacus requested a review from a team as a code owner July 2, 2026 01:34
@damacus damacus changed the title chore: migrate to Policyfile fix: migrate to Policyfile Jul 2, 2026
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

Slowest examples

Top 10 slowest examples (0.7 seconds, 99.99% of total time)
Example Description Time in seconds
spec/libraries/cruby_spec.rb:13 #cruby_package_deps CentOS CentOS 7 is expected to write log "gcc, bzip2, openssl-devel, libyaml-devel, libffi-devel, readline-devel, zlib-devel, gdbm-devel, ncurses-devel, make, patch" 0.14045
spec/resources/install_spec.rb:14 test::default AlmaLinux 8 is expected to create yum_epel "default" 0.12697
spec/resources/install_spec.rb:13 test::default AlmaLinux 8 is expected to run execute "yum-config-manager --enable powertools" 0.06775
spec/resources/install_spec.rb:12 test::default AlmaLinux 8 is expected to install package "yum-utils" 0.06421
spec/resources/install_spec.rb:15 test::default AlmaLinux 8 is expected not to include recipe "yum-epel::default" 0.05882
spec/libraries/cruby_spec.rb:18 #cruby_package_deps CentOS CentOS 8 is expected to write log "gcc, bzip2, openssl-devel, libyaml-devel, libffi-devel, readline-devel, zlib-devel, gdbm-devel, ncurses-devel, make, patch" 0.0537
spec/libraries/cruby_spec.rb:33 #cruby_package_deps CentOS Ubuntu 16.04 is expected to write log "gcc, autoconf, bison, build-essential, libssl-dev, libyaml-dev, libreadline6-dev, zlib1g-dev, libncurses5-dev, libffi-dev, libgdbm3, libgdbm-dev, make, patch" 0.05272
spec/libraries/cruby_spec.rb:23 #cruby_package_deps CentOS Debian 9 is expected to write log "gcc, autoconf, bison, build-essential, libssl-dev, libyaml-dev, libreadline6-dev, zlib1g-dev, libncurses5-dev, libffi-dev, libgdbm3, libgdbm-dev, make, patch" 0.04946
spec/libraries/cruby_spec.rb:38 #cruby_package_deps CentOS Ubuntu 18.04 is expected to write log "gcc, autoconf, bison, build-essential, libssl-dev, libyaml-dev, libreadline6-dev, zlib1g-dev, libncurses5-dev, libffi-dev, libgdbm5, libgdbm-dev, make, patch" 0.04905
spec/libraries/cruby_spec.rb:28 #cruby_package_deps CentOS Debian 10 is expected to write log "gcc, autoconf, bison, build-essential, libssl-dev, libyaml-dev, libreadline6-dev, zlib1g-dev, libncurses5-dev, libffi-dev, libgdbm6, libgdbm-dev, make, patch" 0.04461

@damacus
damacus merged commit f5cce67 into main Jul 9, 2026
15 checks passed
@damacus
damacus deleted the chore/migrate-to-policyfile branch July 9, 2026 09:49
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