mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-18 11:21:25 +00:00
Debug logs from impacted targets script
This commit is contained in:
parent
1b5e945d96
commit
29e1e0977c
@ -9,7 +9,10 @@ workspace_dir="$(pwd)"
|
|||||||
|
|
||||||
$BAZEL_B //:bazel-diff
|
$BAZEL_B //:bazel-diff
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
# Generate starting hashes
|
# Generate starting hashes
|
||||||
|
echo "Base hash is $PULL_BASE_SHA"
|
||||||
git checkout "$PULL_BASE_SHA" --quiet
|
git checkout "$PULL_BASE_SHA" --quiet
|
||||||
bazel-bin/bazel-diff generate-hashes -w "$workspace_dir" -b "$bazel_bin" starting_hashes_json
|
bazel-bin/bazel-diff generate-hashes -w "$workspace_dir" -b "$bazel_bin" starting_hashes_json
|
||||||
|
|
||||||
@ -18,6 +21,7 @@ TARGET_HASH="$PULL_PULL_SHA"
|
|||||||
if [[ -z "$TARGET_HASH" ]]; then
|
if [[ -z "$TARGET_HASH" ]]; then
|
||||||
TARGET_HASH="$(git log "HEAD@{1}" --pretty=format:"%H" --merges -n 1)"
|
TARGET_HASH="$(git log "HEAD@{1}" --pretty=format:"%H" --merges -n 1)"
|
||||||
fi
|
fi
|
||||||
|
echo "Target hash is $PULL_PULL_SHA"
|
||||||
git checkout "$PULL_PULL_SHA" --quiet
|
git checkout "$PULL_PULL_SHA" --quiet
|
||||||
bazel-bin/bazel-diff generate-hashes -w "$workspace_dir" -b "$bazel_bin" ending_hashes_json
|
bazel-bin/bazel-diff generate-hashes -w "$workspace_dir" -b "$bazel_bin" ending_hashes_json
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user