heat/heat_integrationtests
Mohammed Naser af8d88f433 Switch integration jobs to use local mirrors
The integration jobs currently download images from a third party
mirror which can be slow at times or use up a lot of bandwidth.

This patch tries to automatically detect if nodepool mirrors are
active and uses them, falling back to the global round-robin mirror
of the Fedora project instead of a specific mirror.

Note: Though there is no bug associated with this change, we need to
backport this to avoid future issues (most of the mirrors don't host
Fedora 24 images any more)


Change-Id: Ie111c20b6dd0efe2e1cbfcac2a46b27ce6bc20c0
(cherry picked from commit a47e342f4d)
2017-11-03 07:51:03 +00:00
..
api Fix ResourceActionNotSupported errors in log 2017-07-07 20:38:17 -04:00
common Merge "Implement handle_<action>_cancel for SoftwareDeployment" 2017-08-10 17:38:48 +00:00
functional Defer exceptions in calculating node_data() 2017-10-31 15:07:07 +00:00
locale Imported Translations from Zanata 2017-08-13 10:28:33 +00:00
scenario Add test for basic resources as heat define test 2017-07-07 05:31:20 +00:00
.gitignore Support classes for heat integration tests 2014-09-24 09:02:20 +12:00
README.rst Fix readme guide for heat_integrationtests 2017-08-07 18:38:12 +08:00
__init__.py Support classes for heat integration tests 2014-09-24 09:02:20 +12:00
cleanup_test_env.sh Switch integration jobs to use local mirrors 2017-11-03 07:51:03 +00:00
install-requirements Create integration tests requirements on the fly 2016-03-25 13:40:50 +00:00
plugin.py Run heat_integrationtests as a tempest plugin 2016-08-13 09:53:07 +12:00
post_test_hook.sh Use group_regex to group gabbi api tests 2017-05-05 07:29:40 +05:30
pre_test_hook.sh Switch integration jobs to use local mirrors 2017-11-03 07:51:03 +00:00
prepare_test_env.sh Switch integration jobs to use local mirrors 2017-11-03 07:51:03 +00:00
prepare_test_network.sh Use osc commands for creating neutron resources 2016-10-20 15:42:40 +05:30

README.rst

Heat integration tests

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

To run the tests against DevStack, do the following:

# Define DEST

export DEST=/opt/stack

# create test resources and write tempest config

$DEST/heat/heat_integrationtests/prepare_test_env.sh

$DEST/heat/heat_integrationtests/prepare_test_network.sh

# run tempest selecting only these tests

cd $DEST/tempest

tempest run --regex heat_integrationtests

If custom configuration is required, edit the [heat_plugin] section of

$DEST/tempest/etc/tempest.conf