The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can you share running containers between steps?

Xavier Serrat Bordas
September 5, 2022

Hi!

I have a pipeline where we're running different docker containers connected to each other using docker-compose.

I'm wondering if we have a way to share the running containers between steps to run some tests in parallel.

 

Is it possible?

 

Thanks in advance!

 

Xavier.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 6, 2022

Hello @Xavier Serrat Bordas ,

Thank you for reaching out to Atlassian Community!

As each step in the pipelines runs in a isolated environment (each step in its own container), I'm afraid it's not possible to share the containers you start in a given step with the other steps.

In this case, if you would like to use parallel steps as part of your build, you would have to spin up the docker-compose containers in each of the parallel steps separately.

Let me know in case you have any questions.

Thank you, @Xavier Serrat Bordas .

Kind regards,

Patrik S

Xavier Serrat Bordas
September 7, 2022

Hello Patrik,

Perfect, thanks for your reply. 

DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events