Skip to content

Commit c091757

Browse files
committed
Migrate transmission to Policyfile
1 parent 2027aae commit c091757

4 files changed

Lines changed: 12 additions & 11 deletions

File tree

.github/workflows/copilot-setup-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
- name: Install Chef
2222
uses: actionshub/chef-install@main
2323
- name: Install cookbooks
24-
run: berks install
24+
run: chef install Policyfile.rb

Berksfile

Lines changed: 0 additions & 9 deletions
This file was deleted.

Policyfile.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# frozen_string_literal: true
2+
3+
name 'transmission'
4+
5+
run_list 'test::default'
6+
7+
named_run_list :default, 'test::default'
8+
9+
cookbook 'transmission', path: '.'
10+
cookbook 'test', path: './test/cookbooks/test'

spec/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
require 'chefspec'
4-
require 'chefspec/berkshelf'
4+
require 'chefspec/policyfile'
55

66
RSpec.configure do |config|
77
config.color = true # Use color in STDOUT

0 commit comments

Comments
 (0)