Skip to content

Commit

Permalink
ci: add kubectl get pods to verify complete
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <[email protected]>
  • Loading branch information
vsoch committed Sep 11, 2024
1 parent e981b2d commit cfdd84a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ default_job_pod=$(kubectl get pods --selector=job-name=default-job -o json | jq
echo
echo "Fluence job pod is ${fluence_job_pod}"
echo "Default job pod is ${default_job_pod}"
sleep 10
sleep 20

# Shared function to check output
function check_output {
Expand All @@ -69,6 +69,9 @@ function check_output {
fi
}

# Pods should be completed
kubectl get pods

# Get output (and show)
default_output=$(kubectl logs ${default_job_pod})
default_scheduled_by=$(kubectl get pod ${default_job_pod} -o json | jq -r .spec.schedulerName)
Expand Down

0 comments on commit cfdd84a

Please sign in to comment.