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.


  • inedo-engineer

    Hi @philippe-camelio_3885 ,

    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 time 🤔

    Cheers,
    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)

    9577ec7c-ea97-4a88-ac59-3500554b700e-image.png

    4f5bf055-d2b0-4fcd-819f-d57bb1892aa0-image.png

    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 exist 😁

    1aeb9d48-5755-4d7a-bc9c-2eefc74b65e2-image.png

    872960dc-f6eb-47a5-b017-e57689370def-image.png

    I wish you all a happy holiday season

    Best regards
    PhilippeC.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation