Skip to content

Latest commit

 

History

History
80 lines (58 loc) · 5.33 KB

README.md

File metadata and controls

80 lines (58 loc) · 5.33 KB

How to setup Bamboo Stack in Rancher?

Below you can find some info how to setup Bamboo Stack in couple of minutes using Rancher.

Setup Rancher

Add rancher-catalog to the Rancher. alt text

Then use Bamboo to create a new stack. alt text

Setup Bamboo Stack

First Configure Rancher Stack. If there is no need to edit any values, keep it default. alt text

Once Bamboo Stack will be lanched it will create 5 containers:

  1. postgres
  2. postgres sidekick with volume data
  3. bamboo-server
  4. bamboo-server sidekick with volume data
  5. bamboo-agent
    alt text

Now Bamboo need some time to auto setup. Status of this process can be monitored via Rancher. alt text alt text

In a meantime we can monitor the status of Bamboo Agent. It's still waiting for a Bamboo Server. alt text

Setup 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 alt text

When you get to the database configuration, select PostgreSQL. alt text

Fill in the nececery data based on Rancher configuration. The default values are shown below. alt text

Next create a new Bamboo Home. It will be stored on a sidekick container. alt text

It's time to setup administrator user. alt text

Once Bamboo Server is setup, Bamboo Agent will do an autoconfiguration, which can be seen in logs. alt text

Bamboo Agent Configuration

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. alt text

Congratulations! Now Bamboo Agent is fully operational! alt text alt text

But, what if we don't like such a silly hostname like on example above? No problem, let's upgrade Bamboo Agent. alt text

If you need to install more packages, you can do this now. Just enter apt packages names like listed below. alt text

To set "user friendly" hostname, go to Networking tab and setels Use the container name. alt text

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. alt text

Scale it!

Scale Time! Let's scale our Bamboo Agents with one click! alt text

Voila! Now we have 5 new Bamboo Agents. alt text alt text

Upgrade

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! alt text