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 08:07:56 +0100
commitc74710be00805d8f43059e5b752af0098767e701 (patch)
tree3d2bff8cd323f0de5bb043838876005e80956858 /ansible
parenta4d6e71530057e4b65e5a52c17a95e44b66fc860 (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>
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..9b656216
--- /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: 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