Skip to content

Commit

Permalink
Fix printing git log in run-e2e.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
tosi3k committed Mar 12, 2021
1 parent e5248d4 commit 9d813a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ echo "TOOL_NAME: $1"
# to check the exact k8s.io/perf-tests commit (commits) a test was run against.
if [[ "${PERF_TESTS_PRINT_COMMIT_HISTORY:-false}" == "true" ]]; then
# The output file location assumes the script works inside a prow job.
output_file="/workspace/_artifacts/perf-tests.gitlog"
output_file="${ARTIFACTS}/perf-tests.gitlog"
echo "k8s.io/perf-tests git log:" | tee $output_file || true
git -C /go/src/k8s.io/perf-tests log -n 10 --format="%H - %ad (%s)" --date=local | tee -a $output_file || true
git -C $PERFTEST_ROOT log -n 10 --format="%H - %ad (%s)" --date=local | tee -a $output_file || true
fi

case "$1" in
Expand Down

0 comments on commit 9d813a6

Please sign in to comment.