-
Notifications
You must be signed in to change notification settings - Fork 165
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
deprecate stacks, add targets #582
Closed
Closed
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
ae466df
components first pass - deprecate stacks, add targets
joe-kimmel-vmw 09a39de
Update content/docs/concepts/components/stack.md
joe-kimmel-vmw 21edbe1
operator guide for target images
joe-kimmel-vmw 03036a1
attempts to dry out the prose to an appropriately corporate-neutral s…
joe-kimmel-vmw 3803821
removes stack creation guide, updates links from builder guide
joe-kimmel-vmw 28f33e3
Update content/docs/concepts/components/stack.md
joe-kimmel-vmw da67afe
Update content/docs/concepts/components/stack.md
joe-kimmel-vmw 402b85e
Update content/docs/operator-guide/create-targets.md
joe-kimmel-vmw 1b78a10
remove uncertainty by removing the optional setion
joe-kimmel-vmw File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
+++ | ||
title="Targets" | ||
weight=4 | ||
aliases=[ | ||
"/docs/using-pack/targets/" | ||
] | ||
+++ | ||
|
||
## What is a Target? | ||
|
||
A target is the essential information about an operating system and architecture necessary to ensure that binaries will be placed in environments where they can execute successfully. | ||
A buildpack may specify one or several targets. A build image or run image must specific one target. | ||
|
||
|
||
For full documentation see the (RFC where targets are introduced)[https://github.com/buildpacks/rfcs/blob/main/text/0096-remove-stacks-mixins.md]. | ||
|
||
### Example | ||
``` | ||
[[targets]] | ||
os = "linux" | ||
arch = "amd64" | ||
[[targets.distributions]] | ||
name = "ubuntu" | ||
versions = ["18.04", "20.04"] | ||
``` | ||
|
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
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
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.
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.
This statement is confusing to me:
A build image or run image must specific one target.
. Does this mean[[targets]]
is supposed to be nested inside the[run]
and[build]
blocks? I'm more familiar with yaml/json than with toml, so I tend to convert it in order to understand what is going on and it appears to be a builder-wide setting.given this
builder.toml
:the yaml output is:
It would be helpful to have a complete example of using
[[targets]]
in a builder toml.