We have a monorepo and need to be able to build multiple containers in parallel. However, how many we need to build will change each time to pipeline is run. so I have the following logic:
generate list of containers to build --> generate parallel steps --> run the parallel steps
- generate list of changed services
- the list
script: create parallel steps
- parallel: \
- step: build container #1
- step: build container #2
is this possible in bitbucket pipelines?
@Eytan Yammer Currently Bitbucket Pipelines doesn't support dynamic parallel steps. Are the max containers a constant? If that is the case, I would suggest having a step for all the containers and skipping them if it's not required to build the container based on the artifact.
Thanks. For the time being the number of container won't be changing every day but it will be growing steadily over the next several months.
What I've decided to do was the following.
name: Build container1
name: Build container2
this will have to do for the time being. Thanks for the help.
Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events