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

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

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. 

Suggest an answer

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

Atlassian Community Events