From 43233798b2ba8a1439122e7aa4bcc909daf1e018 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 17 Feb 2021 18:32:05 +0100 Subject: [PATCH] add debug output on failure (#60) --- .github/workflows/nightly-scenario-test.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nightly-scenario-test.yml b/.github/workflows/nightly-scenario-test.yml index 2fb7db1..601b6c5 100644 --- a/.github/workflows/nightly-scenario-test.yml +++ b/.github/workflows/nightly-scenario-test.yml @@ -44,8 +44,14 @@ jobs: working-directory: wlan-cloud-helm run: | helm dependency update tip-wlan - # Github runners only have 2 CPU cores and 7GB of RAM. Thus we need to disable some of our resource limits - helm upgrade --install tip-wlan tip-wlan -f tip-wlan/example-values/microk8s-basic/values.yaml --create-namespace --namespace tip --set cassandra.resources.requests.memory=null --set cassandra.resources.requests.cpu=null --wait --timeout 10m + # Github runners only have 2 CPU cores and 7GB of RAM. Thus we need to disable some of our resource requests + helm upgrade --install tip-wlan tip-wlan -f tip-wlan/example-values/microk8s-basic/values.yaml --create-namespace --namespace tip --set cassandra.resources=null --wait --timeout 10m + + - name: Show pod state on deployment failure + if: failure() + run: | + kubectl get pods -n tip + kubectl describe pods -n tip - name: Set custom DNS entries run: |