From: Cédric Ollivier Date: Tue, 11 Dec 2018 06:00:21 +0000 (+0100) Subject: Deploy Functest CI toolchains X-Git-Tag: opnfv-8.1.0~103 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F33%2F65933%2F1;p=functest.git Deploy Functest 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 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) --- 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