From 1fc5b45aa8fcd6fa85e1c4964cc2d6f90e5da116 Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Tue, 5 May 2026 19:51:29 +0000 Subject: [PATCH] fix(e2e): search k8s and k8s-novolume for kubeconfig ARC runner stores kubeconfig in /home/runner/k8s/config (mounted by Actions Runtime). Add both k8s and k8s-novolume to the search paths and remove non-existent paths from diagnostics. Co-Authored-By: Paperclip --- .github/workflows/e2e.yaml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 5eed9e6..d695607 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -50,13 +50,11 @@ jobs: set -euo pipefail echo "HOME=${HOME}" echo "ACTIONS_KUBECONFIG=${ACTIONS_KUBECONFIG:-}" - echo "Listing /runner contents:" - ls -la /runner/ 2>&1 || echo "/runner does not exist" - echo "Listing /home/runner contents:" - ls -la /home/runner/ 2>&1 || echo "/home/runner does not exist" - echo "Listing /home/github contents:" - ls -la /home/github/ 2>&1 || echo "/home/github does not exist" - for dir in /runner /home/runner/.kube /home/github/.kube "$HOME/.kube"; do + echo "Listing /home/runner/k8s contents:" + ls -la /home/runner/k8s/ 2>&1 || echo "/home/runner/k8s does not exist" + echo "Listing /home/runner/k8s-novolume contents:" + ls -la /home/runner/k8s-novolume/ 2>&1 || echo "/home/runner/k8s-novolume does not exist" + for dir in /home/runner/k8s /home/runner/k8s-novolume "$HOME/.kube" /runner; do if [ -f "${dir}/config" ]; then echo "Found kubeconfig at ${dir}/config" echo "KUBECONFIG=${dir}/config" >> "$GITHUB_ENV"