aboutsummaryrefslogtreecommitdiffstats
path: root/ansible
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-12-19 07:59:53 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2018-12-19 09:39:34 +0100
commit0efb348bc2e0554c4efb7300f4cdb5c1851549d3 (patch)
tree8ba38f879deadb368e6830454b55eac617e552f4 /ansible
parentec2bf0e8bd1b4d3b2c4e2894820d2cbb454e36e7 (diff)
Deploy Functest Kubernetes CI toolchains
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)
Diffstat (limited to 'ansible')
-rw-r--r--ansible/site.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/ansible/site.yml b/ansible/site.yml
new file mode 100644
index 00000000..6e27e996
--- /dev/null
+++ b/ansible/site.yml
@@ -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: hunter
+ tests:
+ - k8s_smoke
+ - repo: opnfv
+ container: functest-kubernetes-smoke
+ tag: hunter
+ tests:
+ - k8s_conformance
+ - repo: opnfv
+ container: functest-kubernetes-features
+ tag: hunter
+ tests:
+ - stor4nfv_k8s
+ - clover_k8s