From 2226221d25a588e0f4043f8c8ad0eb28195f5f01 Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Tue, 16 Jul 2024 12:03:30 -0500 Subject: [PATCH] CI: Fix flake rate commenting --- hack/jenkins/test-flake-chart/sync_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/jenkins/test-flake-chart/sync_tests.sh b/hack/jenkins/test-flake-chart/sync_tests.sh index 4973664ad7ac..cba9fd99c355 100755 --- a/hack/jenkins/test-flake-chart/sync_tests.sh +++ b/hack/jenkins/test-flake-chart/sync_tests.sh @@ -86,7 +86,7 @@ if [[ "${MINIKUBE_LOCATION}" == "master" ]]; then "${DIR}/process_last_90/process_last_90.sh" else TMP_COMMENT=$(mktemp) - go run "${DIR}/report_flakes" "${MINIKUBE_LOCATION}" "${ROOT_JOB_ID}" "${FINISHED_LIST}" > "$TMP_COMMENT" + (cd "${DIR}/report_flakes" && go run . "${MINIKUBE_LOCATION}" "${ROOT_JOB_ID}" "${FINISHED_LIST}") > "$TMP_COMMENT" # install gh if not present "$DIR/../installers/check_install_gh.sh" gh pr comment "https://github.com/kubernetes/minikube/pull/$MINIKUBE_LOCATION" --body "$(cat $TMP_COMMENT)"