From 31555bcb6555d080e7072fba2fc8ccda0fd59eaa Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Thu, 12 Apr 2018 11:59:07 +0200 Subject: Implement Multipleslave This patch implement multiple slave support. Instead of having a maximum of one master and one slave in one docker image, it is now possible to have multiple slave accross several docker host. For helping this change, a new boards.yaml format is introduced (See README.md for details) Note that tokens.yaml is also squashed in boards.yaml --- boards.yaml | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) (limited to 'boards.yaml') diff --git a/boards.yaml b/boards.yaml index 88f7e6d..df6548c 100644 --- a/boards.yaml +++ b/boards.yaml @@ -1,4 +1,22 @@ -lab-slave-0: - boardlist: - qemu-01: - type: qemu +masters: + - name: master1 + host: local + users: + - name: admin + token: longrandomtokenadmin + password: admin + superuser: yes + staff: yes + tokens: + - username: admin + token: dfjdfkfkdjfkdsjfsl + description: no description +slaves: + - name: lab-slave-0 + host: local + remote_master: master1 + remote_user: admin + +boards: + - name: qemu-01 + type: qemu -- cgit 1.2.3-korg