summaryrefslogtreecommitdiff
path: root/contrib/cirrus/check_image.sh
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-08-10 12:10:43 +0200
committerGitHub <noreply@github.com>2019-08-10 12:10:43 +0200
commit926901d78d3af87b47ce0cfeafcf0e9a6d190334 (patch)
tree49f971ffe4964e0da011f650438d1a8a933936a1 /contrib/cirrus/check_image.sh
parent3a554a0fda3acb460d0656b1bf059603dfd79a4d (diff)
parent0a05af1dd6ed8b6e58270b7a5de25291b24362f0 (diff)
downloadpodman-926901d78d3af87b47ce0cfeafcf0e9a6d190334.tar.gz
podman-926901d78d3af87b47ce0cfeafcf0e9a6d190334.tar.bz2
podman-926901d78d3af87b47ce0cfeafcf0e9a6d190334.zip
Merge pull request #3594 from cevich/second_partition
Add Second partition for storage-drive testing
Diffstat (limited to 'contrib/cirrus/check_image.sh')
-rwxr-xr-xcontrib/cirrus/check_image.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/cirrus/check_image.sh b/contrib/cirrus/check_image.sh
index 22ed1ddc4..8a9fbae1d 100755
--- a/contrib/cirrus/check_image.sh
+++ b/contrib/cirrus/check_image.sh
@@ -7,7 +7,7 @@ source $(dirname $0)/lib.sh
NFAILS=0
echo "Validating VM image"
-MIN_SLASH_GIGS=50
+MIN_SLASH_GIGS=30
read SLASH_DEVICE SLASH_FSTYPE SLASH_SIZE JUNK <<<$(findmnt --df --first-only --noheadings / | cut -d '.' -f 1)
SLASH_SIZE_GIGS=$(echo "$SLASH_SIZE" | sed -r -e 's/G|g//')
item_test "Minimum available disk space" $SLASH_SIZE_GIGS -gt $MIN_SLASH_GIGS || let "NFAILS+=1"