6d96f938b5
The purpose of units is to tests input/output of different functions / methods of a program. This is not to test the fact that it works using mysql or any other sql engine. So, lets focus on units that are easy to run locally with sqlite (while mysql / postgresql needs specific installation) Change-Id: I7d7c499c7176cbd75f02b2aff5d070733305c4cd Signed-off-by: Arnaud M <arnaud.morin@gmail.com>
139 lines
4.0 KiB
YAML
139 lines
4.0 KiB
YAML
- job:
|
|
name: mistral-rally-task
|
|
parent: rally-task-mistral
|
|
vars:
|
|
devstack_plugins:
|
|
rally-openstack: https://opendev.org/openstack/rally-openstack
|
|
rally_task: rally-jobs/task-mistral.yaml
|
|
devstack_localrc:
|
|
USE_PYTHON3: true
|
|
devstack_local_conf:
|
|
post-config:
|
|
$MISTRAL_CONF_FILE:
|
|
default:
|
|
oslo_rpc_executor: threading
|
|
rpc_message_ttl: 3000
|
|
rpc_response_timeout: 3000
|
|
default_log_levels: mistral=DEBUG,mistral.expressions=INFO,sqlalchemy=INFO
|
|
engine:
|
|
execution_field_size_limit_kb: 8192
|
|
execution_integrity_check_delay: -1
|
|
executor:
|
|
type: local
|
|
database:
|
|
max_pool_size: 100
|
|
scheduler:
|
|
fixed_delay: 2
|
|
random_depaly: 0
|
|
batch_size: 50
|
|
yaql:
|
|
convert_input_data: false
|
|
convert_output_data: false
|
|
pecan:
|
|
auth_enable: false
|
|
required-projects:
|
|
- openstack/rally-openstack
|
|
- openstack/mistral-lib
|
|
- openstack/mistral-extra
|
|
|
|
- job:
|
|
name: mistral-docker-buildimage
|
|
parent: publish-openstack-artifacts
|
|
run: playbooks/docker-buildimage/run.yaml
|
|
post-run: playbooks/docker-buildimage/post.yaml
|
|
timeout: 1800
|
|
required-projects:
|
|
- openstack/mistral
|
|
|
|
- job:
|
|
name: mistral-docker-buildimage-test
|
|
run: playbooks/docker-buildimage/run.yaml
|
|
post-run: playbooks/docker-buildimage/post.yaml
|
|
timeout: 1800
|
|
required-projects:
|
|
- openstack/mistral
|
|
|
|
# This job does not work. We can come back to it later.
|
|
# - job:
|
|
# name: mistral-ha
|
|
# parent: legacy-base
|
|
# run: playbooks/legacy/mistral-ha/run
|
|
# timeout: 4200
|
|
|
|
# This job does not work. We can come back to it later.
|
|
# - job:
|
|
# name: mistral-tox-unit-mysql
|
|
# parent: openstack-tox
|
|
# vars:
|
|
# tox_envlist: unit-mysql
|
|
# irrelevant-files:
|
|
# - ^.*\.rst$
|
|
# - ^doc/.*$
|
|
# - ^releasenotes/.*$
|
|
# timeout: 3600
|
|
# required-projects:
|
|
# - openstack/mistral-lib
|
|
# - openstack/mistral-extra
|
|
|
|
# This job does not work. We can come back to it later.
|
|
# - job:
|
|
# name: mistral-tox-unit-postgresql
|
|
# parent: openstack-tox
|
|
# vars:
|
|
# tox_envlist: unit-postgresql
|
|
# tox_environment: {CI_PROJECT: "{{ zuul['project']['name'] }}"}
|
|
# irrelevant-files:
|
|
# - ^.*\.rst$
|
|
# - ^doc/.*$
|
|
# - ^releasenotes/.*$
|
|
# timeout: 3600
|
|
# required-projects:
|
|
# - openstack/mistral-lib
|
|
# - openstack/mistral-extra
|
|
|
|
- project:
|
|
templates:
|
|
- openstack-python3-jobs
|
|
- publish-openstack-docs-pti
|
|
- check-requirements
|
|
- release-notes-jobs-python3
|
|
check:
|
|
jobs:
|
|
- openstack-tox-cover:
|
|
voting: false
|
|
irrelevant-files:
|
|
- ^.zuul.yaml$
|
|
- ^.*\.rst$
|
|
- ^doc/.*$
|
|
- ^releasenotes/.*$
|
|
- mistral-devstack
|
|
- mistral-devstack-tempest-ipv6-only
|
|
- mistral-devstack-non-apache-tempest-ipv6-only
|
|
- mistral-devstack-non-apache
|
|
- mistral-devstack-kombu
|
|
# Disable mysql / postgresql units as they are not working as expected
|
|
# - mistral-tox-unit-mysql
|
|
# - mistral-tox-unit-postgresql
|
|
queue: mistral
|
|
gate:
|
|
jobs:
|
|
- mistral-devstack
|
|
- mistral-devstack-tempest-ipv6-only
|
|
- mistral-devstack-non-apache-tempest-ipv6-only
|
|
- mistral-devstack-non-apache
|
|
- mistral-devstack-kombu
|
|
# Disable mysql / postgresql units as they are not working as expected
|
|
# - mistral-tox-unit-mysql
|
|
# - mistral-tox-unit-postgresql
|
|
post:
|
|
jobs:
|
|
- mistral-docker-buildimage:
|
|
branches: master
|
|
experimental:
|
|
jobs:
|
|
- mistral-docker-buildimage-test:
|
|
branches: master
|
|
# This job doesn't work yet.
|
|
# - mistral-ha:
|
|
# voting: false
|