sahara-tests/.zuul.yaml
Luigi Toscano c79fa7ead6 Clean jobs after switching to wsgi by default in master
Remove the non-voting modwsgi job from master, now useless
(the base job uses wsgi).
Add two scenario test jobs against the stable branches to catch
regressions.

Story: 2001991
Task: 19617
Depends-On: https://review.openstack.org/567430
Change-Id: I72c51e5adf3ac3a88c8d641c8d85f5da6a5994b9
2018-05-10 00:11:45 +02:00

152 lines
4.5 KiB
YAML

- project:
check:
jobs:
- openstack-tox-pylint:
voting: false
- sahara-tests-scenario
- sahara-tests-tempest
- sahara-tests-scenario-queens
- sahara-tests-scenario-pike
gate:
jobs:
- sahara-tests-scenario
- sahara-tests-tempest
experimental:
jobs:
- sahara-tests-scenario-multinode-spark
- sahara-tests-scenario-py3:
voting: false
- job:
name: sahara-tests-tempest
description: |
Run Tempest tests from the Sahara plugin.
parent: devstack-tempest
required-projects:
- openstack/sahara-tests
- openstack/sahara
- openstack/heat
- openstack/ceilometer
vars:
tempest_test_regex: '^(sahara_tempest_plugin.tests.)'
tox_envlist: 'all'
devstack_localrc:
IMAGE_URLS: 'https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img'
TEMPEST_PLUGINS: '/opt/stack/sahara-tests'
devstack_local_conf:
test-config:
"$TEMPEST_CONFIG":
data_processing:
test_image_name: 'xenial-server-cloudimg-amd64-disk1'
test_ssh_user: 'ubuntu'
devstack_plugins:
sahara: 'git://git.openstack.org/openstack/sahara'
heat: 'git://git.openstack.org/openstack/heat'
ceilometer: 'git://git.openstack.org/openstack/ceilometer'
devstack_services:
tls-proxy: false
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- ^sahara_tests/.*$
- job:
name: sahara-tests-scenario
description: |
Run scenario tests for Sahara.
parent: devstack
roles:
- zuul: openstack-dev/devstack
- zuul: openstack/sahara-image-elements
required-projects:
- openstack/sahara-tests
- openstack/sahara
- openstack/heat
- openstack/ceilometer
- openstack/sahara-image-elements
- openstack-infra/shade
run: playbooks/sahara-tests-scenario.yaml
host-vars:
controller:
devstack_plugins:
sahara: 'git://git.openstack.org/openstack/sahara'
heat: 'git://git.openstack.org/openstack/heat'
ceilometer: 'git://git.openstack.org/openstack/ceilometer'
shade: 'git://git.openstack.org/openstack-infra/shade'
group-vars:
subnode:
devstack_services:
tls-proxy: false
vars:
devstack_services:
tls-proxy: false
devstack_localrc:
# required to contain (almost any) custom-built image
SWIFT_LOOPBACK_DISK_SIZE: '8G'
SWIFT_MAX_FILE_SIZE: 8589934592
devstack_local_conf:
post-config:
"$SAHARA_CONF_FILE":
DEFAULT:
min_transient_cluster_active_time: 90
sahara_image_name: 'xenial-server'
sahara_image_url: 'https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img'
sahara_plugin: 'fake'
sahara_plugin_version: '0.1'
sahara_scenario_test_template: 'fake.yaml.mako'
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
- ^sahara_tempest_plugin/.*$
- job:
name: sahara-tests-scenario-queens
parent: sahara-tests-scenario
override-checkout: stable/queens
- job:
name: sahara-tests-scenario-pike
parent: sahara-tests-scenario
override-checkout: stable/pike
- job:
name: sahara-tests-scenario-modwsgi
description: |
Run scenario tests on a Sahara deployment based on mod_wsgi.
parent: sahara-tests-scenario
vars:
devstack_localrc:
SAHARA_USE_MOD_WSGI: 'True'
- job:
name: sahara-tests-scenario-multinode-spark
description: |
Run scenario tests based on Spark on a multinode Sahara deployment.
parent: sahara-tests-scenario
nodeset: openstack-two-node
vars:
sahara_image_name: 'xenial-spark'
sahara_image_url: '{{ ansible_user_dir }}/{{ zuul.projects["git.openstack.org/openstack/sahara-image-elements"].src_dir }}/ubuntu_sahara_spark_latest.qcow2'
sahara_plugin: 'spark'
sahara_plugin_version: '1.6.0'
sahara_scenario_test_template: 'spark-1.6.0.yaml.mako'
sahara_flavors:
'sah1.small':
id: 20
ram: 1536
disk: 20
vcpus: 1
ephemeral: 0
- job:
name: sahara-tests-scenario-py3
description: |
Run scenario tests on a Sahara deployment based on Python 3.
parent: sahara-tests-scenario
vars:
devstack_localrc:
USE_PYTHON3: 'True'