annotate and label bootc artifacts#116
Conversation
📝 WalkthroughWalkthroughAdds capturing of the effective builder image as a pipeline result/param and propagates it into image/artifact pushes by injecting an annotation and config label (automotive.sdv.cloud.redhat.com/builder-image) into OCI manifests and push commands. Changes
Sequence DiagramsequenceDiagram
participant Pipeline as Build Pipeline
participant BuildTask as build-image Task
participant Results as Task Results
participant PushTask as push-artifact Task
participant Registry as Container Registry
Pipeline->>BuildTask: start build (builder image env)
BuildTask->>BuildTask: capture effective BUILDER_IMAGE
BuildTask->>Results: write builder-image result
BuildTask->>BuildTask: if BUILDER_IMAGE set -> create OCI dir and inject annotation/label
BuildTask->>Registry: push annotated image (via OCI or skopeo)
Pipeline->>PushTask: start push with builder-image param
PushTask->>PushTask: include annotation in manifest/config or ORAS push
PushTask->>Registry: push artifact with annotation
Registry->>Registry: store annotated artifact
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 🧹 Recent nitpick comments
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
annotate and label the bootc disk and base container image respectively with the builder image used Signed-off-by: Benny Zlotnik <bzlotnik@redhat.com>
aa15567 to
255c31a
Compare
annotate and label the bootc disk and base container image respectively with the builder image used
Summary by CodeRabbit