build icon indicating copy to clipboard operation
build copied to clipboard

Expose fetched source metadata

Open cppforlife opened this issue 7 years ago • 2 comments

/area API /kind feature

Expected Behavior

I would like to find what exactly build fetched from specified source location. For example for git, since requested git revision may just be "master", it would be useful to see metadata (git sha, author, commit msg) about fetched commit.

Related: recording of produced image metadata.

Actual Behavior

Currently fetched source metadata is not treated as a first class citizen. It's possible for a builder to expose such information from the logs.

cppforlife avatar Aug 13 '18 22:08 cppforlife

related issue for produced image metadata: https://github.com/knative/build/issues/215

cppforlife avatar Aug 13 '18 22:08 cppforlife

We put some (speculative) language into the knative/serving spec about extracting and exposing this metadata on the status of Revision if it is available. It would be great to have an example that took the source info and exposed it as either Docker metadata or Grafeas BuildDetails.

On Mon, Aug 13, 2018 at 3:14 PM Dmitriy Kalinin [email protected] wrote:

related issue for produced image metadata: #215 https://github.com/knative/build/issues/215

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/knative/build/issues/301#issuecomment-412683375, or mute the thread https://github.com/notifications/unsubscribe-auth/AHlyN2bK_JDnLcCiUamQchqoWC-xt0dvks5uQfpigaJpZM4V7fbb .

-- Evan Anderson [email protected]

evankanderson avatar Aug 15 '18 05:08 evankanderson