blob: c9efb7cd08cbbd57a3d67143b037afa970d5a72f [file] [log] [blame]
Goutham Pacha Ravi5dd63012020-04-29 22:18:14 -07001- job:
2 name: manila-tempest-plugin-base
3 abstract: true
4 description: Base job for devstack/tempest based manila jobs.
5 parent: devstack-tempest
6 timeout: 10800
7 required-projects:
8 - openstack/manila
9 - openstack/manila-image-elements
10 - openstack/manila-tempest-plugin
11 - openstack/python-manilaclient
12 - openstack/tempest
13 irrelevant-files:
14 - ^(test-|)requirements.txt$
15 - ^.*\.rst$
16 - ^api-ref/.*$
17 - ^doc/.*$
18 - ^manila/hacking/.*$
19 - ^manila/tests/.*$
20 - ^releasenotes/.*$
21 - ^setup.cfg$
22 - ^tools/.*$
23 - ^tox.ini$
24 vars:
25 tox_envlist: all
26 tempest_test_regex: manila_tempest_tests
27 tempest_concurrency: 8
28 tempest_plugins:
29 - manila-tempest-plugin
30 devstack_plugins:
31 manila: https://opendev.org/openstack/manila
32 manila-tempest-plugin: https://opendev.org/openstack/manila-tempest-plugin
33 devstack_services:
34 cinder: false
35 s-account: false
36 s-container: false
37 s-object: false
38 s-proxy: false
39 horizon: false
40 tls-proxy: true
41 devstack_localrc:
42 USE_PYTHON3: true
43 TEMPEST_USE_TEST_ACCOUNTS: true
44 MANILA_USE_DOWNGRADE_MIGRATIONS: true
45 MANILA_INSTALL_TEMPEST_PLUGIN_SYSTEMWIDE: false
46 MANILA_ALLOW_NAS_SERVER_PORTS_ON_HOST: true
47 MANILA_DEFAULT_SHARE_TYPE_EXTRA_SPECS: 'snapshot_support=True create_share_from_snapshot_support=True'
48
49
50- job:
51 name: manila-tempest-plugin-zfsonlinux
52 description: Test ZFSOnLinux multibackend (DHSS=False) with postgresql db
53 parent: manila-tempest-plugin-base
54 vars:
55 tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
56 devstack_localrc:
57 SHARE_DRIVER: manila.share.drivers.zfsonlinux.driver.ZFSonLinuxShareDriver
58 MANILA_ENABLED_BACKENDS: london,paris
59 MANILA_BACKEND1_CONFIG_GROUP_NAME: london
60 MANILA_BACKEND2_CONFIG_GROUP_NAME: paris
61 MANILA_SHARE_BACKEND1_NAME: LONDON
62 MANILA_SHARE_BACKEND2_NAME: PARIS
63 MANILA_OPTGROUP_london_driver_handles_share_servers: false
64 MANILA_OPTGROUP_paris_driver_handles_share_servers: false
65 MANILA_SHARE_MIGRATION_PERIOD_TASK_INTERVAL: 1
66 MANILA_REPLICA_STATE_UPDATE_INTERVAL: 60
67 MANILA_ZFSONLINUX_SERVICE_IP: 127.0.0.1
68 MANILA_ZFSONLINUX_USE_SSH: true
69 MANILA_CONFIGURE_DEFAULT_TYPES: true
70 MANILA_USE_SCHEDULER_CREATING_SHARE_FROM_SNAPSHOT: true
71 devstack_services:
72 mysql: false
73 postgresql: true
74 devstack_local_conf:
75 test-config:
76 $TEMPEST_CONFIG:
77 share:
78 default_share_type_name: default
79 run_driver_assisted_migration_tests: true
80 run_host_assisted_migration_tests: true
81 run_replication_tests: true
82 run_manage_unmanage_snapshot_tests: true
83 run_manage_unmanage_tests: true
84 run_multiple_share_replicas_tests: false
85 run_create_share_from_snapshot_in_another_pool_or_az_tests: true
86 backend_replication_type: readable
87 enable_protocols: nfs
88 capability_storage_protocol: NFS
89 build_timeout: 180
90 enable_ip_rules_for_protocols: nfs
91 multitenancy_enabled: False
92 backend_names: LONDON,PARIS
93 multi_backend: true
94 image_password: manila