zun/.zuul.yaml
Hongbin Lu 815611705b Add a job for testing zun standalone deployment
After integrating with placement, there are two deployment mode:
* Hybrid mode: a compute host resource provider is managed by both
  nova-compute and zun-compute.
* Standalone mode: a compute host resource provider is managed by
  zun-compute solely.

This commit adds a job for testing standalone mode. The hybrid mode
is covered by existing jobs.

Depends-On: https://review.opendev.org/#/c/677094/
Change-Id: I756040f307d12c93bfecfe33ff52222f3a0bfbbe
2019-08-18 16:09:14 +00:00

147 lines
4.0 KiB
YAML

- job:
name: zun-tempest-base
parent: devstack-tempest
description: Zun Devstack tempest base job
timeout: 4200
required-projects:
- openstack/devstack
- openstack/devstack-plugin-container
- openstack/kuryr-libnetwork
- openstack/zun
- openstack/zun-tempest-plugin
- openstack/python-zunclient
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^api-ref/.*$
vars:
tox_envlist: all-plugin
tempest_test_regex: zun_tempest_plugin.tests.tempest.api
devstack_localrc:
ZUN_USE_UWSGI: true
KURYR_CONFIG_DIR: /etc/kuryr-libnetwork
ZUN_DRIVER: docker
ZUN_DB_TYPE: sql
devstack_local_conf:
test-config:
$TEMPEST_CONFIG:
container_service:
min_microversion: 1.37
devstack_services:
tempest: true
devstack_plugins:
zun: https://opendev.org/openstack/zun
kuryr-libnetwork: https://opendev.org/openstack/kuryr-libnetwork
devstack-plugin-container: https://opendev.org/openstack/devstack-plugin-container
zun-tempest-plugin: https://opendev.org/openstack/zun-tempest-plugin
post-run: playbooks/zun-tempest-base/post.yaml
- job:
name: zun-tempest-base-multinode
parent: zun-tempest-base
description: Zun Devstack tempest multinode base job
nodeset: openstack-two-node-bionic
timeout: 7800
vars:
devstack_localrc:
KURYR_PROCESS_EXTERNAL_CONNECTIVITY: false
KURYR_CAPABILITY_SCOPE: global
USE_PYTHON3: true
group-vars:
subnode:
devstack_localrc:
KURYR_CAPABILITY_SCOPE: global
KURYR_PROCESS_EXTERNAL_CONNECTIVITY: false
KURYR_CONFIG_DIR: /etc/kuryr-libnetwork
USE_PYTHON3: true
- job:
name: zun-tempest-docker-sql
parent: zun-tempest-base
- job:
name: zun-tempest-py3-docker-sql
parent: zun-tempest-base
vars:
devstack_localrc:
USE_PYTHON3: true
devstack_services:
s-account: false
s-object: false
s-container: false
s-proxy: false
- job:
name: zun-tempest-multinode-docker-sql
parent: zun-tempest-base-multinode
- job:
name: zun-tempest-docker-sql-standalone
parent: zun-tempest-base
vars:
devstack_localrc:
USE_PYTHON3: true
devstack_services:
# disable Nova services
n-api: false
n-api-meta: false
n-cond: false
n-cpu: false
n-novnc: false
n-sch: false
# disable Glance services
g-reg: false
g-api: false
- job:
name: zun-fullstack
parent: devstack
required-projects:
- openstack/devstack
- openstack/devstack-plugin-container
- openstack/kuryr-libnetwork
- openstack/zun
- openstack/zun-tempest-plugin
- openstack/python-zunclient
run: playbooks/fullstack/run.yaml
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^api-ref/.*$
vars:
tox_envlist: fullstack
tox_install_siblings: false
devstack_localrc:
USE_PYTHON3: true
devstack_plugins:
zun: https://opendev.org/openstack/zun
kuryr-libnetwork: https://opendev.org/openstack/kuryr-libnetwork
devstack-plugin-container: https://opendev.org/openstack/devstack-plugin-container
- project:
templates:
- check-requirements
- openstack-cover-jobs
- openstack-lower-constraints-jobs
- openstack-python-jobs
- openstack-python3-train-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- zun-tempest-docker-sql
- zun-tempest-py3-docker-sql
- zun-tempest-multinode-docker-sql
- zun-fullstack:
voting: false
- kolla-ansible-ubuntu-source-zun:
voting: false
- zun-tempest-docker-sql-standalone:
voting: false
gate:
queue: zun
jobs:
- zun-tempest-docker-sql
- zun-tempest-py3-docker-sql
- zun-tempest-multinode-docker-sql