diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-03-24 18:47:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-24 18:47:51 +0100 |
commit | 4d271912e8b4aa0aa92e414ce4b82557902a35d0 (patch) | |
tree | 0702d03f1f39b1590f64d54b7651946de7f1cdbf /contrib | |
parent | 712777e0aa4ff028b78fd312b0e9fa9cb2c0bf25 (diff) | |
parent | 88d4db009eea8ab49788ecc6625e7117f0c96165 (diff) | |
download | podman-4d271912e8b4aa0aa92e414ce4b82557902a35d0.tar.gz podman-4d271912e8b4aa0aa92e414ce4b82557902a35d0.tar.bz2 podman-4d271912e8b4aa0aa92e414ce4b82557902a35d0.zip |
Merge pull request #13602 from edsantiago/size_check_part2
Binary growth check, part 2 of 2
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/cirrus/runner.sh | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/contrib/cirrus/runner.sh b/contrib/cirrus/runner.sh index 1bff07203..f33c6af29 100755 --- a/contrib/cirrus/runner.sh +++ b/contrib/cirrus/runner.sh @@ -228,7 +228,17 @@ function _run_altbuild() { case "$ALT_NAME" in *Each*) git fetch origin - make build-all-new-commits GIT_BASE_BRANCH=origin/$DEST_BRANCH + # The check-size script, introduced 2022-03-22 in #13518, + # runs 'make' (the original purpose of this check) against + # each commit, then checks image sizes to make sure that + # none have grown beyond a given limit. That of course + # requires a baseline, which is why we use '^' to start + # with the *parent* commit of this PR, not the first commit. + context_dir=$(mktemp -d --tmpdir make-size-check.XXXXXXX) + make build-all-new-commits \ + GIT_BASE_BRANCH=origin/"${DEST_BRANCH}^" \ + MAKE="hack/make-and-check-size $context_dir" + rm -rf $context_dir ;; *Windows*) make podman-remote-release-windows_amd64.zip |