You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Is it possible to do a complete unattended Bamboo Server (master) install via script (only)?
From start to running instance (without using a previous install instance) ?
There's a lot of software available where this is possible (Splunk, Jenkins etc). But as far as I can make out from available literature - the first local admin credentials always need to be created via UI for Bamboo.
Any thoughts anyone ??
Unfortunately Bamboo doesn't have anything embedded for that so I started experimenting some options a while ago using Python + Mechanize, the script basically needs a fresh Bamboo installation (for my tests I used a Docker container) and uses web scrapping to automate the UI part. I committed what I have so far to a public repo, it needs some polishing but you can use as a reference:
Docker image used:
docker run -d \
--name bamboo \
-v ~/dockerdata/bamboo:/var/atlassian/application-data/bamboo \
-h bamboo \
-p 8085:8085 \
-p 54663:54663 \
ps. I'm using docker on macOS, it might be needed to adjust the volume biding option.
Link to my project:
It would be great if you could contribute to the project or create a new one and share with us.
Added to my colleague's update, if you have hosted Bamboo on AWS, you may also use our Bamboo Server EC2 Wizard. This will get your Bamboo server up and running in AWS in less than 10 minutes. You can get this jar file and automate the entire configuration.
In short, to run the wizard, you will just have to execute:
java -jar bamboo-server-ec2-wizard.jar
Hope that helps.