heat/heat_integrationtests
ricolin c8d1a9f901 Migrate functional test jobs to zuul v3
Something are introduced in this patch:
* As devstack-gate/devstack-vm-gate-wrap.sh is not really zuul v3
native, we move all configs in to `devstack/lib/heat` and .zuul.yaml.

* Remove extra configs process in devstack. Like setup tempest(which
is well covered by tempest itself.) or overlapping heat test configs setup.
Use tempest config for all heat_integration tests. Also remove
heat_integrationtests/common/configs since they're no longer required.

* copy post.yaml for grenade jobs. As we migrate to zuul v3 for
functional tests but not grenade (not yet), the post.yaml should exists
under grenade dir. since it's only required by grenade jobs.

* Use post.yaml in functional tests for cleanup test environments.

Story: #2007056
Task: #37908

Depends-On: https://review.opendev.org/701105
Change-Id: I4f531161a7222e2c2a21f8d483f9c2a1d91dc38d
2020-01-07 09:38:04 +08:00
..
common Migrate functional test jobs to zuul v3 2020-01-07 09:38:04 +08:00
functional Merge "Eliminate race in CancelUpdateTest" 2019-12-18 13:48:48 +00:00
locale Imported Translations from Zanata 2018-03-12 06:43:23 +00:00
README.rst Fix README.rst for in-tree functional tests 2018-02-05 16:34:50 +05:30
__init__.py Migrate functional test jobs to zuul v3 2020-01-07 09:38:04 +08:00
cleanup_test_env.sh Migrate functional test jobs to zuul v3 2020-01-07 09:38:04 +08:00
config-generator.conf Allow run tests for both tempest plugin and regression tests 2018-01-19 13:26:25 -05:00
prepare_test_env.sh Add doc for multi-clouds support 2019-06-25 07:37:27 +00:00
prepare_test_network.sh Bump minimal_image_ref 2018-12-19 15:39:36 +05:30

README.rst

Heat integration tests

These tests can be run against any heat-enabled OpenStack cloud, however defaults match running against a recent DevStack.

To run the tests against DevStack, do the following:

export DEST=/opt/stack

# create test resources and write config
$DEST/heat/heat_integrationtests/prepare_test_env.sh
$DEST/heat/heat_integrationtests/prepare_test_network.sh

# run the heat integration tests
cd $DEST/heat
stestr --test-path=heat_integrationtests run

If the Heat Tempest Plugin is also installed, the tests from that will be run as well.

If custom configuration is required, add it in the file heat_integrationtests/heat_integrationtests.conf. A sample configuration is available in heat_integrationtests/heat_integrationtests.conf.sample