Skip to content

Automated PR: Standardising Files#288

Merged
ramereth merged 1 commit intomainfrom
automated/standardfiles
Sep 19, 2025
Merged

Automated PR: Standardising Files#288
ramereth merged 1 commit intomainfrom
automated/standardfiles

Conversation

@kitchen-porter
Copy link
Copy Markdown
Contributor

This PR will standardise the files we have with out agreed spec in sous-chefs/repo-management.
This repo has been identified by topic(s) of chef-cookbook

Signed-off-by: kitchen-porter <board@sous-chefs.org>
@kitchen-porter kitchen-porter requested a review from a team as a code owner September 19, 2025 14:03
@github-actions
Copy link
Copy Markdown

😰 RSpec failure

86 examples, 19 failures
Example Description Message
spec/libraries/default_spec.rb:13 Ark::ProviderHelpers#owner_command when on windows generates a icacls command uninitialized constant OpenStruct let(:new_resource) { OpenStruct.new(resource_properties) } ^^^^^^^^^^
spec/libraries/default_spec.rb:22 Ark::ProviderHelpers#owner_command when not on windows generates a chown command uninitialized constant OpenStruct let(:new_resource) { OpenStruct.new(resource_properties) } ^^^^^^^^^^
spec/libraries/default_spec.rb:32 Ark::ProviderHelpers#show_deprecations when setting the strip_leading_dir property on the resource warns that it is deprecated when set to true uninitialized constant OpenStruct let(:new_resource) { OpenStruct.new(resource_properties) } ^^^^^^^^^^
spec/libraries/default_spec.rb:38 Ark::ProviderHelpers#show_deprecations when setting the strip_leading_dir property on the resource warns that it is deprecated when set to false uninitialized constant OpenStruct let(:new_resource) { OpenStruct.new(resource_properties) } ^^^^^^^^^^
spec/libraries/default_spec.rb:46 Ark::ProviderHelpers#show_deprecations when the strip_leading_dir property is not set on the resource does not produce a warning uninitialized constant OpenStruct let(:new_resource) { OpenStruct.new(resource_properties) } ^^^^^^^^^^
spec/libraries/default_spec.rb:55 Ark::ProviderHelpers#set_dump_paths sets the resource's release_file uninitialized constant OpenStruct let(:new_resource) { OpenStruct.new(resource_properties) } ^^^^^^^^^^
spec/libraries/default_spec.rb:64 Ark::ProviderHelpers#set_put_paths when the resource path is not set sets the resource's release_file and path uninitialized constant OpenStruct let(:new_resource) { OpenStruct.new(resource_properties) } ^^^^^^^^^^
spec/libraries/default_spec.rb:74 Ark::ProviderHelpers#set_put_paths when the resource path has been set sets the resource's release_file and path uninitialized constant OpenStruct let(:new_resource) { OpenStruct.new(resource_properties) } ^^^^^^^^^^
spec/libraries/default_spec.rb:89 Ark::ProviderHelpers#set_paths uses all the defaults uninitialized constant OpenStruct let(:new_resource) { OpenStruct.new(resource_properties) } ^^^^^^^^^^
spec/libraries/default_spec.rb:104 Ark::ProviderHelpers#set_paths sets the resource's release_file uninitialized constant OpenStruct let(:new_resource) { OpenStruct.new(resource_properties) } ^^^^^^^^^^
spec/libraries/default_spec.rb:129 Ark::ProviderHelpers#cherry_pick_command when the node's platform_family is windows generates a 7-zip command uninitialized constant OpenStruct let(:new_resource) { OpenStruct.new(resource_properties) } ^^^^^^^^^^
spec/libraries/default_spec.rb:145 Ark::ProviderHelpers#cherry_pick_command when the node's platform_family is not windows when the unpack_type is tar_xzf generates a cherry pick tar command with the correct options uninitialized constant OpenStruct let(:new_resource) { OpenStruct.new(resource_properties) } ^^^^^^^^^^
spec/libraries/default_spec.rb:160 Ark::ProviderHelpers#cherry_pick_command when the node's platform_family is not windows when the unpack_type is tar_xjf generates a cherry pick tar command with the correct options uninitialized constant OpenStruct let(:new_resource) { OpenStruct.new(resource_properties) } ^^^^^^^^^^
spec/libraries/default_spec.rb:175 Ark::ProviderHelpers#cherry_pick_command when the node's platform_family is not windows when the unpack_type is tar_xJf generates a cherry pick tar command with the correct options uninitialized constant OpenStruct let(:new_resource) { OpenStruct.new(resource_properties) } ^^^^^^^^^^
spec/libraries/default_spec.rb:190 Ark::ProviderHelpers#cherry_pick_command when the node's platform_family is not windows when the unpack_type is unzip generates an unzip command uninitialized constant OpenStruct let(:new_resource) { OpenStruct.new(resource_properties) } ^^^^^^^^^^
spec/libraries/default_spec.rb:213 Ark::ProviderHelpers#dump_command when the node's platform_family is not windows when the unpack_type is tar_xzf generates a tar command uninitialized constant OpenStruct let(:new_resource) { OpenStruct.new(resource_properties) } ^^^^^^^^^^
spec/libraries/default_spec.rb:225 Ark::ProviderHelpers#dump_command when the node's platform_family is not windows when the unpack_type is tar_xjf generates a tar command uninitialized constant OpenStruct let(:new_resource) { OpenStruct.new(resource_properties) } ^^^^^^^^^^
spec/libraries/default_spec.rb:237 Ark::ProviderHelpers#dump_command when the node's platform_family is not windows when the unpack_type is tar_xJf generates a tar command uninitialized constant OpenStruct let(:new_resource) { OpenStruct.new(resource_properties) } ^^^^^^^^^^
spec/libraries/default_spec.rb:249 Ark::ProviderHelpers#dump_command when the node's platform_family is not windows when the unpack_type is unzip generates an unzip command uninitialized constant OpenStruct let(:new_resource) { OpenStruct.new(resource_properties) } ^^^^^^^^^^

@github-actions
Copy link
Copy Markdown

Slowest examples

Top 10 slowest examples (0.6 seconds, 47.09% of total time)
Example Description Time in seconds
spec/recipes/default_spec.rb:10 ark::default does not install the gcc-c++ package 0.09252
spec/recipes/default_spec.rb:14 ark::default is expected not to install seven_zip_tool "ark" 0.06616
spec/recipes/default_spec.rb:6 ark::default installs core packages 0.06385
spec/recipes/default_spec.rb:19 ark::default sets default attributes apache mirror 0.06213
spec/recipes/default_spec.rb:23 ark::default sets default attributes prefix root 0.06055
spec/recipes/default_spec.rb:27 ark::default sets default attributes prefix bin 0.05865
spec/recipes/default_spec.rb:31 ark::default sets default attributes prefix home 0.05813
spec/resources/default_spec.rb:209 ark unzip unzips 0.05188
spec/recipes/centos/default_spec.rb:8 ark::default installs core packages 0.04819
spec/resources/default_spec.rb:316 ark install_with_make installs with make 0.04139

@ramereth ramereth merged commit db61c4c into main Sep 19, 2025
11 of 13 checks passed
@ramereth ramereth deleted the automated/standardfiles branch September 19, 2025 15:52
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.

2 participants