Skip to content

Commit

Permalink
Revert "export the logs of Volcano components when the e2e test workf…
Browse files Browse the repository at this point in the history
…low fails"

This reverts commit cb1f9f1.
  • Loading branch information
Monokaix committed Dec 25, 2024
1 parent 54806ba commit 14b18a0
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions hack/run-e2e-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,19 +68,6 @@ function generate-log {
kubectl logs deployment/${CLUSTER_NAME}-scheduler -n ${NAMESPACE} > volcano-scheduler.log
}

function show-log() {
log_files=("volcano-admission.log" "volcano-controller.log" "volcano-scheduler.log")
for log_file in "${log_files[@]}"; do
if [ -f "$log_file" ]; then
echo "Showing ${log_file}..."
cat "$log_file"
else
echo "${log_file} not found"
fi
done
}


# clean up
function cleanup {
uninstall-volcano
Expand All @@ -89,7 +76,8 @@ function cleanup {
kind delete cluster ${CLUSTER_CONTEXT}

if [[ ${SHOW_VOLCANO_LOGS} -eq 1 ]]; then
show-log
#TODO: Add volcano logs support in future.
echo "Volcano logs are currently not supported."
fi
}

Expand Down

0 comments on commit 14b18a0

Please sign in to comment.