File tree 3 files changed +9
-4
lines changed
3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,9 @@ type BuilderConfigOrder struct {
31
31
}
32
32
33
33
type BuilderConfigOrderGroup struct {
34
- ID string `toml:"id"`
35
- Version string `toml:"version"`
34
+ ID string `toml:"id"`
35
+ Version string `toml:"version"`
36
+ Optional bool `toml:"optional,omitempty"`
36
37
}
37
38
type BuilderConfigStack struct {
38
39
ID string `toml:"id"`
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ description = "Some description"
50
50
[[order.group]]
51
51
id = "some-repository/some-buildpack-id"
52
52
version = "0.0.10"
53
+ optional = true
53
54
54
55
[stack]
55
56
id = "io.paketo.stacks.some-stack"
@@ -96,8 +97,9 @@ description = "Some description"
96
97
{
97
98
Group : []internal.BuilderConfigOrderGroup {
98
99
{
99
- ID : "some-repository/some-buildpack-id" ,
100
- Version : "0.0.10" ,
100
+ ID : "some-repository/some-buildpack-id" ,
101
+ Version : "0.0.10" ,
102
+ Optional : true ,
101
103
},
102
104
},
103
105
},
Original file line number Diff line number Diff line change @@ -130,6 +130,7 @@ description = "Some description"
130
130
[[order.group]]
131
131
id = "some-repository/some-buildpack-id"
132
132
version = "0.0.10"
133
+ optional = true
133
134
134
135
[stack]
135
136
id = "io.paketo.stacks.some-stack"
@@ -185,6 +186,7 @@ description = "Some description"
185
186
[[order.group]]
186
187
id = "some-repository/some-buildpack-id"
187
188
version = "0.20.12"
189
+ optional = true
188
190
189
191
[stack]
190
192
id = "io.paketo.stacks.some-stack"
You can’t perform that action at this time.
0 commit comments