Skip to content

Commit 0733594

Browse files
committed
fix: avoid Supermarket during Policyfile install
1 parent efd336f commit 0733594

2 files changed

Lines changed: 133 additions & 2 deletions

File tree

Policyfile.lock.json

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
{
2+
"revision_id": "3f6451ca3509ae9f5a9e7bb9cff16932b351d2aacd100cab2bfe17c274d03712",
3+
"name": "ruby_build",
4+
"run_list": [
5+
"recipe[test::default]"
6+
],
7+
"named_run_lists": {
8+
"default": [
9+
"recipe[test::default]"
10+
]
11+
},
12+
"included_policy_locks": [
13+
14+
],
15+
"cookbook_locks": {
16+
"homebrew": {
17+
"version": "7.0.0",
18+
"identifier": "456d1e381e87f21073968b4477cfdf06a4c42c57",
19+
"dotted_decimal_identifier": "19541749951006706.4630690046179279.245219627117655",
20+
"cache_key": "homebrew-f4a84d4e2e8bc6f17d7d4c5c439be4d29fbc34db",
21+
"origin": "https://github.com/sous-chefs/homebrew.git",
22+
"source_options": {
23+
"git": "https://github.com/sous-chefs/homebrew.git",
24+
"revision": "f4a84d4e2e8bc6f17d7d4c5c439be4d29fbc34db",
25+
"branch": "main"
26+
}
27+
},
28+
"ruby_build": {
29+
"version": "2.5.12",
30+
"identifier": "06ed00751d9164e8c3c1fcdca5724685fd294825",
31+
"dotted_decimal_identifier": "1949436080918884.65517432535295346.77541291935781",
32+
"source": ".",
33+
"cache_key": null,
34+
"scm_info": {
35+
"scm": "git",
36+
"remote": "https://github.com/sous-chefs/ruby_build.git",
37+
"revision": "3f076609f1766a27193c5edf4d93ec1a4320ca61",
38+
"working_tree_clean": false,
39+
"published": true,
40+
"synchronized_remote_branches": [
41+
"origin/chore/migrate-to-policyfile"
42+
]
43+
},
44+
"source_options": {
45+
"path": "."
46+
}
47+
},
48+
"test": {
49+
"version": "1.0.0",
50+
"identifier": "8d6d7c70e209ff1d701c07390ca34eb4096d656c",
51+
"dotted_decimal_identifier": "39808352953436671.8286040007183523.86535159244140",
52+
"source": "test/cookbooks/test",
53+
"cache_key": null,
54+
"scm_info": {
55+
"scm": "git",
56+
"remote": "https://github.com/sous-chefs/ruby_build.git",
57+
"revision": "3f076609f1766a27193c5edf4d93ec1a4320ca61",
58+
"working_tree_clean": false,
59+
"published": true,
60+
"synchronized_remote_branches": [
61+
"origin/chore/migrate-to-policyfile"
62+
]
63+
},
64+
"source_options": {
65+
"path": "test/cookbooks/test"
66+
}
67+
},
68+
"yum-epel": {
69+
"version": "5.0.10",
70+
"identifier": "3ffd59317825177023566a99bf5940e29163cfd4",
71+
"dotted_decimal_identifier": "18011483056645399.31564051454213977.71341846024148",
72+
"cache_key": "yum-epel-0ae39de8b609c2904012f4da4cf261b6e3361f74",
73+
"origin": "https://github.com/sous-chefs/yum-epel.git",
74+
"source_options": {
75+
"git": "https://github.com/sous-chefs/yum-epel.git",
76+
"revision": "0ae39de8b609c2904012f4da4cf261b6e3361f74",
77+
"branch": "main"
78+
}
79+
}
80+
},
81+
"default_attributes": {
82+
83+
},
84+
"override_attributes": {
85+
86+
},
87+
"solution_dependencies": {
88+
"Policyfile": [
89+
[
90+
"homebrew",
91+
">= 0.0.0"
92+
],
93+
[
94+
"ruby_build",
95+
">= 0.0.0"
96+
],
97+
[
98+
"test",
99+
">= 0.0.0"
100+
],
101+
[
102+
"yum-epel",
103+
">= 0.0.0"
104+
]
105+
],
106+
"dependencies": {
107+
"homebrew (7.0.0)": [
108+
109+
],
110+
"ruby_build (2.5.12)": [
111+
[
112+
"yum-epel",
113+
">= 0.0.0"
114+
],
115+
[
116+
"homebrew",
117+
">= 0.0.0"
118+
]
119+
],
120+
"test (1.0.0)": [
121+
[
122+
"ruby_build",
123+
">= 0.0.0"
124+
]
125+
],
126+
"yum-epel (5.0.10)": [
127+
128+
]
129+
}
130+
}
131+
}

Policyfile.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
name 'ruby_build'
44

5-
default_source :supermarket
6-
75
run_list 'test::default'
86

97
cookbook 'ruby_build', path: '.'
108
cookbook 'test', path: 'test/cookbooks/test'
9+
cookbook 'homebrew', git: 'https://github.com/sous-chefs/homebrew.git', branch: 'main'
10+
cookbook 'yum-epel', git: 'https://github.com/sous-chefs/yum-epel.git', branch: 'main'
1111

1212
Dir.entries('./test/cookbooks/test/recipes').select { |f| f.end_with?('.rb') }.each do |test|
1313
test = test.delete_suffix('.rb')

0 commit comments

Comments
 (0)