Degraded performance Customers may experience intermittent errors using Community search. Our platform vendor is investigating.
It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
I am playing with the idea of trying to create a docker container which can run multiple Bamboo agents.
The idea is that I can start a docker container with the number of agents as an argument. So kind of mimicking the executor functionality in Jenkins. Just starting with docker so I am wondering if anyone has tried this or already has a docker image for this?
Alternatively, does anyone see any major blockers to doing this? I know we can manually run multiple agents on a machine, so conceptually this should be possible I guess.
Sooo I have done something very similar I have not however wired it into Bamboo to see what it would do.
I have basically built a chroot jail-shell (what docker does under the hood) and crammed Bamboo into it. Turned it on and it worked. I imagine that you can have a script that lives inside the docker container that you simply pass a variable into that will spin up that many containers based on the value given. It does work though.
Java requires access to /proc, and bamboo does things like ps check. You'll also need access to /dev/urandom, so you need to have access to /dev in the container. And git, thats about it. Its pretty simple...
In fact I'm not sure of any other way to get past the Remote Agent Authenitcater save greping out the uuid in the bamboo-agent.cfg.xml from an already approved agent and pushing into the new agents bamboo-agent.cfg.xml file with some script mechanism. As I'm typing this out that would be something bamboo or `docker exec` can do.
I would love to see this happen where we could spin up many agents in a container... I just wonder how well it would scale. Go for it!!1
Okay, sounds possible, so I think I will give it a shot next week, when I have the time. If I get it working I will push the image to docker hub, where you are welcome to use/change. Thanks for the feedback :-)
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.
Read moreBamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.