From 5d08fe01510e792ae039b5bb93a4a1c6fbf15c9d Mon Sep 17 00:00:00 2001 From: Gary van Woerkens Date: Tue, 11 Jun 2024 18:07:24 +0200 Subject: [PATCH] fix: update kontinuous needs --- .kontinuous/env/dev/values.yaml | 4 ++-- .kontinuous/env/preprod/values.yaml | 6 +++--- .kontinuous/env/prod/values.yaml | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.kontinuous/env/dev/values.yaml b/.kontinuous/env/dev/values.yaml index 0e968e52c6..ad86c5a9c4 100644 --- a/.kontinuous/env/dev/values.yaml +++ b/.kontinuous/env/dev/values.yaml @@ -21,7 +21,7 @@ jobs: seedPath: _scripts/db/dumps/domifa_test.postgres.truncate-restore-data-only.sql backend: &backendDev - ~needs: [backend-cron] + ~needs: [build-backend, pg] env: &backendEnv - name: S3_BUCKET_ENDPOINT valueFrom: @@ -53,7 +53,7 @@ backend: &backendDev backend-export: <<: *backendDev - ~needs: [backend-cron] + ~needs: [build-backend, pg] ingress: paths: - /export diff --git a/.kontinuous/env/preprod/values.yaml b/.kontinuous/env/preprod/values.yaml index db08d64c73..b92eadb79f 100644 --- a/.kontinuous/env/preprod/values.yaml +++ b/.kontinuous/env/preprod/values.yaml @@ -1,6 +1,6 @@ backend: &backendPreprod host: "api-{{ .Values.global.host }}" - ~needs: [backend-cron] + ~needs: [build-backend, pg] envFrom: - secretRef: name: "{{ .Values.global.pgSecretName }}" @@ -41,14 +41,14 @@ backend: &backendPreprod backend-export: <<: *backendPreprod - ~needs: [backend-cron] + ~needs: [build-backend, pg] ingress: paths: - /export - /admin/structures/export backend-cron: - ~needs: [build-backend] + ~needs: [build-backend, pg] envFrom: - secretRef: name: "{{ .Values.global.pgSecretName }}" diff --git a/.kontinuous/env/prod/values.yaml b/.kontinuous/env/prod/values.yaml index d0944927da..4e46efc9e3 100644 --- a/.kontinuous/env/prod/values.yaml +++ b/.kontinuous/env/prod/values.yaml @@ -27,7 +27,7 @@ jobs: DOMIFA_FRONTEND_META_ROBOTS: index,follow backend-cron: - ~needs: [build-backend] + ~needs: [build-backend, pg] replicas: 1 resources: requests: @@ -81,7 +81,7 @@ backend-cron: value: backup/files backend: &backendProd - ~needs: [backend-cron] + ~needs: [build-backend, pg] host: "domifa-api.{{ .Values.global.domain }}" autoscale: minReplicas: 3 @@ -109,7 +109,7 @@ backend: &backendProd env: *backendEnv backend-export: - ~needs: [backend-cron] + ~needs: [build-backend, pg] host: "domifa-api.{{ .Values.global.domain }}" autoscale: minReplicas: 2