digger icon indicating copy to clipboard operation
digger copied to clipboard

Run plans or applies in parallel for different projects

Open frank-bee opened this issue 2 years ago • 6 comments

frank-bee avatar Jun 16 '23 06:06 frank-bee

Interesting one!! Indeed this would be a game changer. It seems that digger would need to spawn multiple actions in order to acheive this

And the user will need to specify which modules depend on which so that in this case they will wait for the other modules to run

Ideally this has to be done natively in the underlying CI system as well

motatoes avatar Jun 16 '23 08:06 motatoes

Hi @frank-bee I think this is how it works already, you can take a look at example here https://github.com/diggerhq/digger_demo_multienv

veziak avatar Jul 19 '23 08:07 veziak

Bumping up this issue a bit since I believe with multiple recent features like generate_projects, this should be a deal breaker for big projects to not be able to parallel execute multiple runs

luong-komorebi avatar Apr 18 '24 11:04 luong-komorebi

hey @luong-komorebi ! If you use digger in backendless mode the runs will be serial, if you use digger with the app on cloud.digger.dev and link it that way the runs will be triggered in parallel (separate jobs)

motatoes avatar Apr 18 '24 12:04 motatoes

awesome. Thanks @motatoes , this hasnt changed since we last talked. I suggest closing this issue and document this behaviour. That should be better for users 👍🏻

luong-komorebi avatar Apr 18 '24 16:04 luong-komorebi

Document found here https://docs.digger.dev/howto/backendless-mode#:~:text=No%20concurrency%3B%20all%20plans%20/%20applies%20need%20to%20run%20sequentially%2C%20which%20is%20slow

This issue shall be closed ;)

luong-komorebi avatar Apr 18 '24 16:04 luong-komorebi