We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aed31e1 commit f887eafCopy full SHA for f887eaf
ci/container_software.sh
@@ -9,7 +9,8 @@ echo "##################"
9
echo "# Container size #"
10
echo "##################"
11
12
-cd / && NUMGB=$(du -sh 2> /dev/null | grep -oE '[0-9]*G' | grep -oE '[0-9]*')
+cd / && NUMGB=$(du -sh --exclude "raid" 2> /dev/null | grep -oE '[0-9]*G' | grep -oE '[0-9]*')
13
+echo "Size of container is: $NUMGB GB"
14
if [ $NUMGB -ge 15 ]; then echo "Size of container exceeds 15GB, failed build." && exit 1 ; fi;
15
16
0 commit comments