From 6e11fe6adcacb5411e27e94f3323c9f60c9eaf6a Mon Sep 17 00:00:00 2001
From: =?utf8?q?C=C3=A9dric=20Ollivier?= <cedric.ollivier@orange.com>
Date: Mon, 9 Nov 2020 17:54:29 +0100
Subject: [PATCH] Split Gates in a dedicated site.yml
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

Change-Id: I45d10d4ffa36b1f5de0781d3991b3f3522911aef
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
---
 ansible/site.gate.yml | 88 +++++++++++++++++++++++++++++++++++++++++++++++++++
 ansible/site.yml      | 35 --------------------
 2 files changed, 88 insertions(+), 35 deletions(-)
 create mode 100644 ansible/site.gate.yml

diff --git a/ansible/site.gate.yml b/ansible/site.gate.yml
new file mode 100644
index 000000000..eb99e9240
--- /dev/null
+++ b/ansible/site.gate.yml
@@ -0,0 +1,88 @@
+---
+- hosts:
+    - 127.0.0.1
+  roles:
+    - role: collivier.xtesting
+      project: functest
+      gerrit_project: functest
+      docker_tags:
+        - hunter:
+            branch: stable/hunter
+      builds:
+        dependencies:
+          - repo: _
+            dport:
+            container: alpine
+            tag: 3.9
+        steps:
+          - name: build opnfv/functest-core
+            containers:
+              - name: functest-core
+                ref_arg: BRANCH
+                path: docker/core
+          - name: build opnfv/functest-tempest
+            containers:
+              - name: functest-tempest
+                ref_arg: BRANCH
+                path: docker/tempest
+          - name: build containers
+            containers:
+              - name: functest-healthcheck
+                ref_arg: BRANCH
+                path: docker/healthcheck
+              - name: functest-smoke
+                ref_arg: BRANCH
+                path: docker/smoke
+              - name: functest-benchmarking
+                ref_arg: BRANCH
+                path: docker/benchmarking
+              - name: functest-vnf
+                ref_arg:
+                path: docker/vnf
+              - name: functest-features
+                ref_arg: BRANCH
+                path: docker/features
+      suites:
+        - container: functest-healthcheck
+          tests:
+            - connection_check
+            - tenantnetwork1
+            - tenantnetwork2
+            - vmready1
+            - vmready2
+            - singlevm1
+            - singlevm2
+            - vping_ssh
+            - vping_userdata
+            - cinder_test
+            - odl
+            - tempest_smoke
+            - tempest_horizon
+        - container: functest-smoke
+          tests:
+            - tempest_neutron
+            - tempest_cinder
+            - tempest_keystone
+            - tempest_heat
+            - rally_sanity
+            - refstack_defcore
+            - tempest_full
+            - tempest_scenario
+            - tempest_slow
+            - patrole
+            - networking-bgpvpn
+            - networking-sfc
+            - barbican
+        - container: functest-benchmarking
+          tests:
+            - rally_full
+            - rally_jobs
+            - vmtp
+            - shaker
+        - container: functest-vnf
+          tests:
+            - cloudify
+            - cloudify_ims
+            - heat_ims
+            - vyos_vrouter
+            - juju_epc
diff --git a/ansible/site.yml b/ansible/site.yml
index eb99e9240..e556b1b5b 100644
--- a/ansible/site.yml
+++ b/ansible/site.yml
@@ -4,44 +4,9 @@
   roles:
     - role: collivier.xtesting
       project: functest
-      gerrit_project: functest
       docker_tags:
         - hunter:
             branch: stable/hunter
-      builds:
-        dependencies:
-          - repo: _
-            dport:
-            container: alpine
-            tag: 3.9
-        steps:
-          - name: build opnfv/functest-core
-            containers:
-              - name: functest-core
-                ref_arg: BRANCH
-                path: docker/core
-          - name: build opnfv/functest-tempest
-            containers:
-              - name: functest-tempest
-                ref_arg: BRANCH
-                path: docker/tempest
-          - name: build containers
-            containers:
-              - name: functest-healthcheck
-                ref_arg: BRANCH
-                path: docker/healthcheck
-              - name: functest-smoke
-                ref_arg: BRANCH
-                path: docker/smoke
-              - name: functest-benchmarking
-                ref_arg: BRANCH
-                path: docker/benchmarking
-              - name: functest-vnf
-                ref_arg:
-                path: docker/vnf
-              - name: functest-features
-                ref_arg: BRANCH
-                path: docker/features
       suites:
         - container: functest-healthcheck
           tests:
-- 
2.16.6