Below you can find some info how to setup Bamboo Stack in couple of minutes using Rancher.
Add rancher-catalog to the Rancher.
Then use Bamboo to create a new stack.
First Configure Rancher Stack. If there is no need to edit any values, keep it default.
Once Bamboo Stack will be lanched it will create 5 containers:
postgres
postgres
sidekick with volume databamboo-server
bamboo-server
sidekick with volume databamboo-agent
Now Bamboo need some time to auto setup. Status of this process can be monitored via Rancher.
In a meantime we can monitor the status of Bamboo Agent. It's still waiting for a Bamboo Server.
Let's start with Bamboo Confuguration. To get license key create account on Atlassian and generate a evaluation key. Next use Custom installation
button
When you get to the database configuration, select PostgreSQL
.
Fill in the nececery data based on Rancher configuration. The default values are shown below.
Next create a new Bamboo Home. It will be stored on a sidekick container.
It's time to setup administrator user.
Once Bamboo Server is setup, Bamboo Agent will do an autoconfiguration, which can be seen in logs.
After a few minutes, in Bamboo Agents administration new Agent will appear. If you want to add it use Approve access
. If you want to have future agents to be added automatically use Disable remote agent authentication
.
Congratulations! Now Bamboo Agent is fully operational!
But, what if we don't like such a silly hostname like on example above? No problem, let's upgrade Bamboo Agent.
If you need to install more packages, you can do this now. Just enter apt
packages names like listed below.
To set "user friendly" hostname, go to Networking
tab and setels Use the container name
.
After the upgrade we will see a a new agent and an old one. Since the old one is not working anymore, let's remove it.
Scale Time! Let's scale our Bamboo Agents with one click!
Voila! Now we have 5 new Bamboo Agents.
The same way we can upgrade our Bamboo Server if new version is available. We are storing BAMBO_HOME on different container, so after upgrade, everything will be fully operational. Also remember to upgrade a agent version!