Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Bamboo-specs using different docker images in the same deployment environment

Deleted user Sep 27, 2019



I create a Deployment running inside of the Docker, but I have a process must running in other docker image.
I'm using Bamboo.yml format.
Have any way to create 2 tasks for the same Environment using different images?

1 answer

1 accepted

0 votes
Answer accepted

Hello @[deleted]

The whole work of an environment is processed by just one agent/docker image. An environment can be seen as a job for a plan.

To use the task structure that Bamboo provides and run them in different docker images you will need to create multiple environments. You can configure a trigger to allow one environment to be triggered right after the previous finished. Each one would have its own docker images.

Other two options I see:

  • Adjust the docker image to allow it to be used for all tasks.
  • Run the deployment environment outside of docker and configure a script task to orchestrate the docker run calls with the tests/commands you need.

This whole problem would be solved if the following feature request was implemented:

Please vote on that feature request and add yourself as a watcher to receive new updates from our dev team.

Please let me know your comments on what I shared.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events