Share remote docker across workflow jobs

docker

#1

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.


#2

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.


#3

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