From e8038c788e1588b13286bda3a4e4a3b6cd968168 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Ollivier?= Date: Tue, 11 Dec 2018 07:00:21 +0100 Subject: [PATCH] Deploy Functest CI toolchains MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 and S3www and loads all jobs in Jenkins. Last components (MongoDB, TestAPI and 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: I260806c1d19562891d2ed9c52ba37a82bf60792e Signed-off-by: Cédric Ollivier (cherry picked from commit 800802114f822eb9be7bfe06c929b655148ff197) --- ansible/site.yml | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 ansible/site.yml diff --git a/ansible/site.yml b/ansible/site.yml new file mode 100644 index 000000000..98acc8715 --- /dev/null +++ b/ansible/site.yml @@ -0,0 +1,78 @@ +--- +- hosts: 127.0.0.1 + roles: + - role: collivier.xtesting + project: functest + docker_args: + env: + DEPLOY_SCENARIO: os-nosdn-nofeature-noha + NAMESERVER: 8.8.8.8 + volumes: + - /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file + - /home/opnfv/functest/images:/home/opnfv/functest/images + suites: + - repo: opnfv + container: functest-healthcheck + tag: hunter + tests: + - connection_check + - tenantnetwork1 + - tenantnetwork2 + - vmready1 + - vmready2 + - singlevm1 + - singlevm2 + - vping_ssh + - vping_userdata + - cinder_test + - odl + - api_check + - snaps_health_check + - repo: opnfv + container: functest-smoke + tag: latest + tests: + - tempest_smoke + - neutron-tempest-plugin-api + - rally_sanity + - rally_jobs + - refstack_defcore + - patrole + - snaps_smoke + - neutron_trunk + - networking-bgpvpn + - networking-sfc + - barbican + - repo: opnfv + container: functest-benchmarking + tag: latest + tests: + - vmtp + - shaker + - repo: opnfv + container: functest-components + tag: latest + tests: + - tempest_full + - tempest_scenario + - rally_full + - repo: opnfv + container: functest-vnf + tag: latest + tests: + - cloudify + - cloudify_ims + - heat_ims + - vyos_vrouter + - juju_epc + - repo: opnfv + container: functest-features + tag: latest + tests: + - doctor-notification + - bgpvpn + - functest-odl-sfc + - barometercollectd + - fds + - vgpu + - stor4nfv_os -- 2.16.6