Skip to content

Commit

Permalink
Pass the Docker image in env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Nov 22, 2024
1 parent cdc3e8b commit 0bcb64b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ohm/templates/tiler-cache-sqs/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ spec:
value: {{ .Values.ohm.tilerCacheSqs.env.ENVIRONMENT | quote }}
- name: SQS_QUEUE_URL
value: {{ .Values.ohm.tilerCacheSqs.env.SQS_QUEUE_URL | quote }}
- name: DOCKER_IMAGE
value: {{ .Values.ohm.tilerCacheSqs.env.DOCKER_IMAGE | quote }}
- name: NODEGROUP_TYPE
value: {{ .Values.ohm.tilerCacheSqs.env.NODEGROUP_TYPE | quote }}
- name: MAX_ACTIVE_JOBS
Expand Down
1 change: 1 addition & 0 deletions values.staging.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -959,6 +959,7 @@ ohm:
ENVIRONMENT: staging
REGION_NAME: "us-east-1"
NAMESPACE: "default" # Namespace to run the job
DOCKER_IMAGE: "ghcr.io/openhistoricalmap/tiler-cache-sqs:0.0.1-0.dev.git.1750.hcdc3e8b" # TODO, this should be automatically updated from tiler server image
SQS_QUEUE_URL: "https://sqs.us-east-1.amazonaws.com/618380242247/tiler-imposm3-expired-files-staging"
NODEGROUP_TYPE: "job_large" # Nodegroup type to run the job
MAX_ACTIVE_JOBS: 2 # Maximum number of active jobs in high concurrency queue
Expand Down

0 comments on commit 0bcb64b

Please sign in to comment.