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:
parent
fbf63f6a1f
commit
d3921dcc31
1 changed files with 8 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue