diff options
author | Chris Evich <cevich@redhat.com> | 2019-07-09 12:03:04 -0400 |
---|---|---|
committer | Chris Evich <cevich@redhat.com> | 2019-08-01 14:07:55 -0400 |
commit | 0a05af1dd6ed8b6e58270b7a5de25291b24362f0 (patch) | |
tree | d24284c4521f9e3fa9b767b3bac16525f2a8b940 /contrib/cirrus/check_image.sh | |
parent | afb493ae9b1cc98db1f6d9a211b561bb245692de (diff) | |
download | podman-0a05af1dd6ed8b6e58270b7a5de25291b24362f0.tar.gz podman-0a05af1dd6ed8b6e58270b7a5de25291b24362f0.tar.bz2 podman-0a05af1dd6ed8b6e58270b7a5de25291b24362f0.zip |
Cirrus: Add Second partition for storage testing
This is mainly/initially to support use of Cirrus-CI
in https://github.com/containers/buildah since that setup
re-uses the VM images from this project. However, it also
opens doors here, if libpod ever needs/wants to do things
with a dedicated storage device and/or storage-drivers.
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus/check_image.sh')
-rwxr-xr-x | contrib/cirrus/check_image.sh | 2 |
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" |