Skip to content

Commit

Permalink
use devspace timestamp tag for backend
Browse files Browse the repository at this point in the history
- use dev-latest tag for default worker pool
  • Loading branch information
shubham3121 committed Sep 30, 2024
1 parent 73b581a commit 9e98cf4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions packages/grid/devspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,17 @@ images:
target: "syft-ui-production"
context: ./frontend
tags:
- dev-latest
- dev-${DEVSPACE_TIMESTAMP}
- dev-latest
seaweedfs:
image: "${CONTAINER_REGISTRY}/${DOCKER_IMAGE_SEAWEEDFS}"
buildKit:
args: ["--platform", "linux/${PLATFORM}"]
dockerfile: ./seaweedfs/seaweedfs.dockerfile
context: ./seaweedfs
tags:
- dev-latest
- dev-${DEVSPACE_TIMESTAMP}
- dev-latest

# This is a list of `deployments` that DevSpace can create for this project
deployments:
Expand All @@ -75,7 +75,8 @@ deployments:
values:
global:
registry: ${CONTAINER_REGISTRY}
version: dev-latest
version: dev-${DEVSPACE_TIMESTAMP}
workerVersion: dev-latest
# anything that does not need templating should go in helm/examples/dev/base.yaml
# or profile specific values files
valuesFiles:
Expand Down Expand Up @@ -167,8 +168,8 @@ profiles:
dockerfile: ./rathole/rathole.dockerfile
context: ./rathole
tags:
- dev-latest
- dev-${DEVSPACE_TIMESTAMP}
- dev-latest
# use rathole client-specific chart values
- op: add
path: deployments.syft.helm.valuesFiles
Expand All @@ -188,8 +189,8 @@ profiles:
dockerfile: ./rathole/rathole.dockerfile
context: ./rathole
tags:
- dev-latest
- dev-${DEVSPACE_TIMESTAMP}
- dev-latest
# enable rathole `devspace dev` config
- op: add
path: dev
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ spec:
- name: INMEMORY_WORKERS
value: {{ .Values.server.inMemoryWorkers | quote }}
- name: DEFAULT_WORKER_POOL_IMAGE
value: "{{ .Values.global.registry }}/openmined/syft-backend:{{ .Values.global.version }}"
value: "{{ .Values.global.registry }}/openmined/syft-backend:{{ .Values.global.workerVersion }}"
- name: DEFAULT_WORKER_POOL_COUNT
value: {{ .Values.server.defaultWorkerPool.count | quote }}
- name: DEFAULT_WORKER_POOL_POD_LABELS
Expand Down

0 comments on commit 9e98cf4

Please sign in to comment.