Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-2368

use swarm endpoint for controlling static slaves

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Continuous Integration

      Description

      In NXBT-2367 we've scripted static slaves update but we didn't take advantage of the swarm view for this. We should inter-operate with the swarm through it's single endpoint and let the swarm scheduling the containers according to nodes constraints (https://docs.docker.com/swarm/scheduler/filter/).

      1. the list of slaves and their parameters will be saved in the code
      2. the containers will register themselves into jenkins using the swarm mode
      3. we could use the jenkins docker plugin for interacting with docker (no shell)
      4. how connecting to the swarm, could require a dedicated slave – node('DOCKER-SWARM') { ... }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                slacoin Stéphane Lacoin
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: