Skip to content

Commit

Permalink
BAM-25843: Fix agent run commands data-center-helm-charts repo (#843)
Browse files Browse the repository at this point in the history
* BAM-25843: Fix run command with proper bambooAgentVolume mountpoint syntax

* BAM-25843: Fix path

* BAM-25843: Fix URL markup
  • Loading branch information
eduardoalvarenga authored Jul 29, 2024
1 parent e83b14e commit d7aa523
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions docs/docs/containers/BAMBOO-AGENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ include a Bamboo server.

## Quick Start

For the `BAMBOO_HOME` directory that is used to store the repository data (amongst other things) we recommend mounting a host directory as a [data volume](https://docs.docker.com/engine/tutorials/dockervolumes/#/data-volumes), or via a named volume.
For the `BAMBOO_AGENT_HOME` directory that is used to store the repository data (amongst other things) we recommend mounting a host directory as a [data volume](https://docs.docker.com/engine/tutorials/dockervolumes/#/data-volumes), or via a named volume.

To get started you can use a data volume, or named volumes. In this example we'll use named volumes.

Run an Agent:
```shell
docker volume create --name bambooAgentVolume
docker run -e BAMBOO_SERVER=http://bamboo.mycompany.com/agentServer/ -v bambooAgentVolume:/var/atlassian/application-data/bamboo --name="bambooAgent" --hostname="bambooAgent" -d atlassian/bamboo-agent-base
docker run -e BAMBOO_SERVER=http://bamboo.mycompany.com/agentServer/ -v bambooAgentVolume:/var/atlassian/application-data/bamboo-agent --name="bambooAgent" --hostname="bambooAgent" -d atlassian/bamboo-agent-base
```
!!! success "The Bamboo remote agent is now available to be approved in your Bamboo administration."

Expand Down Expand Up @@ -130,7 +130,7 @@ RUN /bamboo-update-capability.sh "system.git.executable" /usr/bin/git

## Building your own image

* Clone the Atlassian repository at https://bitbucket.org/atlassian-docker/docker-bamboo-agent-base/
* Clone the Atlassian repository at <https://bitbucket.org/atlassian-docker/docker-bamboo-agent-base>
* Modify or replace the [Jinja](https://jinja.palletsprojects.com/) templates
under `config`; _NOTE_: The files must have the `.j2` extensions. However you
don't have to use template variables if you don't wish.
Expand Down Expand Up @@ -176,7 +176,7 @@ Also, if you have been mounting and running any custom scripts in the container,

## Support

For product support, go to [support.atlassian.com](https://support.atlassian.com/)
For product support, go to <https://support.atlassian.com>

You can also visit the [Atlassian Data Center](https://community.atlassian.com/t5/Atlassian-Data-Center-on/gh-p/DC_Kubernetes)
forum for discussion on running Atlassian Data Center products in containers.
12 changes: 6 additions & 6 deletions docs/docs/containers/BAMBOO.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

Bamboo is a continuous integration and deployment tool that ties automated builds, tests and releases together in a single workflow.

Learn more about Bamboo: [https://www.atlassian.com/software/bamboo](https://www.atlassian.com/software/bamboo)
Learn more about Bamboo: <https://www.atlassian.com/software/bamboo>

This Docker container makes it easy to get an instance of Bamboo up and running.

Expand Down Expand Up @@ -108,7 +108,7 @@ can be controlled via the below environment variables.
also supported for backwards compatibility.

The following Tomcat/Catalina options are also supported. For more information,
see https://tomcat.apache.org/tomcat-9.0-doc/config/index.html.
see <https://tomcat.apache.org/tomcat-9.0-doc/config/index.html>.

* `ATL_TOMCAT_MGMT_PORT` (default: 8007)
* `ATL_TOMCAT_MAXTHREADS` (default: 150)
Expand Down Expand Up @@ -331,7 +331,7 @@ required values via the environment. NOTE: This only work with Bamboo versions >

* `ATL_LICENSE`

The licence to supply. Licenses can be generated at https://my.atlassian.com/
The licence to supply. Licenses can be generated at <https://my.atlassian.com>.

* `ATL_BASE_URL`

Expand Down Expand Up @@ -462,7 +462,7 @@ For evaluations you can use the built-in database that will store its files in t

If you're using an external database, you can configure Bamboo to make a backup automatically each night. This will back up the current state, including the database to the `bambooVolume` docker volume, which can then be archived. Alternatively you can backup the database separately, and continue to create a backup archive of the docker volume to back up the Bamboo Home directory.

Read more about data recovery and backups: [https://confluence.atlassian.com/display/BAMBOO/Data+and+backups](https://confluence.atlassian.com/display/BAMBOO/Data+and+backups)
Read more about data recovery and backups: <https://confluence.atlassian.com/display/BAMBOO/Data+and+backups>

## Shutdown

Expand Down Expand Up @@ -519,7 +519,7 @@ If for some reason you need a different version, see "Building your own image".

## Building your own image

* Clone the Atlassian repository at https://bitbucket.org/atlassian-docker/docker-bamboo-server/
* Clone the Atlassian repository at <https://bitbucket.org/atlassian-docker/docker-bamboo-server>
* Modify or replace the [Jinja](https://jinja.palletsprojects.com/) templates
under `config`; _NOTE_: The files must have the `.j2` extensions. However, you
don't have to use template variables if you don't wish.
Expand Down Expand Up @@ -598,7 +598,7 @@ docker exec -it my_container /bin/bash

## Support

For product support, go to [support.atlassian.com](https://support.atlassian.com/)
For product support, go to <https://support.atlassian.com>

You can also visit the [Atlassian Data Center](https://community.atlassian.com/t5/Atlassian-Data-Center-on/gh-p/DC_Kubernetes)
forum for discussion on running Atlassian Data Center products in containers.
Expand Down

0 comments on commit d7aa523

Please sign in to comment.