Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
[BM] Question about Resource pools, multiple tasks
-
Hello Inedo team
I have a small question.
I am using resource pool to build docker or for compilation.I defined two server as "inedo runner" for availability and I am able to build containers or compile apps twice at the time for several aplications.
But now I need more "runner", as we have more applications.
I was thinking if it is possible to assign a number of concurrent tasks for a resource pool server in order to reduce the waiting time for a free resource.
This would reduce the number of "runner" and a neat option ... at least for me
Creating new server is an option, but I would prefer not.Cheers
PhilippeC.
-
I think I understand your question; but just to make sure...
You have two servers with the
inedo-runner
role, and you're using the Acquire/Release operations like this:Acquire-Server ( Role: inedo-runner, AcquiredServer => $AcquiredServer ); ###### code that uses $AcquiredServer some how ##### Release-Server ( Role: inedo-runner, Server: $AcquiredServer );
However, you'd like the same server to be acquired more than once, so that you could run two or three simultaneous operations on
inedo-runner
servers, instead of just one?I'm afraid that's not possible, and isn't something we plan to add to the roadmap any time soon. One option is to create a second role
inedo-runner2
, and then use that to Aquire servers half the timeCheers,
Alana
-
@atripp
Thanks for your reply,I am using Resource pool in this way, at the PipelineStage,
Illustration with one of our appli (angular based)In this application, an angular apps is compiled (step 1) and deployed to a group of servers (step 2).
That's what I thought, I tried...
I may have planted a seed and maybe in the future this option will existI wish you all a happy holiday season
Best regards
PhilippeC.