Skip to content

Commit

Permalink
add check
Browse files Browse the repository at this point in the history
Signed-off-by: helenxie-bit <[email protected]>
  • Loading branch information
helenxie-bit committed Sep 5, 2024
1 parent 295abb6 commit e0a1b6d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/e2e-test-tune-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,18 @@ jobs:
with:
tune-api: true
training-operator: true

- name: Check the status of Experiment and Trials
shell: bash
run: |
kubectl get pods -n default
# describe pod
pod_name=$(kubectl get pods -n default -o jsonpath='{.items[?(@.metadata.labels.trial-name)].metadata.name}')
kubectl describe pod $pod_name -n default
# check the logs of pod
kubectl logs $pod_name -n default
strategy:
fail-fast: false
Expand Down

0 comments on commit e0a1b6d

Please sign in to comment.