Clean up test-sanity.sh a bit (#10565)
This commit is contained in:
parent
f1131dfbbb
commit
f5912f3633
|
@ -5,9 +5,8 @@ cd "$(dirname "$0")/.."
|
||||||
|
|
||||||
source ci/_
|
source ci/_
|
||||||
|
|
||||||
echo --- prepare git show --check
|
|
||||||
|
|
||||||
(
|
(
|
||||||
|
echo --- git show --check
|
||||||
set -x
|
set -x
|
||||||
# Look for failed mergify.io backports by searching leftover conflict markers
|
# Look for failed mergify.io backports by searching leftover conflict markers
|
||||||
# Also check for any trailing whitespaces!
|
# Also check for any trailing whitespaces!
|
||||||
|
@ -16,10 +15,12 @@ echo --- prepare git show --check
|
||||||
else
|
else
|
||||||
base_branch=$BUILDKITE_BRANCH
|
base_branch=$BUILDKITE_BRANCH
|
||||||
fi
|
fi
|
||||||
_ git fetch origin "$base_branch"
|
git fetch origin "$base_branch"
|
||||||
_ git show "$(git merge-base HEAD "origin/$base_branch")..HEAD" --check --oneline
|
git show "$(git merge-base HEAD "origin/$base_branch")..HEAD" --check --oneline
|
||||||
)
|
)
|
||||||
|
|
||||||
|
echo
|
||||||
|
|
||||||
_ ci/nits.sh
|
_ ci/nits.sh
|
||||||
_ ci/check-ssh-keys.sh
|
_ ci/check-ssh-keys.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue