Disable Prisma CLI Telemetry in Entrypoint Shell Script (#4609)

* propogate anythingllm telemetry settings to prisma

* Disable Prisma CLI telemetry in Docker entrypoint script

* Delete incorrect disable block

* test build

---------

Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
Co-authored-by: timothycarambat <rambat1010@gmail.com>
This commit is contained in:
Marcello Fitton 2025-11-19 15:11:53 -08:00 committed by GitHub
parent e892c9b9b8
commit fd9256b361
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -6,7 +6,7 @@ concurrency:
on: on:
push: push:
branches: ['gemini-migration-agents'] # put your current branch to create a build. Core team only. branches: ['4534-disable-prisma-telemetry'] # put your current branch to create a build. Core team only.
paths-ignore: paths-ignore:
- '**.md' - '**.md'
- 'cloud-deployments/*' - 'cloud-deployments/*'

View File

@ -18,6 +18,8 @@ fi
{ {
cd /app/server/ && cd /app/server/ &&
# Disable Prisma CLI telemetry (https://www.prisma.io/docs/orm/tools/prisma-cli#how-to-opt-out-of-data-collection)
export CHECKPOINT_DISABLE=1 &&
npx prisma generate --schema=./prisma/schema.prisma && npx prisma generate --schema=./prisma/schema.prisma &&
npx prisma migrate deploy --schema=./prisma/schema.prisma && npx prisma migrate deploy --schema=./prisma/schema.prisma &&
node /app/server/index.js node /app/server/index.js