Merge "Run cinderlib functional tests on Ceph job"

This commit is contained in:
Zuul 2019-06-17 20:38:40 +00:00 committed by Gerrit Code Review
commit 768d834202
2 changed files with 32 additions and 1 deletions

View File

@ -31,7 +31,7 @@
voting: false
timeout: 5400
irrelevant-files: *functional-irrelevant-files
- devstack-plugin-ceph-tempest:
- cinder-plugin-ceph-tempest:
voting: false
irrelevant-files: &gate-irrelevant-files
- ^(test-|)requirements.txt$
@ -143,3 +143,11 @@
required-projects:
- openstack/rally-openstack
- openstack/osprofiler
- job:
name: cinder-plugin-ceph-tempest
parent: devstack-plugin-ceph-tempest
run: playbooks/tempest-and-cinderlib-run.yaml
required-projects:
- openstack/cinderlib
- openstack/tempest

View File

@ -0,0 +1,23 @@
# Playbook imported from https://opendev.org/openstack/tempest/src/branch/master/playbooks/devstack-tempest.yaml
# Changes that run through devstack-tempest are likely to have an impact on
# the devstack part of the job, so we keep devstack in the main play to
# avoid zuul retrying on legitimate failures.
- hosts: all
roles:
- orchestrate-devstack
# We run tests only on one node, regardless how many nodes are in the system
- hosts: tempest
environment:
# This enviroment variable is used by the optional tempest-gabbi
# job provided by the gabbi-tempest plugin. It can be safely ignored
# if that plugin is not being used.
GABBI_TEMPEST_PATH: "{{ gabbi_tempest_path | default('') }}"
roles:
- setup-tempest-run-dir
- setup-tempest-data-dir
- acl-devstack-files
- run-tempest
- import_playbook: cinderlib-run.yaml cinderlib_hosts=tempest