Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(planetscale): reuse the same planetscale database for all ecosystem tests #5804

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

FGoessler
Copy link
Contributor

@FGoessler FGoessler commented Feb 5, 2025

Refactor our ecosystem tests for planetscale to reuse the same database (prisma/e2e-tests). Each test now has its own "namespaced" user table.

Part of this PR scope but in config or external systems:

  • Update DATABASE_URL_PLANETSCALE Github Actions secret with the value from 1Password "Ecosystem Tests Planetscale Credentials"
  • Update DATABASE_URL_PLANETSCALE for cloudflare pages ecosystem project in cloudflare
  • Cleanup then unused secrets from the github actions
DRIVER_ADAPTERS_PLANETSCALE_CF_BASIC_DATABASE_URL
DRIVER_ADAPTERS_PLANETSCALE_CFPAGES_BASIC_DATABASE_URL
DRIVER_ADAPTERS_PLANETSCALE_VERCEL_NEXTJS_EDGEMW_DATABASE_URL
DRIVER_ADAPTERS_PLANETSCALE_NODE_BASIC_DATABASE_URL
DRIVER_ADAPTERS_PLANETSCALE_LAMBDA_BASIC_DATABASE_URL
DRIVER_ADAPTERS_PLANETSCALE_VERCEL_NEXTJS_DATABASE_URL
  • Delete unused databases in planetscale
eco-driver-adapters-planetscale-node-basic
eco-driver-adapters-planetscale-lambda-basic
eco-driver-adapters-planetscale-cf-basic
eco-driver-adapters-planetscale-vercel-nextjs
eco-driver-adapters-planetscale-vercel-nextjs-edgemw
eco-driver-adapters-wasm-planetsacle-cfpages-basic

@FGoessler FGoessler requested a review from a team as a code owner February 5, 2025 15:40
@FGoessler FGoessler requested review from millsp and jacek-prisma and removed request for a team February 5, 2025 15:40
@FGoessler FGoessler force-pushed the chore/ORM-595-reduce-planetscale-usage branch from 3647633 to 6327d3c Compare February 6, 2025 14:02
@FGoessler FGoessler merged commit 46c6aea into dev Feb 7, 2025
265 of 297 checks passed
@FGoessler FGoessler deleted the chore/ORM-595-reduce-planetscale-usage branch February 7, 2025 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants