Skip to content

Commit

Permalink
test: use upload_targets for edge in api s3.sh
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
achilleas-k committed Oct 30, 2023
1 parent 68f48b0 commit 859277e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions test/cases/api/common/s3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,14 @@ function createReqFileEdge() {
"ostree": {
"ref": "${OSTREE_REF}"
},
"upload_options": {
"region": "${AWS_REGION}"${public_block}
}
"upload_targets": [
{
"type": "org.osbuild.aws.s3",
"upload_options": {
"region": "${AWS_REGION}"${public_block}
}
}
]
}
}
EOF
Expand Down

0 comments on commit 859277e

Please sign in to comment.