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
4,369,639
Community Members
 
Community Events
168
Community Groups

Can you share running containers between steps?

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

0 votes
Patrik S Atlassian Team Sep 06, 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

Hello Patrik,

Perfect, thanks for your reply. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events