Deploy Functest CI toolchains 35/65935/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Tue, 11 Dec 2018 06:00:21 +0000 (07:00 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Mon, 17 Dec 2018 20:19:44 +0000 (21:19 +0100)
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)

ansible/site.yml [new file with mode: 0644]

diff --git a/ansible/site.yml b/ansible/site.yml
new file mode 100644 (file)
index 0000000..31cf7e4
--- /dev/null
@@ -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