-
Type: Improvement
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Continuous Integration
-
Tags:
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/).
- the list of slaves and their parameters will be saved in the code
- the containers will register themselves into jenkins using the swarm mode
- we could use the jenkins docker plugin for interacting with docker (no shell)
- how connecting to the swarm, could require a dedicated slave – node('DOCKER-SWARM') { ... }
- depends on
-
NXBT-2367 Restart static slaves on ansible successful build
- Resolved