From 0359ebdc24665264fa21a799b8859648a7569bcb Mon Sep 17 00:00:00 2001 From: Khaja Omer Date: Fri, 10 Jan 2025 12:12:47 -0600 Subject: [PATCH] debug --- .github/workflows/ci.yml | 4 ++-- Makefile | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 78394bd1..3ba37d40 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/Makefile b/Makefile index b98e613b..cf0c9c95 100644 --- a/Makefile +++ b/Makefile @@ -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