I’m trying to create a DevOps process to deploy preview environments when a PR is created on GitHub and destroyed when the PR is merged. I want the preview environment to pretty much be completely isolated and be seeded from a set of predefined data, this way it can have repeatable tests.
The main issue is that I have an Angular Frontend which is hosted on Firebase Hosting and a Backend consisting of Firebase Functions. And because I want the everything to be isolated with a seeded DB it would be easiest to run the Firebase Emulator alongside the hosted Angular application on a single service.
Is it possible to run the Firebase Emulator on a Cloud Run Service?
Is it possible to run multiple processes on a Cloud Run Service?