Deploy Functest Kubernetes CI toolchains 71/65971/2
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 07:07:56 +0000 (08:07 +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>
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..9b65621
--- /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: latest
+          tests:
+            - k8s_smoke
+        - repo: opnfv
+          container: functest-kubernetes-smoke
+          tag: latest
+          tests:
+            - k8s_conformance
+        - repo: opnfv
+          container: functest-kubernetes-features
+          tag: latest
+          tests:
+            - stor4nfv_k8s
+            - clover_k8s