Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
komer3 committed Jan 10, 2025
1 parent 4efe366 commit 0359ebd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ jobs:
- name: Setup CAPL Management Kind Cluster and CAPL Child Cluster For Testing
run: devbox run mgmt-and-capl-cluster

- name: Run E2E Tests
run: devbox run e2e-test
# - name: Run E2E Tests
# run: devbox run e2e-test

- name: Run Cilium BGP e2e test
run: devbox run e2e-test-bgp
Expand Down
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@ e2e-test:

.PHONY: e2e-test-bgp
e2e-test-bgp:
# Debugging: Print the nodes in the cluster
KUBECONFIG=$(KUBECONFIG_PATH) kubectl get nodes -o wide
KUBECONFIG=$(KUBECONFIG_PATH) kubectl get nodes --no-headers |\
grep -v control-plane | awk '{print $$1}'

# Add bgp peering label to non control plane nodes
KUBECONFIG=$(KUBECONFIG_PATH) kubectl label nodes $$(kubectl get nodes --no-headers |\
grep -v control-plane | awk '{print $$1}') cilium-bgp-peering=true --overwrite
Expand Down

0 comments on commit 0359ebd

Please sign in to comment.