Skip to content

Commit

Permalink
hack: bump the oc binary size limit to 115 because of darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
mfojtik committed May 9, 2018
1 parent bc1fe0a commit aca2511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/lib/constants.sh
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ function os::build::check_binaries() {
# enforce that certain binaries don't accidentally grow too large
# IMPORTANT: contact Clayton or another master team member before altering this code
if [[ -f "${OS_OUTPUT_BINPATH}/${platform}/oc" ]]; then
if [[ "$(du -m "${OS_OUTPUT_BINPATH}/${platform}/oc" | cut -f 1)" -gt "110" ]]; then
if [[ "$(du -m "${OS_OUTPUT_BINPATH}/${platform}/oc" | cut -f 1)" -gt "115" ]]; then
os::log::fatal "oc binary has grown substantially. You must have approval before bumping this limit."
fi
fi
Expand Down

0 comments on commit aca2511

Please sign in to comment.