You're right that there are docker-swarm elastic agents <https://github.com/gocd-contrib/docker-swarm-elastic-agents>. There are no Digital Ocean elastic agents that I know of.
On Thu, Apr 27, 2017 at 8:00 PM, nurupo <[email protected]> wrote: > Hi, > > Is there an existing (plugin?) way to make GoCD create agents on-demand in > DigitalOcean cloud? More precisely, whenever there is a job that needs to > be run and there are no free agents, a DigitalOcean VPS would be created by > GoCD to run that job on, and after there are no more jobs left, that VPS > would be destroyed. > > Is there an existing way to do the same as the above -- create on-demand > agents in DigitalOcean cloud -- but such that each job is fully isolated > from another? Such isolation is needed because we don't want one job > interfering with another. For example, if job1 is using maven and job2 is > using maven, we don't want the maven cache at $HOME/.mvn to be shared > between them. Another example would be that we don't want job1 to be able > to navigate into the directory of job2 and modify any files, making the > job2 to fail. This could be achieved by running each job in its own Docker > container, or having AppApmor/SELinux rules specified for each job. I > believe I have seen a Docker integration plugin on GoCD website, but I > wonder if there is a way to make it work with on-demand DigitalOcean > machines that wouldn't require writing complex plugin for it ourselves. > > -- > You received this message because you are subscribed to the Google Groups > "go-cd" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
