mirror of
https://github.com/containers/podman.git
synced 2025-06-22 18:08:11 +08:00
Merge pull request #14209 from edsantiago/investigate_bloat_hang
Fix hang in build-each-commit test
This commit is contained in:
@ -246,6 +246,7 @@ function _run_altbuild() {
|
|||||||
# shellcheck disable=SC2154
|
# shellcheck disable=SC2154
|
||||||
msg "Performing alternate build: $ALT_NAME"
|
msg "Performing alternate build: $ALT_NAME"
|
||||||
msg "************************************************************"
|
msg "************************************************************"
|
||||||
|
set -x
|
||||||
cd $GOSRC
|
cd $GOSRC
|
||||||
case "$ALT_NAME" in
|
case "$ALT_NAME" in
|
||||||
*Each*)
|
*Each*)
|
||||||
@ -260,7 +261,7 @@ function _run_altbuild() {
|
|||||||
context_dir=$(mktemp -d --tmpdir make-size-check.XXXXXXX)
|
context_dir=$(mktemp -d --tmpdir make-size-check.XXXXXXX)
|
||||||
savedhead=$(git rev-parse HEAD)
|
savedhead=$(git rev-parse HEAD)
|
||||||
# Push to PR base. First run of the script will write size files
|
# Push to PR base. First run of the script will write size files
|
||||||
pr_base=$(git merge-base --fork-point origin/$DEST_BRANCH)
|
pr_base=$(git merge-base origin/$DEST_BRANCH HEAD)
|
||||||
git checkout $pr_base
|
git checkout $pr_base
|
||||||
hack/make-and-check-size $context_dir
|
hack/make-and-check-size $context_dir
|
||||||
# pop back to PR, and run incremental makes. Subsequent script
|
# pop back to PR, and run incremental makes. Subsequent script
|
||||||
|
Reference in New Issue
Block a user