ci: account for warm docker cache disk usage
This commit is contained in:
@@ -79,7 +79,9 @@ pipeline {
|
|||||||
test -f admin-web/package-lock.json
|
test -f admin-web/package-lock.json
|
||||||
mkdir -p artifacts
|
mkdir -p artifacts
|
||||||
available_kb=$(df -Pk "$WORKSPACE" | awk 'NR == 2 { print $4 }')
|
available_kb=$(df -Pk "$WORKSPACE" | awk 'NR == 2 { print $4 }')
|
||||||
test "$available_kb" -ge 8388608
|
# Warm Docker layers consume disk but make incremental builds
|
||||||
|
# much smaller; keep 4 GiB free for image export and smoke tests.
|
||||||
|
test "$available_kb" -ge 4194304
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user