Skip to content

Commit

Permalink
troubleshoot e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
sl1pm4t committed Dec 7, 2023
1 parent bfb5cef commit 60386c5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,12 @@ jobs:
run: |
helm install -f /tmp/dex-k8s-auth-overrides.yaml dex-k8s-authenticator ./charts/dex-k8s-authenticator
kubectl describe deployment dex-k8s-authenticator
kubectl rollout status deploy dex-k8s-authenticator -w || (stern --no-follow dex-k8s-authenticator)
kubectl rollout status deploy dex-k8s-authenticator -w
- name: test
run: |
kubectl get pods
export NODE_IP=$(kubectl get nodes -o jsonpath="{.items[0].status.addresses[0].address}")
curl -Lsf "http://${NODE_IP}:30000/login/my-cluster" | grep "Log in to Your Account"
kubectl get pods
export NODE_IP=$(kubectl get nodes -o jsonpath="{.items[0].status.addresses[0].address}")
echo $NODE_IP
curl -Lsf "http://${NODE_IP}:30000/login/my-cluster"
curl -Lsf "http://${NODE_IP}:30000/login/my-cluster" | grep "Log in to Your Account"

0 comments on commit 60386c5

Please sign in to comment.