From cec63273f374d6e9ef5bb204f9b722f9d1550cae Mon Sep 17 00:00:00 2001 From: Zack Galbreath Date: Wed, 15 Oct 2025 15:29:33 -0400 Subject: [PATCH 1/2] Bump CDash version to v4.5.0 This commit also introduces a new value to configure the --memory argument for the CDash queue worker. --- charts/cdash/Chart.yaml | 4 ++-- charts/cdash/templates/worker/deployment.yaml | 2 ++ charts/cdash/values.yaml | 8 +++++++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/charts/cdash/Chart.yaml b/charts/cdash/Chart.yaml index 8101f2d..61a0972 100644 --- a/charts/cdash/Chart.yaml +++ b/charts/cdash/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: cdash description: CDash aggregates, analyzes and displays the results of software testing processes type: application -version: "0.8.1" -appVersion: "4.4.0" +version: "0.9.0" +appVersion: "4.5.0" dependencies: - name: postgresql version: "16.3.5" diff --git a/charts/cdash/templates/worker/deployment.yaml b/charts/cdash/templates/worker/deployment.yaml index 7a6f156..ce60fc8 100644 --- a/charts/cdash/templates/worker/deployment.yaml +++ b/charts/cdash/templates/worker/deployment.yaml @@ -25,4 +25,6 @@ spec: command: [ "/bin/bash", "/cdash/docker/docker-entrypoint.sh" ] args: [ "start-worker" ] env: + - name: WORKER_MEMORY_LIMIT + value: {{ .Values.cdash.worker.worker_memory | quote | default "256" }} {{ template "cdash.environment" . }} diff --git a/charts/cdash/values.yaml b/charts/cdash/values.yaml index 6e39914..088fda2 100644 --- a/charts/cdash/values.yaml +++ b/charts/cdash/values.yaml @@ -10,7 +10,7 @@ cdash: https: true # cdash.image is the Docker image to use for this CDash instance. - image: "kitware/cdash:v4.4.0" + image: "kitware/cdash:v4.5.0" # This Helm chart uses an embedded postgres database by default. # To use an external database instead, set postgresql.enabled: false @@ -55,6 +55,12 @@ cdash: # we should create for this Helm release. replicas: 1 + # Terminate (and restart) the worker pod *after* it parses + # a submission if it consumes more than this amount of memory + # (in megabytes). + # This should probably match the memory request below. + worker_memory: 256 + resources: requests: memory: 256Mi From 5dad2ab339c3a1773988eda133f79eaf96a879d7 Mon Sep 17 00:00:00 2001 From: Zack Galbreath Date: Thu, 16 Oct 2025 08:19:50 -0400 Subject: [PATCH 2/2] Fix chart-testing-action This apparently started failing when GitHub Actions upgraded to Python 3.14 by default. See here for more details: https://github.com/helm/chart-testing-action/issues/177 --- .github/workflows/lint-test.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index 96899fe..18aef8d 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -22,7 +22,9 @@ jobs: check-latest: true - name: Set up chart-testing - uses: helm/chart-testing-action@v2.7.0 + uses: helm/chart-testing-action@0d28d3144d3a25ea2cc349d6e59901c4ff469b3b #v2.7.0 + with: + yamale_version: "6.0.0" - name: Run chart-testing (list-changed) id: list-changed