-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement RFC-0096 Remove Stacks & Mixins: phase 1 #1660
Conversation
5c072f7
to
36284b6
Compare
Signed-off-by: Joe Kutner <jpkutner@gmail.com>
36284b6
to
6034f55
Compare
Signed-off-by: Joe Kutner <jpkutner@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good @jkutner!
_, err := builder.New(baseImage, "some/builder") | ||
h.AssertError(t, err, "image 'base/image' missing label 'io.buildpacks.stack.id'") | ||
h.AssertNilE(t, err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why don't we error here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@natalieparellano my thinking was that we want to allow images that don't have `io.buildpacks.stack.id label going forward
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, makes sense - I guess what threw me was the addition of and run image
to the test description. I thought of a builder that is missing a run image reference.
Co-authored-by: Natalie Arellano <narellano@vmware.com> Signed-off-by: Joe Kutner <jpkutner@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Summary
Phase of RFC #0096 - Remove Stacks & Mixins implementation.
Output
Before
Support
[stack]
inbuilder.toml, and write
/cnb/stack.toml` in builder.After
Support both
[stack]
and[run]
/[build]
tables. If both are present,[run]
/[build]
take precedent. Stack ID will still be accepted.A
/cnb/stack.toml
will be added to the builder if a Stack ID is provided. A/cnb/run.toml
may also be added to the builder if[run]
/[build]
are definied.Documentation
Related
Resolves #___