Skip to content

Commit

Permalink
Merge branch 'chore/data-proxy-ga-3' into chore/data-proxy-ga-4
Browse files Browse the repository at this point in the history
  • Loading branch information
millsp committed Jun 7, 2022
2 parents 7149342 + 91ea26a commit 629c63e
Show file tree
Hide file tree
Showing 26 changed files with 913 additions and 396 deletions.
4 changes: 3 additions & 1 deletion .buildkite/publish/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ services:
- TEST_MONGO_URI_MIGRATE=mongodb://root:prisma@mongodb_migrate:27017/tests-migrate?authSource=admin
# CockroachDB
- TEST_COCKROACH_URI=postgresql://prisma@cockroachdb:26257/tests
- TEST_COCKROACH_URI_MIGRATE=postgresql://prisma@cockroachdb:26257/tests-migrate
- TEST_COCKROACH_SHADOWDB_URI_MIGRATE=postgresql://prisma@cockroachdb:26257/tests-migrate-shadowdb
# Other vars !\ If not defined, they cannot be accessed
# TODO: do an env var cleanup?
- NPM_TOKEN
Expand Down Expand Up @@ -85,7 +87,7 @@ services:
- '5435:5432'

cockroachdb:
image: prismagraphql/cockroachdb-custom:22.1.0-beta.5
image: prismagraphql/cockroachdb-custom:22.1.0
restart: always
command: start-single-node --insecure
ports:
Expand Down
4 changes: 3 additions & 1 deletion .buildkite/test/docker-compose.14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ services:
- TEST_MONGO_URI_MIGRATE=mongodb://root:prisma@mongodb_migrate:27017/tests-migrate?authSource=admin
# CockroachDB
- TEST_COCKROACH_URI=postgresql://prisma@cockroachdb:26257/tests
- TEST_COCKROACH_URI_MIGRATE=postgresql://prisma@cockroachdb:26257/tests-migrate
- TEST_COCKROACH_SHADOWDB_URI_MIGRATE=postgresql://prisma@cockroachdb:26257/tests-migrate-shadowdb
# Other vars
- BUILDKITE
- BUILDKITE_PARALLEL_JOB
Expand Down Expand Up @@ -75,7 +77,7 @@ services:
- '5435:5432'

cockroachdb:
image: prismagraphql/cockroachdb-custom:22.1.0-beta.5
image: prismagraphql/cockroachdb-custom:22.1.0
restart: always
command: start-single-node --insecure
ports:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,8 @@ jobs:
TEST_MSSQL_SHADOWDB_JDBC_URI_MIGRATE: 'sqlserver://localhost:1433;database=tests-migrate-shadowdb;user=SA;password=Pr1sm4_Pr1sm4;trustServerCertificate=true;'
TEST_MONGO_URI_MIGRATE: 'mongodb://root:prisma@localhost:27017/tests-migrate?authSource=admin'
TEST_COCKROACH_URI: 'postgresql://prisma@localhost:26257/tests'
TEST_COCKROACH_URI_MIGRATE: 'postgresql://prisma@localhost:26257/tests-migrate'
TEST_COCKROACH_SHADOWDB_URI_MIGRATE: 'postgres://prisma:prisma@localhost:26257/tests-migrate-shadowdb'

- uses: codecov/codecov-action@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ services:
- '5435:5432'

