Skip to content

Commit

Permalink
e2e: Switch workspace before printing logs
Browse files Browse the repository at this point in the history
  • Loading branch information
astefanutti committed Feb 22, 2023
1 parent f78173c commit 47edeae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,11 @@ jobs:
- name: Print camel-kcp logs
if: ${{ always() }}
run: |
export KUBECONFIG=$(pwd)/.kcp/admin.kubeconfig
kubectl config use-context root
kubectl kcp ws root:camel-k
echo "Printing camel-kcp logs"
kubectl logs -n camel-kcp --tail -1 -l app.kubernetes.io/name=camel-k -l app.kubernetes.io/component=controller-manager
Expand Down

0 comments on commit 47edeae

Please sign in to comment.