summaryrefslogtreecommitdiffstats
path: root/jjb/functest/functest-virtual.yaml
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-11-03 12:51:06 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2018-11-12 17:26:23 +0100
commitac4a29025c6d6151c120ce6220cb53a2e0d65d76 (patch)
tree1b63d3f82e50abbe001b8f2a1d6015b0b3bb35e3 /jjb/functest/functest-virtual.yaml
parent9648e3494ac89b04df8309d0e4d1bd1ac9980245 (diff)
Verify Functest on functest-virtual
It runs most of healthcheck and tempest-based test cases as a first step. All benchmarking tools and all vnfs are not executed yet. All active Functest versions are verified thanks to backward compatibility ensured by Tempest and then by Functest. The jobs are designed to be run in parallel (we could also run all Functest versions in parallel instead of separated steps). It will be switched to a verify gate in a second step. Change-Id: I07cada848dd90f70da8741269692de8646813bdb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'jjb/functest/functest-virtual.yaml')
-rw-r--r--jjb/functest/functest-virtual.yaml123
1 files changed, 123 insertions, 0 deletions
diff --git a/jjb/functest/functest-virtual.yaml b/jjb/functest/functest-virtual.yaml
new file mode 100644
index 000000000..a25f980ef
--- /dev/null
+++ b/jjb/functest/functest-virtual.yaml
@@ -0,0 +1,123 @@
+---
+- job-template:
+ name: '{repo}-functest-{container}-{tag}-{test}'
+ parameters:
+ - functest-virtual-defaults
+ builders:
+ - shell: |
+ sudo docker run \
+ -e EXTERNAL_NETWORK=public1 \
+ -v /home/opnfv/functest/results/$JOB_NAME-$BUILD_ID:\
+ /home/opnfv/functest/results \
+ -v /home/opnfv/functest/openstack.creds:\
+ /home/opnfv/functest/conf/env_file \
+ -v /home/opnfv/functest/images:/home/opnfv/functest/images \
+ {repo}/functest-{container}:{tag} run_tests -t {test}
+
+- project:
+ name: 'opnfv-functest-healthcheck'
+ container: healthcheck
+ repo: opnfv
+ tag:
+ - gambia
+ - hunter
+ - latest
+ test:
+ - connection_check
+ - tenantnetwork1
+ - tenantnetwork2
+ - vmready1
+ - vmready2
+ - singlevm1
+ - singlevm2
+ - vping_ssh
+ - vping_userdata
+ - cinder_test
+ - odl
+ - api_check
+ - snaps_health_check
+ jobs:
+ - '{repo}-functest-{container}-{tag}-{test}'
+
+- project:
+ name: 'opnfv-functest-smoke'
+ container: smoke
+ repo: opnfv
+ tag:
+ - gambia
+ - hunter
+ - latest
+ test:
+ - tempest_smoke
+ - refstack_defcore
+ - patrole
+ jobs:
+ - '{repo}-functest-{container}-{tag}-{test}'
+
+- job-template:
+ name: 'functest-virtual'
+ project-type: multijob
+ node: 'functest-virtual'
+ builders:
+ - multijob:
+ name: functest gambia
+ projects:
+ - name: 'opnfv-functest-healthcheck-gambia-connection_check'
+ - name: 'opnfv-functest-healthcheck-gambia-tenantnetwork1'
+ - name: 'opnfv-functest-healthcheck-gambia-tenantnetwork2'
+ - name: 'opnfv-functest-healthcheck-gambia-vmready1'
+ - name: 'opnfv-functest-healthcheck-gambia-vmready2'
+ - name: 'opnfv-functest-healthcheck-gambia-singlevm1'
+ - name: 'opnfv-functest-healthcheck-gambia-singlevm2'
+ - name: 'opnfv-functest-healthcheck-gambia-vping_ssh'
+ - name: 'opnfv-functest-healthcheck-gambia-vping_userdata'
+ - name: 'opnfv-functest-healthcheck-gambia-cinder_test'
+ - name: 'opnfv-functest-healthcheck-gambia-odl'
+ - name: 'opnfv-functest-healthcheck-gambia-api_check'
+ - name: 'opnfv-functest-healthcheck-gambia-snaps_health_check'
+ - name: 'opnfv-functest-smoke-gambia-tempest_smoke'
+ - name: 'opnfv-functest-smoke-gambia-refstack_defcore'
+ - name: 'opnfv-functest-smoke-gambia-patrole'
+ - multijob:
+ name: functest hunter
+ projects:
+ - name: 'opnfv-functest-healthcheck-hunter-connection_check'
+ - name: 'opnfv-functest-healthcheck-hunter-tenantnetwork1'
+ - name: 'opnfv-functest-healthcheck-hunter-tenantnetwork2'
+ - name: 'opnfv-functest-healthcheck-hunter-vmready1'
+ - name: 'opnfv-functest-healthcheck-hunter-vmready2'
+ - name: 'opnfv-functest-healthcheck-hunter-singlevm1'
+ - name: 'opnfv-functest-healthcheck-hunter-singlevm2'
+ - name: 'opnfv-functest-healthcheck-hunter-vping_ssh'
+ - name: 'opnfv-functest-healthcheck-hunter-vping_userdata'
+ - name: 'opnfv-functest-healthcheck-hunter-cinder_test'
+ - name: 'opnfv-functest-healthcheck-hunter-odl'
+ - name: 'opnfv-functest-healthcheck-hunter-api_check'
+ - name: 'opnfv-functest-healthcheck-hunter-snaps_health_check'
+ - name: 'opnfv-functest-smoke-hunter-tempest_smoke'
+ - name: 'opnfv-functest-smoke-hunter-refstack_defcore'
+ - name: 'opnfv-functest-smoke-hunter-patrole'
+ - multijob:
+ name: functest latest
+ projects:
+ - name: 'opnfv-functest-healthcheck-latest-connection_check'
+ - name: 'opnfv-functest-healthcheck-latest-tenantnetwork1'
+ - name: 'opnfv-functest-healthcheck-latest-tenantnetwork2'
+ - name: 'opnfv-functest-healthcheck-latest-vmready1'
+ - name: 'opnfv-functest-healthcheck-latest-vmready2'
+ - name: 'opnfv-functest-healthcheck-latest-singlevm1'
+ - name: 'opnfv-functest-healthcheck-latest-singlevm2'
+ - name: 'opnfv-functest-healthcheck-latest-vping_ssh'
+ - name: 'opnfv-functest-healthcheck-latest-vping_userdata'
+ - name: 'opnfv-functest-healthcheck-hunter-cinder_test'
+ - name: 'opnfv-functest-healthcheck-latest-odl'
+ - name: 'opnfv-functest-healthcheck-hunter-api_check'
+ - name: 'opnfv-functest-healthcheck-latest-snaps_health_check'
+ - name: 'opnfv-functest-smoke-latest-tempest_smoke'
+ - name: 'opnfv-functest-smoke-latest-refstack_defcore'
+ - name: 'opnfv-functest-smoke-latest-patrole'
+
+- project:
+ name: 'functest-virtual'
+ jobs:
+ - 'functest-virtual'