From 49c346ea840b1606612482ae4e88c5f004aa8236 Mon Sep 17 00:00:00 2001 From: Austin Macdonald Date: Fri, 8 Nov 2024 15:29:59 -0600 Subject: [PATCH] override entrypoint so i can debug with exec --- .github/manifests/disk-usage-report-job.yaml | 5 +++-- .github/workflows/report.yaml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/manifests/disk-usage-report-job.yaml b/.github/manifests/disk-usage-report-job.yaml index 7a5e424..e2e81a3 100644 --- a/.github/manifests/disk-usage-report-job.yaml +++ b/.github/manifests/disk-usage-report-job.yaml @@ -7,8 +7,9 @@ spec: containers: - name: disk-usage-report image: IMAGE_PLACEHOLDER - args: - - "/home/asmacdo" + command: ["/bin/sh", "-c", "sleep 300"] + # args: + # - "/home/asmacdo" volumeMounts: - name: persistent-storage mountPath: "/home/" diff --git a/.github/workflows/report.yaml b/.github/workflows/report.yaml index 04b264c..34241ee 100644 --- a/.github/workflows/report.yaml +++ b/.github/workflows/report.yaml @@ -80,7 +80,7 @@ jobs: # TODO should timeout be longer? - name: Wait for Disk Usage Report Job to complete run: | - kubectl wait --for=condition=complete pod/disk-usage-report-job --timeout=150s -n jupyterhub + kubectl wait --for=condition=complete pod/disk-usage-report-job --timeout=360s -n jupyterhub continue-on-error: true - name: Retrieve generated report file