Files
zuul-jobs/roles/upload-image-s3
James E. Blair 7b918770c6 Synchronize upload-image-s3 to upload-image-swift
This updates the s3 image upload role with the corresponding recent
changes to the swift image upload role.

Change-Id: I2aa663333c81b4834c5193216fff1fe10dc0301e
2025-08-06 09:00:21 -07:00
..
2025-03-25 09:28:28 -07:00

Upload a filesystem image to an S3 bucket

This uploads a filesystem image (for example, one built by diskimage builder) to an S3 bucket. The role returns an artifact to Zuul suitable for use by the zuul-launcher.

If a raw or vhd image is provided and the zstd command is available, it will be compressed in the way that zuul-launcher expects.

Role Variables

The endpoint to use when uploading an image to an s3 compatible service. By default this will be automatically constructed by boto but should be set when working with non-AWS hosted s3 service.

AWS access key to use.

AWS secret key for the AWS access key.

This role will not create buckets which do not already exist.

Note that you will want to set this to a value that uniquely identifies your Zuul installation.

The bucket should be dedicated to image uploads so that the "delete_after" option may be safely used.

The image format (e.g., qcow2).