Deploy Functest Kubernetes CI toolchains 75/65975/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Wed, 19 Dec 2018 06:59:53 +0000 (07:59 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Wed, 19 Dec 2018 08:40:16 +0000 (09:40 +0100)
It eases verifying OpenStack by deploying the full testing toolchain
via Ansible. As opposed to the Releng model, all tests can be executed
in parallel.

It leverages on Xtesting Ansible role which currently deploys
Jenkins, Minio, S3www, MongoDB, TestAPI and loads all jobs in Jenkins.
The dashboard will be deployed in the next update of the ansible role.

To deploy the testing toolchain:
$ ansible-galaxy install collivier.xtesting
$ ansible-playbook ansible/site.yml

Change-Id: Ie409653ae4f7f4d315449ee54ae0c504272f7899
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit c74710be00805d8f43059e5b752af0098767e701)

ansible/site.yml [new file with mode: 0644]

diff --git a/ansible/site.yml b/ansible/site.yml
new file mode 100644 (file)
index 0000000..1607d09
--- /dev/null
@@ -0,0 +1,27 @@
+---
+- hosts: 127.0.0.1
+  roles:
+    - role: collivier.xtesting
+      project: functest-kubernetes
+      docker_args:
+        env:
+          DEPLOY_SCENARIO: k8-nosdn-nofeature-noha
+        volumes:
+          - /home/opnfv/functest-kubernetes/config:/root/.kube/config
+      suites:
+        - repo: opnfv
+          container: functest-kubernetes-healthcheck
+          tag: gambia
+          tests:
+            - k8s_smoke
+        - repo: opnfv
+          container: functest-kubernetes-smoke
+          tag: gambia
+          tests:
+            - k8s_conformance
+        - repo: opnfv
+          container: functest-kubernetes-features
+          tag: gambia
+          tests:
+            - stor4nfv_k8s
+            - clover_k8s