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:
parent
e892c9b9b8
commit
fd9256b361
2
.github/workflows/dev-build.yaml
vendored
2
.github/workflows/dev-build.yaml
vendored
@ -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/*'
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user