From 72679c76448843053af1f9a717e9faa4bc53432a Mon Sep 17 00:00:00 2001 From: CI Date: Tue, 14 Jan 2025 16:48:12 +0000 Subject: [PATCH] CircleCI commit for version '2.23.6-alpha.272689' --- charts/speckle-server/Chart.yaml | 4 ++-- charts/speckle-server/templates/_helpers.tpl | 5 +++++ charts/speckle-server/values.schema.json | 5 +++++ charts/speckle-server/values.yaml | 5 ++++- 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/charts/speckle-server/Chart.yaml b/charts/speckle-server/Chart.yaml index 39e5be72..7228b586 100644 --- a/charts/speckle-server/Chart.yaml +++ b/charts/speckle-server/Chart.yaml @@ -5,7 +5,7 @@ apiVersion: v2 # It is recommended to use it with quotes. # Set by the build process to the correct value -appVersion: '2.23.6-alpha.272649' +appVersion: '2.23.6-alpha.272689' description: Speckle Server home: 'https://speckle.systems/' icon: 'https://app.speckle.systems/images/logo.png' @@ -21,4 +21,4 @@ type: application # Versions are expected to follow Semantic Versioning (https://semver.org/) # Set by the build process to the correct value -version: 2.23.6-alpha.272649 +version: 2.23.6-alpha.272689 diff --git a/charts/speckle-server/templates/_helpers.tpl b/charts/speckle-server/templates/_helpers.tpl index 22158af8..f7de1155 100644 --- a/charts/speckle-server/templates/_helpers.tpl +++ b/charts/speckle-server/templates/_helpers.tpl @@ -772,6 +772,11 @@ Generate the environment variables for Speckle server and Speckle objects deploy - name: POSTGRES_CONNECTION_ACQUIRE_TIMEOUT_MILLIS value: {{ .Values.db.connectionAcquireTimeoutMillis | quote }} +{{- if .Values.db.knexAsyncStackTracesEnabled }} +- name: KNEX_ASYNC_STACK_TRACES_ENABLED + value: {{ .Values.db.knexAsyncStackTracesEnabled | quote }} +{{- end}} + - name: PGSSLMODE value: "{{ .Values.db.PGSSLMODE }}" diff --git a/charts/speckle-server/values.schema.json b/charts/speckle-server/values.schema.json index 55f5d693..b4431e64 100644 --- a/charts/speckle-server/values.schema.json +++ b/charts/speckle-server/values.schema.json @@ -241,6 +241,11 @@ "description": "The maximum time in milliseconds to wait for a new connection to be created in the connection pool. Should be less than the acquisition timeout, as a new connection may need to be created then acquired.", "default": 5000 }, + "knexAsyncStackTracesEnabled": { + "type": "boolean", + "description": "If enabled, will provide better stack traces for errors arising out of knex operations", + "default": false + }, "databaseName": { "type": "string", "description": "(Optional) The name of the Postgres database to which Speckle will connect. Only required for the Database Monitoring utility when the connection string is to a database connection pool and multi-region is disabled, otherwise this value is ignored.", diff --git a/charts/speckle-server/values.yaml b/charts/speckle-server/values.yaml index f3990762..03e61fae 100644 --- a/charts/speckle-server/values.yaml +++ b/charts/speckle-server/values.yaml @@ -81,7 +81,7 @@ ingress: ## ## @param docker_image_tag Speckle is published as a Docker Image. The version of the image which will be deployed is specified by this tag. ## -docker_image_tag: '2.23.6-alpha.272649' +docker_image_tag: '2.23.6-alpha.272689' ## @param imagePullPolicy Determines the conditions when the Docker Images for Speckle should be pulled from the Image registry. ## ref: https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy ## @@ -178,6 +178,9 @@ db: ## @param db.connectionCreationTimeoutMillis The maximum time in milliseconds to wait for a new connection to be created in the connection pool. Should be less than the acquisition timeout, as a new connection may need to be created then acquired. ## connectionCreationTimeoutMillis: 5000 + ## @param db.knexAsyncStackTracesEnabled If enabled, will provide better stack traces for errors arising out of knex operations + ## + knexAsyncStackTracesEnabled: false ## @param db.databaseName (Optional) The name of the Postgres database to which Speckle will connect. Only required for the Database Monitoring utility when the connection string is to a database connection pool and multi-region is disabled, otherwise this value is ignored. databaseName: '' connectionString: