Skip to content

Commit

Permalink
Fix printing k8s.io/perf-tests repo history
Browse files Browse the repository at this point in the history
  • Loading branch information
tosi3k committed Jan 19, 2021
1 parent 7d68f89 commit 4f85a2d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions run-e2e.sh
Expand Up @@ -13,9 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# run the script to run e2e tests for cluster loader, netperf and dns.
# This enables the same to be invoked from kubetest from test-infra.

set -o nounset
set -o pipefail

Expand All @@ -29,7 +26,7 @@ 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"
echo "k8s.io/perf-tests git log:" | tee $output_file || true
git log -n 10 --format="%H - %ad (%s)" --date=local | tee -a $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
fi

case "$1" in
Expand Down

0 comments on commit 4f85a2d

Please sign in to comment.