test: use upload_targets for edge in api s3.sh

When making the upload request for edge commit image types, use the new
upload_targets array to define the aws.s3 upload options.
Leave other upload target definitions as is for now to test the old
options.
This commit is contained in:
Achilleas Koutsou 2023-10-27 18:39:19 +02:00 committed by Sanne Raymaekers
parent fbf63f6a1f
commit d3921dcc31

View file

@ -46,9 +46,14 @@ function createReqFileEdge() {
"ostree": {
"ref": "${OSTREE_REF}"
},
"upload_options": {
"region": "${AWS_REGION}"${public_block}
}
"upload_targets": [
{
"type": "aws.s3",
"upload_options": {
"region": "${AWS_REGION}"${public_block}
}
}
]
}
}
EOF