Use heat-tempest-plugin in grenade job
Change-Id: I3a3744fa116a2d424b2afd95eb89058ad78d7f0b
This commit is contained in:
parent
0cbfac7a99
commit
31ffa13932
@ -87,6 +87,7 @@
|
|||||||
- openstack-dev/grenade
|
- openstack-dev/grenade
|
||||||
- openstack-infra/devstack-gate
|
- openstack-infra/devstack-gate
|
||||||
- openstack/heat
|
- openstack/heat
|
||||||
|
- openstack/heat-tempest-plugin
|
||||||
irrelevant-files:
|
irrelevant-files:
|
||||||
- ^(test-|)requirements.txt$
|
- ^(test-|)requirements.txt$
|
||||||
- ^.*\.rst$
|
- ^.*\.rst$
|
||||||
|
@ -40,7 +40,7 @@ function _run_heat_api_tests {
|
|||||||
local devstack_dir=$1
|
local devstack_dir=$1
|
||||||
|
|
||||||
pushd $devstack_dir/../tempest
|
pushd $devstack_dir/../tempest
|
||||||
sed -i -e '/group_regex/c\group_regex=heat_integrationtests\\.api\\.test_heat_api(?:\\.|_)([^_]+)' .testr.conf
|
sed -i -e '/group_regex/c\group_regex=heat_tempest_plugin\\.tests\\.api\\.test_heat_api(?:\\.|_)([^_]+)' .testr.conf
|
||||||
conf_file=etc/tempest.conf
|
conf_file=etc/tempest.conf
|
||||||
iniset_multiline $conf_file service_available heat_plugin True
|
iniset_multiline $conf_file service_available heat_plugin True
|
||||||
iniset $conf_file heat_plugin username $OS_USERNAME
|
iniset $conf_file heat_plugin username $OS_USERNAME
|
||||||
@ -53,7 +53,7 @@ function _run_heat_api_tests {
|
|||||||
iniset $conf_file heat_plugin project_domain_name $OS_PROJECT_DOMAIN_NAME
|
iniset $conf_file heat_plugin project_domain_name $OS_PROJECT_DOMAIN_NAME
|
||||||
iniset $conf_file heat_plugin region $OS_REGION_NAME
|
iniset $conf_file heat_plugin region $OS_REGION_NAME
|
||||||
iniset $conf_file heat_plugin auth_version $OS_IDENTITY_API_VERSION
|
iniset $conf_file heat_plugin auth_version $OS_IDENTITY_API_VERSION
|
||||||
tempest run --regex heat_integrationtests.api
|
tox -evenv-tempest -- tempest run --regex heat_tempest_plugin.tests.api
|
||||||
popd
|
popd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
cat << 'EOF' >>"/tmp/dg-local.conf"
|
cat << 'EOF' >>"/tmp/dg-local.conf"
|
||||||
[[local|localrc]]
|
[[local|localrc]]
|
||||||
enable_plugin heat git://git.openstack.org/openstack/heat
|
enable_plugin heat git://git.openstack.org/openstack/heat
|
||||||
|
TEMPEST_PLUGINS+=' ../heat-tempest-plugin'
|
||||||
EOF
|
EOF
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
chdir: '{{ ansible_user_dir }}/workspace'
|
||||||
@ -40,6 +41,7 @@
|
|||||||
set -e
|
set -e
|
||||||
set -x
|
set -x
|
||||||
export PROJECTS="openstack-dev/grenade $PROJECTS"
|
export PROJECTS="openstack-dev/grenade $PROJECTS"
|
||||||
|
export PROJECTS="openstack/heat-tempest-plugin $PROJECTS"
|
||||||
export PYTHONUNBUFFERED=true
|
export PYTHONUNBUFFERED=true
|
||||||
export GRENADE_PLUGINRC="enable_grenade_plugin heat https://git.openstack.org/openstack/heat"
|
export GRENADE_PLUGINRC="enable_grenade_plugin heat https://git.openstack.org/openstack/heat"
|
||||||
export DEVSTACK_GATE_NEUTRON=1
|
export DEVSTACK_GATE_NEUTRON=1
|
||||||
|
Loading…
Reference in New Issue
Block a user