diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6f3b803..367c4b7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -52,6 +52,18 @@ jobs: - name: Start demo run: | ./run_demo.sh --exit-when-done /tmp/diracx /tmp/DIRAC + - name: Debugging information + run: | + export KUBECONFIG=$PWD/.demo/kube.conf + .demo/kubectl get pods + for pod_name in $(.demo/kubectl get pods -o json | jq -r '.items[] | .metadata.name' | grep -vE '(dex|minio|mysql|rabbitmq|opensearch)'); do + echo "${pod_name}" + .demo/kubectl describe "${pod_name}" || true + for container_name in $(.demo/kubectl get pods $pod_name -o jsonpath='{.spec.initContainers[*].name} {.spec.containers[*].name}'); do + echo $pod_name $container_name + .demo/kubectl logs "${pod_name}" -c "${container_name}" || true + done + done - name: Check for success run: | if [ ! -f ".demo/.success" ]; then