Skip to content

Commit

Permalink
Add more log on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
titigmr authored Jun 5, 2023
1 parent 995c65c commit 24a2cf6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test-kube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ jobs:
--set="backend.secret.values.API_OVH_TOKEN=test"
for i in $(kubectl get deploy -o name); do kubectl rollout status $i -w --timeout=130s; done
- name: Display pod logs on failure
if: ${{ job.status != 'Success' }}
run: |
kubectl describe pods
kubectl logs --all-containers=true --tail=100
- name: Test unitests on backend
run : |
kubectl exec deploy/basegun-backend -c basegun-backend -- python -m unittest discover -v
Expand Down

0 comments on commit 24a2cf6

Please sign in to comment.