Skip to content

Commit

Permalink
CircleCI commit for version '2.21.1-alpha.172253'
Browse files Browse the repository at this point in the history
  • Loading branch information
CI committed Sep 4, 2024
1 parent dae469b commit 2549f93
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/speckle-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.21.1-alpha.172163'
appVersion: '2.21.1-alpha.172253'
description: Speckle Server
home: 'https://speckle.systems/'
icon: 'https://speckle.xyz/logo.svg'
Expand All @@ -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.21.1-alpha.172163
version: 2.21.1-alpha.172253
12 changes: 11 additions & 1 deletion charts/speckle-server/templates/preview_service/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
command:
- node
- -e
- process.exit(Date.now() - require('fs').readFileSync('/tmp/last_successful_query', 'utf8') > 3600 * 1000)
- {{ printf "process.exit(Date.now() - require('fs').readFileSync('/tmp/last_successful_query', 'utf8') > %d)" .Values.preview_service.puppeteer.timeoutMilliseconds }}

resources:
requests:
Expand Down Expand Up @@ -84,6 +84,16 @@ spec:
value: "/postgres-certificate/ca-certificate.crt"
{{- end }}

{{- if .Values.preview_service.puppeteer.userDataDirectory }}
- name: USER_DATA_DIR
value: {{ .Values.preview_service.puppeteer.userDataDirectory | quote }}
{{- end }}

{{- if .Values.preview_service.puppeteer.timeoutMilliseconds }}
- name: PREVIEW_TIMEOUT
value: {{ .Values.preview_service.puppeteer.timeoutMilliseconds | quote }}
{{- end }}

{{- if .Values.preview_service.affinity }}
affinity: {{- include "speckle.renderTpl" (dict "value" .Values.preview_service.affinity "context" $) | nindent 8 }}
{{- end }}
Expand Down
15 changes: 15 additions & 0 deletions charts/speckle-server/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1666,6 +1666,21 @@
}
}
},
"puppeteer": {
"type": "object",
"properties": {
"userDataDirectory": {
"type": "string",
"description": "The path to the user data directory. If not set, defaults to '/tmp/puppeteer'. This is mounted in the deployment as a volume with read-write access.",
"default": ""
},
"timeoutMilliseconds": {
"type": "string",
"description": "The timeout in milliseconds for the Puppeteer service.",
"default": "3600000"
}
}
},
"requests": {
"type": "object",
"properties": {
Expand Down
7 changes: 6 additions & 1 deletion charts/speckle-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,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.21.1-alpha.172163'
docker_image_tag: '2.21.1-alpha.172253'
## @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
##
Expand Down Expand Up @@ -1006,6 +1006,11 @@ preview_service:
monitoring:
## @param preview_service.monitoring.metricsPort The port on which the metrics server will be exposed.
metricsPort: '9094'
puppeteer:
## @param preview_service.puppeteer.userDataDirectory The path to the user data directory. If not set, defaults to '/tmp/puppeteer'. This is mounted in the deployment as a volume with read-write access.
userDataDirectory: ''
## @param preview_service.puppeteer.timeoutMilliseconds The timeout in milliseconds for the Puppeteer service.
timeoutMilliseconds: '3600000'
requests:
## @param preview_service.requests.cpu The CPU that should be available on a node when scheduling this pod.
## ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
Expand Down

0 comments on commit 2549f93

Please sign in to comment.