From b5cc1212cf650f874061e2614213fa5ce6e274a8 Mon Sep 17 00:00:00 2001 From: Alex Gherghisan Date: Fri, 6 Dec 2024 13:09:14 +0000 Subject: [PATCH] fix: port-forward --- .github/workflows/devnet-deploy.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/devnet-deploy.yml b/.github/workflows/devnet-deploy.yml index a48205889f6..2a135346d75 100644 --- a/.github/workflows/devnet-deploy.yml +++ b/.github/workflows/devnet-deploy.yml @@ -113,7 +113,10 @@ jobs: kubectl port-forward -n $NAMESPACE svc/$NAMESPACE-aztec-network-pxe $PXE_PORT & pxe_port_forward_pid=$! - kubectl port-forward -n $NAMESPACE svc/$NAMESPACE-aztec-network-ethereum $ETHEREUM_PORT & + + # port-forward directly to the pod because the Eth node does not have a service definition + ETH_POD_NAME=$(kubectl get pods -n $NAMESPACE -l app=ethereum -o jsonpath='{.items[0].metadata.name}') + kubectl port-forward -n $NAMESPACE pod/$ETH_POD_NAME $ETHEREUM_PORT & ethereum_port_forward_pid=$! # wait for port-forwards to establish