osbuild / images

Image builder image definition library
Apache License 2.0
23 stars 52 forks source link

osbuild: Rename GCE output from .tgz to .tar.gz #987

Closed pastequo closed 1 month ago

pastequo commented 1 month ago

Import with gcloud cli requires the file to ends with .tar.gz, otherwise the command fails

gcloud compute images create --help
[...]
       --source-uri=SOURCE_URI
          The full Cloud Storage URI where the disk image is stored. This file
          must be a gzip-compressed tarball whose name ends in .tar.gz. For
          more information about Cloud Storage URIs, see
          https://cloud.google.com/storage/docs/request-endpoints#json-api.
pastequo commented 1 month ago

Also updated the test in bib: https://github.com/osbuild/bootc-image-builder/pull/679