34f030b5a2
python-tempestconf-tempest-packstack/devstack-demo zuul job uses generate-tempestconf-file role to generate tempest.conf. Since demo is a non-admin user with non-admin user we cannot use --create option but it was used since it is a bug, so we need to check for admin/demo user then enable the proper option. Used Jinja templates for creating tempest configuration script Create test-demo-user role which prepares resources for a demo user. Create generate-accounts-file role, which generates accounts.yaml file for Tempest needed for running tests as user who doesn't have persmissions to create resources. Change-Id: I727a6cfd154cb3f95c33da02440f25ae1765153f Story: #2001695 Co-Authored-By: Martin Kopec <mkopec@redhat.com>
130 lines
3.7 KiB
YAML
130 lines
3.7 KiB
YAML
- project:
|
|
check:
|
|
jobs:
|
|
- python-tempestconf-tox-cover
|
|
- python-tempestconf-tempest-devstack-admin
|
|
- python-tempestconf-tempest-devstack-demo
|
|
- python-tempestconf-tempest-packstack-admin
|
|
- python-tempestconf-tempest-packstack-demo
|
|
- tripleo-ci-centos-7-containers-multinode
|
|
gate:
|
|
jobs:
|
|
- python-tempestconf-tempest-devstack-admin
|
|
- python-tempestconf-tempest-devstack-demo
|
|
- python-tempestconf-tempest-packstack-admin
|
|
- python-tempestconf-tempest-packstack-demo
|
|
- tripleo-ci-centos-7-containers-multinode
|
|
|
|
- job:
|
|
name: python-tempestconf-tox-cover
|
|
parent: openstack-tox
|
|
description: Run tox code coverage tests.
|
|
irrelevant-files:
|
|
- ^.*\.rst$
|
|
- ^doc/.*$
|
|
- ^releasenotes/.*$
|
|
vars:
|
|
tox_envlist: cover
|
|
|
|
- job:
|
|
name: python-tempestconf-tempest-devstack-admin
|
|
parent: devstack
|
|
description: |
|
|
Tempest job for python-tempestconf on a devstack environment as the admin user.
|
|
required-projects:
|
|
- openstack/python-tempestconf
|
|
- openstack/tempest
|
|
- openstack-dev/devstack
|
|
roles:
|
|
- zuul: openstack/python-tempestconf
|
|
- zuul: openstack/tempest
|
|
- zuul: openstack-dev/devstack
|
|
run: playbooks/python-tempestconf-tempest-devstack.yaml
|
|
vars:
|
|
user: admin
|
|
cloud_user: devstack-admin
|
|
irrelevant-files:
|
|
- config_tempest/tests/.*$
|
|
- ^doc/.*$
|
|
- ^releasenotes/.*$
|
|
- ^.*\.rst$
|
|
|
|
- job:
|
|
name: python-tempestconf-tempest-devstack-demo
|
|
parent: devstack
|
|
description: |
|
|
Tempest job for python-tempestconf on a devstack environment as the demo user.
|
|
required-projects:
|
|
- openstack/python-tempestconf
|
|
- openstack/tempest
|
|
- openstack-dev/devstack
|
|
roles:
|
|
- zuul: openstack/python-tempestconf
|
|
- zuul: openstack/tempest
|
|
- zuul: openstack-dev/devstack
|
|
run: playbooks/python-tempestconf-tempest-devstack.yaml
|
|
vars:
|
|
user: demo
|
|
cloud_user: devstack
|
|
test_demo: True
|
|
cloud_admin: devstack-admin
|
|
irrelevant-files:
|
|
- config_tempest/tests/.*$
|
|
- ^doc/.*$
|
|
- ^releasenotes/.*$
|
|
- ^.*\.rst$
|
|
|
|
- job:
|
|
name: python-tempestconf-tempest-packstack-admin
|
|
parent: packstack-allinone
|
|
description: |
|
|
Tempest job for python-tempestconf on a packstack environment as the admin user.
|
|
required-projects:
|
|
- openstack/packstack
|
|
- openstack/python-tempestconf
|
|
- openstack/tempest
|
|
- openstack-dev/devstack
|
|
timeout: 5400
|
|
roles:
|
|
- zuul: openstack/packstack
|
|
- zuul: openstack/python-tempestconf
|
|
- zuul: openstack/tempest
|
|
- zuul: openstack-dev/devstack
|
|
run: playbooks/python-tempestconf-tempest-packstack.yaml
|
|
vars:
|
|
scenario: scenario000
|
|
user: admin
|
|
irrelevant-files:
|
|
- config_tempest/tests/.*$
|
|
- ^doc/.*$
|
|
- ^releasenotes/.*$
|
|
- ^.*\.rst$
|
|
|
|
- job:
|
|
name: python-tempestconf-tempest-packstack-demo
|
|
parent: packstack-allinone
|
|
description: |
|
|
Tempest job for python-tempestconf on a packstack environment as the demo user.
|
|
required-projects:
|
|
- openstack/packstack
|
|
- openstack/python-tempestconf
|
|
- openstack/tempest
|
|
- openstack-dev/devstack
|
|
timeout: 5400
|
|
roles:
|
|
- zuul: openstack/packstack
|
|
- zuul: openstack/python-tempestconf
|
|
- zuul: openstack/tempest
|
|
- zuul: openstack-dev/devstack
|
|
run: playbooks/python-tempestconf-tempest-packstack.yaml
|
|
vars:
|
|
scenario: scenario000
|
|
user: demo
|
|
test_demo: True
|
|
cloud_admin: packstack-admin
|
|
irrelevant-files:
|
|
- config_tempest/tests/.*$
|
|
- ^doc/.*$
|
|
- ^releasenotes/.*$
|
|
- ^.*\.rst$
|