Share remote docker across workflow jobs



I have designed a workflow where a Docker environment is built in remote docker, configured and then multiple tests run in parallel.

build - configure - test1 - deploy
                  \ test2 /

Is it somehow possible to share the remote docker instance set up during the build and configure jobs for testing? Repeating the build and configure steps (~3 and ~5 minutes) for each test job will result in a lot of overhead for the exact same environment.

I know doing this in a single job would be possible as well, but doing it with workflows greatly increases insight and repeatability.


I don’t think there is a specific feature for this in Circle, but could you Dockerise the app itself? You could then build it and configure it, push it as an image to a registry, and then each test could pull its own copy.


This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.