diff --git a/.kontinuous/env/dev/values.yaml b/.kontinuous/env/dev/values.yaml index 7d3e5bca..18f8827a 100644 --- a/.kontinuous/env/dev/values.yaml +++ b/.kontinuous/env/dev/values.yaml @@ -1,26 +1,38 @@ app: + annotations: + "oblik.socialgouv.io/enabled": "false" volumes: - name: docs emptyDir: {} volumeMounts: - mountPath: /mnt/docs name: docs + vars: + DEBUG: "*" form: + annotations: + "oblik.socialgouv.io/enabled": "false" volumes: - name: docs-form emptyDir: {} volumeMounts: - mountPath: /mnt/docs name: docs-form + vars: + DEBUG: "*" pg: cnpg-cluster: + annotations: + "oblik.socialgouv.io/enabled": "false" monitoring: ~tpl~enablePodMonitor: "true" pg-form: cnpg-cluster: + annotations: + "oblik.socialgouv.io/enabled": "false" monitoring: ~tpl~enablePodMonitor: "true" @@ -30,11 +42,11 @@ jobs: with: buildArgs: NEXT_PUBLIC_SENTRY_ENVIRONMENT: review - START_SCRIPT: start-review + START_SCRIPT: start-prod NEXT_PUBLIC_API_URL_SDP: https://formulaire-{{ .Values.global.host }}/api/sync build-form: with: buildArgs: NEXT_PUBLIC_SENTRY_ENVIRONMENT: review - START_SCRIPT: start-review + START_SCRIPT: start diff --git a/src/pages/api/sync/inc/dossiers/index.tsx b/src/pages/api/sync/inc/dossiers/index.tsx index 4fe878e1..5562beaf 100644 --- a/src/pages/api/sync/inc/dossiers/index.tsx +++ b/src/pages/api/sync/inc/dossiers/index.tsx @@ -12,7 +12,7 @@ import { frenchDateText, frenchDepartementName } from "src/lib/helpers"; import type { z } from "zod"; import { PrismaClient, Prisma } from "@prisma/client"; -const client = new PrismaClient(); +const client = new PrismaClient({ log: ["query", "info", "warn", "error"] }); export const config = { api: {