summaryrefslogtreecommitdiffstats
path: root/ansible
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-12-11 07:00:21 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2018-12-17 21:19:44 +0100
commit41980043cc76ae44ef5d6b399a9859bf91e673c6 (patch)
treec2cfc496dd03476e52ab9a2fca0b154a56325689 /ansible
parente0b8365a0d2a14324e3b582e6afe36e429e73080 (diff)
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 <cedric.ollivier@orange.com> (cherry picked from commit 800802114f822eb9be7bfe06c929b655148ff197)
Diffstat (limited to 'ansible')
-rw-r--r--ansible/site.yml78
1 files changed, 78 insertions, 0 deletions
diff --git a/ansible/site.yml b/ansible/site.yml
new file mode 100644
index 000000000..31cf7e474
--- /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: gambia
+ 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