Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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

    Scheduled Pinned Locked Moved Support
    3 Posts 2 Posters 9 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      philippe.camelio_3885
      last edited by

      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.

      atrippA 1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer @philippe.camelio_3885
        last edited by

        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

        P 1 Reply Last reply Reply Quote 0
        • P Offline
          philippe.camelio_3885 @atripp
          last edited by philippe.camelio_3885

          @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.

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post
          Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation