Skip to content

chore: add frozen_string_literal and apt_update to test recipes - #56

Merged
damacus merged 6 commits into
mainfrom
fix/modernize-standards
Nov 26, 2026
Merged

damacus merged 6 commits into
mainfrom
fix/modernize-standards

Conversation

@damacus

@damacus damacus commented Mar 19, 2026

Copy link
Copy Markdown
Member
  • 11 files missing frozen_string_literal: true
  • 1 test recipe missing apt_update

…t_update

- Replace legacy Spork spec_helper with modern ChefSpec

- Add github_deploy resource spec (3 examples, 0 failures)

- Add frozen_string_literal to 11 files

- Add apt_update to test recipe

- Replace all EOL platforms with current non-EOL in kitchen.yml, kitchen.dokken.yml, CI
@damacus
damacus force-pushed the fix/modernize-standards branch from e67fa33 to 96311f2 Compare March 19, 2026 11:22
@damacus
damacus requested a review from a team as a code owner March 19, 2026 11:22
@damacus
damacus force-pushed the fix/modernize-standards branch 2 times, most recently from 0ac93cd to 8b718da Compare March 19, 2026 11:35
- Pin release workflow to @main (was @5.0.8)

- Add slack_bot_token and slack_channel_id secrets

- Add .rubocop.yml with cookstyle require
@damacus
damacus force-pushed the fix/modernize-standards branch from 8b718da to f27a844 Compare March 19, 2026 11:38
damacus added 2 commits April 10, 2026 11:30
Replace actionshub/chef-install with Cinc composite action.

Use cincproject/cinc Docker image and product_name: cinc in Dokken.

Remove CHEF_LICENSE env vars (Cinc doesn't need them).
… images

Cinc Docker images use 'latest' tag, not 'current' like Chef.
@damacus damacus changed the title fix: add frozen_string_literal and apt_update to test recipes chore: add frozen_string_literal and apt_update to test recipes Apr 15, 2026
@github-actions

Copy link
Copy Markdown

Slowest examples

Top 10 slowest examples (0.14 seconds, 100% of total time)
Example Description Time in seconds
spec/resources/deploy_spec.rb:19 github_deploy deploy action is expected to create directory "/opt/deployments/test-repo/releases" 0.0491
spec/resources/deploy_spec.rb:20 github_deploy deploy action is expected to create directory "/opt/deployments/test-repo/shared" 0.04345
spec/resources/deploy_spec.rb:21 github_deploy deploy action is expected to create link "/opt/deployments/test-repo/current" 0.03808
spec/libraries/github_asset_spec.rb:22 GithubCB::Asset returns a matching first-page asset without requesting more pages 0.00837
spec/libraries/github_asset_spec.rb:29 GithubCB::Asset uses JSON when the embedded Sawyer default cannot provide a serializer 0.00261
spec/libraries/github_asset_spec.rb:76 GithubCB::Asset does not discard an authenticated draft or prerelease returned by the API 0.00121
spec/libraries/github_asset_spec.rb:48 GithubCB::Asset finds an older release on a later page 0.00076
spec/libraries/github_asset_spec.rb:62 GithubCB::Asset raises AssetNotFound when the matching release has no matching asset 0.00067
spec/libraries/github_asset_spec.rb:55 GithubCB::Asset raises ReleaseNotFound after reaching an empty page 0.00066
spec/libraries/github_asset_spec.rb:69 GithubCB::Asset propagates errors from a later release page 0.00064

@damacus
damacus merged commit fa01f65 into main Nov 26, 2026
39 of 40 checks passed
@damacus
damacus deleted the fix/modernize-standards branch November 26, 2026 16:11
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