-
Notifications
You must be signed in to change notification settings - Fork 0
Add more details to pack inspect-builder
#22
Comments
We could use this opportunity to provide warnings if the |
@dgodd - I would expect to be able to inspect local and remote. Do we need to pull the builder image to inspect it or can we just do it remotely? I could see the use case where I inspect a remote builder before I actually decide to use it locally, therefore not wanting to pull it. |
@ssisil Emily and I decided we thought always inspect the local image, and then add |
pack inspect-builder
pack inspect-builder
Updated to:
|
Store the buildpack ID and version on the metadata of the builder [buildpacks/roadmap#22] Signed-off-by: Joao Pereira <[email protected]>
…er groups - Write buildpack and group metadata during create builder on the metadata label [buildpacks/roadmap#22] Signed-off-by: Danny Joyce <[email protected]>
@mgibson1121 We also noticed that |
Test with the following to see buildpacks
|
@djoyahoy Ok, will move back to in progress and apply the rejected label. |
Using builder @djoyahoy provided I can now see the buildpack groups. Accepting this story. |
Default Builder (Case #1)
Given I have a the default builder image
packs/sample
When I run
pack inspect-builder
(no positional arguments)Then I see the following output:
Provided Builder
Given I have a builder image
my/builder
for stackmy.stack
with buildpack[email protected]
(latest true),[email protected]
, and[email protected]
and the followingorder.toml
When I run
pack inspect-builder my/builder
Then I see the contents of
my/builder
formatted as aboveExcept I see the following header:
And, For Example the buildpacks are detection order sections are formatted as
Invalid Builders
Given I have a builder image
bad/builder
without aio.buildpacks.stack.id
labelWhen I run
pack inspect-builder bad/builder
Then I see the following output
Given I have a builder image
empty/builder
without any buildpacksWhen I run
pack inspect-builder empty/builder
Then I see the following header:
Given I have a builder image
no-order/builder
without any buildpacksWhen I run
pack inspect-builder no-order/builder
Then I see the following header:
Notes
io.buildpacks.builder.metadata
(notio.buildpacks.pack.*
). Update this label on the samples, but don't add all the contents to the samples. We will play thepack create-builder
+ samples story to fix that.The text was updated successfully, but these errors were encountered: