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 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