From 351d06aecf2bdc7297050d8eb4a499462ef2afa0 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Tue, 15 Feb 2022 22:46:04 +0000 Subject: [PATCH] tests/cases/api.sh: make /var at least 256MB We (mistakenly) don't enforce a minimum size for /var, so setting it to 1024 (1kB) causes the image build to fail. CI does not expose this in a helpful way at the moment, so this is a bit tricky to debug. Also skip customizations for the AWS.S3 upload type. Not all the image types with this upload type support filesystem customizations and that's as expected. We could make a more fine-grained test in the future, but testing with a coulpe of targets should be sufficient. --- test/cases/api.sh | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/test/cases/api.sh b/test/cases/api.sh index ada365ab0..c4e9c2768 100755 --- a/test/cases/api.sh +++ b/test/cases/api.sh @@ -515,7 +515,7 @@ function createReqFileAWS() { "filesystem": [ { "mountpoint": "/var", - "min_size": 1024 + "min_size": 262144000 } ], "payload_repositories": [ @@ -563,12 +563,6 @@ function createReqFileAWSS3() { { "distribution": "$DISTRO", "customizations": { - "filesystem": [ - { - "mountpoint": "/var", - "min_size": 1024 - } - ], "payload_repositories": [ { "baseurl": "$PAYLOAD_REPO_URL" @@ -622,7 +616,7 @@ function createReqFileGCP() { "filesystem": [ { "mountpoint": "/var", - "min_size": 1024 + "min_size": 262144000 } ], "payload_repositories": [ @@ -660,7 +654,7 @@ function createReqFileAzure() { "filesystem": [ { "mountpoint": "/var", - "min_size": 1024 + "min_size": 262144000 } ], "payload_repositories": [