
Functional tests are meant to validate the openstack optimize cli functionality. The code was kept in watcher-tempest-plugin repo. Tempest plugin repo was meant to store tempest related api and scenario tests, not functional tests. This patch moves the code from watcher-tempest-plugin to watcherclient repo. It also adds: - tox target for running functional tests - New zuul job based on devstack-tox-functional to run functional tests. Note: Now functional tests are running via tox and OS_* variable. That's why It also drops tempest credentials factory to get creds from tempest.conf. Related-bug: #2100741 Change-Id: Ibf25c9cd6b8cd6b228f759d7393af5fe6a357d7f Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
38 lines
1007 B
YAML
38 lines
1007 B
YAML
- job:
|
|
name: python-watcherclient-functional
|
|
parent: devstack-tox-functional
|
|
timeout: 7200
|
|
required-projects:
|
|
- openstack/watcher
|
|
- openstack/python-watcherclient
|
|
vars:
|
|
# Run cross-project watcherclient functional tests on watcher repo.
|
|
zuul_work_dir: src/opendev.org/openstack/python-watcherclient
|
|
openrc_enable_export: true
|
|
devstack_plugins:
|
|
watcher: https://opendev.org/openstack/watcher
|
|
devstack_services:
|
|
watcher-api: true
|
|
watcher-decision-engine: true
|
|
watcher-applier: true
|
|
s-account: false
|
|
s-container: false
|
|
s-object: false
|
|
s-proxy: false
|
|
irrelevant-files:
|
|
- ^.*\.rst$
|
|
- ^doc/.*$
|
|
- ^releasenotes/.*$
|
|
|
|
|
|
- project:
|
|
templates:
|
|
- openstack-cover-jobs
|
|
- openstack-python3-jobs
|
|
- publish-openstack-docs-pti
|
|
- check-requirements
|
|
- openstackclient-plugin-jobs
|
|
check:
|
|
jobs:
|
|
- python-watcherclient-functional
|