Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
matmut7 committed Oct 10, 2024
1 parent 33b5394 commit 091b05e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
16 changes: 14 additions & 2 deletions .kontinuous/env/dev/values.yaml
Original file line number Diff line number Diff line change
@@ -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"

Expand All @@ -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
2 changes: 1 addition & 1 deletion src/pages/api/sync/inc/dossiers/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 091b05e

Please sign in to comment.