fedora-infra / fedimg

Service to automatically upload built Fedora images to internal and external cloud providers.
GNU Affero General Public License v3.0
22 stars 24 forks source link

scripts: Add script to perform partial upload #138

Closed sayanchowdhury closed 6 years ago

sayanchowdhury commented 6 years ago

Signed-off-by: Sayan Chowdhury sayan.chowdhury2012@gmail.com

sinnykumari commented 6 years ago

LGTM.

I think we will have to call fedimg.services.ec2.ec2copy.main() as well in order to copy and publish AMIs to non us-east-1 regions?

This is because when we currently run bin/trigger_upload.py , it invokes fedimg.uploader.upload() function defined in fedimg/uploader.py. If we see https://github.com/fedora-infra/fedimg/blob/develop/fedimg/uploader.py#L64 , it seems to call ec2copy() on rest of the regions.