test: Fix the compose request in the api test case

Customizations should be alongside image_requests, not inside of it.
This commit is contained in:
sanne 2021-02-12 15:22:07 +01:00 committed by Sanne Raymaekers
parent 2e98f13c90
commit 31eb215699

View file

@ -104,16 +104,16 @@ esac
cat > "$REQUEST_FILE" << EOF
{
"distribution": "$DISTRO",
"customizations": {
"packages": [
"postgresql"
]
},
"image_requests": [
{
"architecture": "$ARCH",
"image_type": "ami",
"repositories": $(jq ".\"$ARCH\"" /usr/share/tests/osbuild-composer/repositories/"$DISTRO".json),
"customizations": {
"packages": [
"postgres"
]
},
"upload_requests": [
{
"type": "aws",