Module: OS::Linux::TestBot::CleanupBefore Private

Extended by:
T::Helpers
Included in:
Homebrew::TestBot::CleanupBefore
Defined in:
extend/os/linux/test_bot.rb

This module is part of a private API. This module may only be used in the Homebrew/brew repository. Third parties should avoid using this module if possible, as it may be removed or changed without warning.

Instance Method Summary collapse

Instance Method Details

#cleanup_github_actions_hosted_runnervoid

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

This method returns an undefined value.



56
57
58
59
60
61
62
# File 'extend/os/linux/test_bot.rb', line 56

def cleanup_github_actions_hosted_runner
  # brew doctor complains
  delete_or_move %w[
    /usr/local/include/node/
    /opt/pipx_bin/ansible-config
  ].map { |path| ::Pathname.new(path) }, sudo: true
end