Im struggling with using steps to persist information/state.
I had assumed the parallel steps inherit their container from the previous step. This is correct, I can not get it to work.
If this, isnt correct doest that mean parallel steps, are meant to have lots of duplicate code (for example installing packages, and prepring envs to run tests etc..)
My current approach to have the first step run an ansible playbook - which provisions the container in pipeline similar to our local dev, and production envs.
Part of that process is configuring the mysql DB and downloading some dummy data for it to use, while also installing some other libs (awscli for example)
Finally it installs poetry so I can test our packages in this env, against the DB, before deployment.
But when ever the next steps (in parallel) "poetry is not found".
I added the artifacts: dist/** - from seeing an example elsewhere about preserving whats installed to the next steps, but that didnt work.
Have I miss understood the purpose of parallel steps here?