Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Deleted user September 27, 2019

Hi,

 

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
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 9, 2019

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
TAGS
AUG Leaders

Atlassian Community Events