fix(e2e): remove errant /github listing that causes exit 2
ls -la /github/ exits with code 2 when /github/ doesn't exist, causing set -e to fail the step. Remove that listing. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -53,8 +53,6 @@ jobs:
|
||||
echo "ACTIONS_KUBECONFIG=${ACTIONS_KUBECONFIG:-<unset>}"
|
||||
echo "Listing GITHUB_WORKSPACE root:"
|
||||
ls -la "${GITHUB_WORKSPACE:-/github/workspace}/" 2>&1 | head -10
|
||||
echo "Listing /github:"
|
||||
ls -la /github/ 2>&1 | head -10
|
||||
for file in "$HOME/.kube" "$HOME/.kube/config" "/home/runner/.kube" "/home/runner/.kube/config" "$HOME/.kube/config" "/home/runner/.kube/config" "/runner/.kube" "/runner/.kube/config" "/runner/config" "/github/.kube" "/github/.kube/config" "${GITHUB_WORKSPACE:-/github/workspace}/.kube" "${GITHUB_WORKSPACE:-/github/workspace}/.kube/config"; do
|
||||
if [ -f "$file" ]; then
|
||||
echo "Found kubeconfig at ${file}"
|
||||
|
||||
Reference in New Issue
Block a user