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.
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
pack builder create
should accept builder env config #1926pack builder create
should accept builder env config #1926Changes from 6 commits
effc5e5
fea9911
0035427
7fa8e4d
6e085ae
5e9ce4c
d0ab0e8
43f6ec8
8714d10
064f25e
1ffbc10
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 542 in internal/builder/builder.go
Codecov / codecov/patch
internal/builder/builder.go#L541-L542
Check warning on line 546 in internal/builder/builder.go
Codecov / codecov/patch
internal/builder/builder.go#L545-L546
Check warning on line 1130 in internal/builder/builder.go
Codecov / codecov/patch
internal/builder/builder.go#L1129-L1130
Check warning on line 1144 in internal/builder/builder.go
Codecov / codecov/patch
internal/builder/builder.go#L1143-L1144
Check warning on line 1147 in internal/builder/builder.go
Codecov / codecov/patch
internal/builder/builder.go#L1146-L1147
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.
IIUC this allows the pack user to specify the location of the build config directory within the builder by setting an environment variable in pack's environment. We might want to add some text to
pack builder create --help
so that this option is discoverable. Or maybe we could add it as a field in builder.toml ...or just leave it non-configurable. WDYT @WYGIN @jjbustamante?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.
i am not sure about adding
pack builder create --help
, IMO thepack builder create --help
is about giving better context to user about the list of commands available for the end-user to use, and i thinkCNB_BUILD_CONFIG_DIR
in cli help might not requiredso i added it to the docs where builder.toml fields and tables are specified
Check warning on line 1314 in internal/builder/builder.go
Codecov / codecov/patch
internal/builder/builder.go#L1313-L1314
Check warning on line 81 in internal/commands/builder_create.go
Codecov / codecov/patch
internal/commands/builder_create.go#L80-L81
Check warning on line 84 in internal/commands/builder_create.go
Codecov / codecov/patch
internal/commands/builder_create.go#L83-L84
Check warning on line 177 in internal/commands/builder_create.go
Codecov / codecov/patch
internal/commands/builder_create.go#L176-L177