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 27, 2023
1 parent cc9e55f commit 4aa3d9b
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 4aa3d9b

Please sign in to comment.