I'm trying to run firebase emulators in a Bitbucket pipeline and simultaneously run commands that would interact with them.
Whilst the emulators are running, new commands cannot be ran. I haven't been able to find a method to run the emulators in the background.
I've tried:
- Starting processes in the background using '&'
- Terminal multiplexers like tmux
Bitbucket offers parallel steps (Parallel step options), but these are self-contained. There is no way to pass information between the two containers.
How can I run two processes at the same time? If this is by design, how can I pass information between parallel steps? And if this is intended behaviour, what is the justification?