diff --git a/charts/sorry-cypress/Chart.yaml b/charts/sorry-cypress/Chart.yaml index 4cc1691..f731eee 100644 --- a/charts/sorry-cypress/Chart.yaml +++ b/charts/sorry-cypress/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: sorry-cypress description: A Helm chart for Sorry Cypress type: application -version: 1.0.6 +version: 1.0.7 appVersion: 1.1.0 home: https://sorry-cypress.dev/ sources: diff --git a/charts/sorry-cypress/README.md b/charts/sorry-cypress/README.md index 43bf4c9..fbecf81 100644 --- a/charts/sorry-cypress/README.md +++ b/charts/sorry-cypress/README.md @@ -130,6 +130,7 @@ https://sorry-cypress.dev/director/configuration | `director.environmentVariables.dashboardUrl` | The "Run URL" in the Cypress client | `""` | | `director.environmentVariables.executionDriver` | Set the execution driver. Valid options are `"../execution/in-memory"` and `"../execution/mongo/driver"` | `"../execution/in-memory"` | | `director.environmentVariables.screenshotsDriver` | Set the screenshots driver. Valid options are `"../screenshots/dummy.driver"` and `"../screenshots/s3.driver"` | `"../screenshots/dummy.driver"` | +| `director.environmentVariables.inactivityTimeoutSeconds` | Set the timeout of all test runs under your projects. | `180s` | | `director.podAnnotations` | Set annotations for pods | `{}` | | `director.podLabels` | Set additional labels for pods | `{}` | | `director.affinity` | Set affinity for pods | `{}` | diff --git a/charts/sorry-cypress/templates/deployment-director.yml b/charts/sorry-cypress/templates/deployment-director.yml index dddae05..36a3242 100644 --- a/charts/sorry-cypress/templates/deployment-director.yml +++ b/charts/sorry-cypress/templates/deployment-director.yml @@ -99,6 +99,8 @@ spec: value: "true" {{- end }} {{- end }} + - name: INACTIVITY_TIMEOUT_SECONDS + value: {{ .Values.director.environmentVariables.inactivityTimeoutSeconds }} image: "{{ .Values.director.image.repository }}:{{ .Values.director.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.director.image.pullPolicy }} name: {{ include "sorry-cypress-helm.fullname" . }}-director diff --git a/charts/sorry-cypress/values.yaml b/charts/sorry-cypress/values.yaml index df78a91..77891f6 100644 --- a/charts/sorry-cypress/values.yaml +++ b/charts/sorry-cypress/values.yaml @@ -181,9 +181,12 @@ director: # "../screenshots/s3.driver" screenshotsDriver: "../screenshots/dummy.driver" - # https://sorry-cypress.dev/director/configuration + # https://docs.sorry-cypress.dev/configuration/director-configuration allowedKeys: "" + # Test runs timeouts + inactivityTimeoutSeconds: "" + # Set annotations for pods podAnnotations: {}