We use cockroachdb serverless as our database. We can create new instances via their API and would like to have a new instance per pull request environment (or preview environment).
Is it possible to run a pre or post build script to create my instance and set environment variables for the new environment? It looks like there’s a post build shell script option within the render.yaml for preview envs, but not pull request. If there’s no way on render, then I’ll have to use github actions to integrate cockroach and trigger deployments on render.