I would like to run some integration tests for an application (A) which relies on another (internal) application (B) to be running (also inside a container). Application B requires some schema to be setup in a cassandra database (also running in a non-primary container) before it starts.
I’ve written one of the build steps to setup the cassandra database with the required schema, but I don’t know how to make the application B container run only after this step. Right now, it starts immediately after the cassandra container, and it errors because it can’t find the required schema.
Is there any way to execute some steps before starting one of the non-primary containers?