mirror of
https://github.com/quay/quay.git
synced 2026-01-27 18:42:52 +03:00
Migrate from using boto2 to boto3. Changes include: - Removes explicit bucket addressing style: Boto3 will initially try virtual-style addressing first then fallback to path-style addressing (https://github.com/boto/boto3/blob/develop/docs/source/guide/configuration.rst) - GCS workarounds to use boto3: - Handles CORS config - Update signed url access key parameter name - Uses ListBucket V1 API - On client-side chunks join, copy using non-multipart api: Use copy_from instead of copy when joining chunks client-side. This is because copy assumes multipart upload should be used which GCS and Rados are not compatible with (S3's version. They have their own parallel upload api) - Update RDS healthcheck to use boto3