Hi Team
Just want to understand how Drone shares data between stages, for example, the workspace. I could mount a volume from host to Docker container as the workspace but it also means different stages from the same job cannot run across machines.
Does Drone support Docker volume plugin so that the different stages could be running in different with workspace shared.
Thanks,
Yong
Does Drone support Docker volume plugin so that the different stages could be running in different with workspace shared.
If I understand correctly you want to share the workspace between pipeline stages? Well, good news is that drone does this automatically.
In order to share data between stages, drone mounts a base volume
http://readme.drone.io/questions/how-to-customize-the-workspace/
This volume is available to all stages in your pipeline. Anything written to your workspace will therefore be available to all stages in your pipeline.
1 Like