GCP: Set image name as custom metadata on uploaded image object
Extend StorageObjectUpload() to allow setting custom metadata on the uploaded object. Modify worker's osbuild job implementation and GCP CLI upload tool to set the chosen image name as a custom metadata on the uploaded object. This will make it possible to connect Storage objects to specific images. Add News entry about image name being added as metadata to uploaded GCP Storage object as part of worker job. Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
parent
aa1d038b59
commit
e698080bc7
4 changed files with 23 additions and 3 deletions
6
docs/news/unreleased/worker-gcp-uploaded-object-meta.md
Normal file
6
docs/news/unreleased/worker-gcp-uploaded-object-meta.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Worker: Set image name as custom metadata on the file uploaded to GCP Storage
|
||||
|
||||
Worker osbuild jobs with GCP upload target now set the chosen image name as
|
||||
custom metadata on the uploaded object. This makes finding the uploaded
|
||||
object using the image name possible. The behavior is useful mainly
|
||||
for cleaning up cloud resources in case of unexpected failures.
|
||||
Loading…
Add table
Add a link
Reference in a new issue