cockroachdb:
image: prismagraphql/cockroachdb-custom:22.1.0-beta.5
image: prismagraphql/cockroachdb-custom:22.1.0
restart: always
command: start-single-node --insecure
ports:
Expand Down
10 changes: 5 additions & 5 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@
"devDependencies": {
"@prisma/client": "workspace:*",
"@prisma/debug": "workspace:*",
"@prisma/fetch-engine": "3.15.0-25.85b689a79df86c0da0e3676d1c001c946c2d903c",
"@prisma/fetch-engine": "3.15.0-29.b9297dc3a59307060c1c39d7e4f5765066f38372",
"@prisma/generator-helper": "workspace:*",
"@prisma/get-platform": "3.15.0-25.85b689a79df86c0da0e3676d1c001c946c2d903c",
"@prisma/get-platform": "3.15.0-29.b9297dc3a59307060c1c39d7e4f5765066f38372",
"@prisma/migrate": "workspace:*",
"@prisma/sdk": "workspace:*",
"@prisma/studio": "0.461.0",
"@prisma/studio-server": "0.461.0",
"@prisma/studio": "0.462.0",
"@prisma/studio-server": "0.462.0",
"@swc/core": "1.2.189",
"@swc/jest": "0.2.21",
"@types/debug": "4.1.7",
Expand Down Expand Up @@ -120,7 +120,7 @@
"prepublishOnly": "pnpm run build"
},
"dependencies": {
"@prisma/engines": "3.15.0-25.85b689a79df86c0da0e3676d1c001c946c2d903c"
"@prisma/engines": "3.15.0-29.b9297dc3a59307060c1c39d7e4f5765066f38372"
},
"sideEffects": false
}
8 changes: 4 additions & 4 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@
"@opentelemetry/api": "1.1.0",
"@prisma/debug": "workspace:*",
"@prisma/engine-core": "workspace:*",
"@prisma/engines": "3.15.0-25.85b689a79df86c0da0e3676d1c001c946c2d903c",
"@prisma/fetch-engine": "3.15.0-25.85b689a79df86c0da0e3676d1c001c946c2d903c",
"@prisma/engines": "3.15.0-29.b9297dc3a59307060c1c39d7e4f5765066f38372",
"@prisma/fetch-engine": "3.15.0-29.b9297dc3a59307060c1c39d7e4f5765066f38372",
"@prisma/generator-helper": "workspace:*",
"@prisma/get-platform": "3.15.0-25.85b689a79df86c0da0e3676d1c001c946c2d903c",
"@prisma/get-platform": "3.15.0-29.b9297dc3a59307060c1c39d7e4f5765066f38372",
"@prisma/migrate": "workspace:*",
"@prisma/sdk": "workspace:*",
"@swc/core": "1.2.189",
Expand Down Expand Up @@ -130,7 +130,7 @@
}
},
"dependencies": {
"@prisma/engines-version": "3.15.0-25.85b689a79df86c0da0e3676d1c001c946c2d903c"
"@prisma/engines-version": "3.15.0-29.b9297dc3a59307060c1c39d7e4f5765066f38372"
},
"sideEffects": false
}
4 changes: 2 additions & 2 deletions packages/engine-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
},
"dependencies": {
"@prisma/debug": "workspace:*",
"@prisma/engines": "3.15.0-25.85b689a79df86c0da0e3676d1c001c946c2d903c",
"@prisma/engines": "3.15.0-29.b9297dc3a59307060c1c39d7e4f5765066f38372",
"@prisma/generator-helper": "workspace:*",
"@prisma/get-platform": "3.15.0-25.85b689a79df86c0da0e3676d1c001c946c2d903c",
"@prisma/get-platform": "3.15.0-29.b9297dc3a59307060c1c39d7e4f5765066f38372",
"chalk": "4.1.2",
"execa": "5.1.1",
"get-stream": "6.0.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export class PrismaClientRustError extends Error {
constructor({ clientVersion, log, error }: PrismaClientRustErrorArgs) {
if (log) {
const backtrace = getBacktraceFromLog(log)
super(backtrace ?? 'Unkown error')
super(backtrace ?? 'Unknown error')
} else if (error) {
const backtrace = getBacktraceFromRustError(error)
super(backtrace)
Expand Down
4 changes: 2 additions & 2 deletions packages/migrate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"version": "latest"
},
"devDependencies": {
"@prisma/engines-version": "3.15.0-25.85b689a79df86c0da0e3676d1c001c946c2d903c",
"@prisma/engines-version": "3.15.0-29.b9297dc3a59307060c1c39d7e4f5765066f38372",
"@prisma/generator-helper": "workspace:*",
"@prisma/sdk": "workspace:*",
"@swc/core": "1.2.189",
Expand All @@ -44,7 +44,7 @@
},
"dependencies": {
"@prisma/debug": "workspace:*",
"@prisma/get-platform": "3.15.0-25.85b689a79df86c0da0e3676d1c001c946c2d903c",
"@prisma/get-platform": "3.15.0-29.b9297dc3a59307060c1c39d7e4f5765066f38372",
"@sindresorhus/slugify": "1.1.2",
"chalk": "4.1.2",
"execa": "5.1.1",
Expand Down
Loading

0 comments on commit 629c63e

Please sign in to comment.