Split Gates in a dedicated site.yml 53/71353/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Mon, 9 Nov 2020 16:40:53 +0000 (17:40 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Mon, 9 Nov 2020 16:40:53 +0000 (17:40 +0100)
Change-Id: Ib9fb9968071543c1a881fd862f15076488845ecb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
ansible/site.gate.yml [new file with mode: 0644]
ansible/site.yml

diff --git a/ansible/site.gate.yml b/ansible/site.gate.yml
new file mode 100644 (file)
index 0000000..3f49628
--- /dev/null
@@ -0,0 +1,33 @@
+---
+- hosts: 127.0.0.1
+  roles:
+    - role: collivier.xtesting
+      builds:
+        dependencies:
+          - repo: _
+            dport:
+            container: alpine
+            tag: '3.12'
+        steps:
+          - name: opnfv/xtesting
+            containers:
+              - name: xtesting
+                ref_arg: BRANCH
+                path: docker/core
+          - name: opnfv/xtesting-mts
+            containers:
+              - name: xtesting-mts
+                ref_arg: BRANCH
+                path: docker/mts
+      suites:
+        - container: xtesting
+          tests:
+            - first
+            - second
+            - third
+            - fourth
+            - fifth
+            - sixth
+        - container: xtesting-mts
+          tests:
+            - seventh
index 3f49628..ed71e7c 100644 (file)
@@ -2,23 +2,6 @@
 - hosts: 127.0.0.1
   roles:
     - role: collivier.xtesting
-      builds:
-        dependencies:
-          - repo: _
-            dport:
-            container: alpine
-            tag: '3.12'
-        steps:
-          - name: opnfv/xtesting
-            containers:
-              - name: xtesting
-                ref_arg: BRANCH
-                path: docker/core
-          - name: opnfv/xtesting-mts
-            containers:
-              - name: xtesting-mts
-                ref_arg: BRANCH
-                path: docker/mts
       suites:
         - container: xtesting
           tests: