-
Notifications
You must be signed in to change notification settings - Fork 293
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
Move package os
to be configured via package.toml
#926
Merged
jromero
merged 4 commits into
buildpacks:main
from
aemengo:feature/package-buildpack-os-configuration
Oct 29, 2020
Merged
Move package os
to be configured via package.toml
#926
jromero
merged 4 commits into
buildpacks:main
from
aemengo:feature/package-buildpack-os-configuration
Oct 29, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aemengo
force-pushed
the
feature/package-buildpack-os-configuration
branch
from
October 28, 2020 15:46
b3ff0d8
to
34f7d8c
Compare
- unit tests Signed-off-by: Anthony Emengo <[email protected]>
- acceptance tests Signed-off-by: Anthony Emengo <[email protected]>
aemengo
force-pushed
the
feature/package-buildpack-os-configuration
branch
from
October 28, 2020 16:06
34f7d8c
to
c3e7e8d
Compare
- Validate only ['linux', 'windows'] is allowed in platform.os of package.toml - Validate correct platform.os for DOCKER_OS Signed-off-by: Anthony Emengo <[email protected]>
micahyoung
approved these changes
Oct 29, 2020
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.
LGTM. Checks all the boxes for me, based on the Slack conversation: https://buildpacks.slack.com/archives/CD61YAG69/p1603485561046900
jromero
approved these changes
Oct 29, 2020
jromero
added
experimental
Issue or PR refers to an experimental feature.
type/enhancement
Issue that requests a new feature or improvement.
labels
Oct 29, 2020
jromero
changed the title
Feature/package buildpack os configuration
Move package Oct 29, 2020
os
to be configured via package.toml
💯 @aemengo. Thanks for driving this through! |
micahyoung
pushed a commit
to micahyoung/pipeline-builder
that referenced
this pull request
Nov 11, 2020
- Pack experimental feature: buildpacks/pack#926 Signed-off-by: Micah Young <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
experimental
Issue or PR refers to an experimental feature.
type/enhancement
Issue that requests a new feature or improvement.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
The following PR is intended as an addendum to #840, which enables
pack package-buildpack
for windows. It removes the recently added--os
parameter in favor a platform.os declaration in one'spackage.toml
. This new declaration is optional: defaulting to linux when omitted, and thus required for specifying windows. The intention is a more consistent (and backward compatible) user experience.Output
Documentation
Should this change be documented?
[x] Yes, see buildpacks/docs#242
Related
cc: @micahyoung @TisVictress @ameyer-pivotal