Deploy ec2-api test package from RDO when needed
ec2-api has its own package for tests, so we need to deploy it in order to run Tempest tests for ec2api. Change-Id: I7596f9285449b7c7b2571dabb600b7ccae3f33d3
This commit is contained in:
@@ -750,6 +750,13 @@ the future release. Please use tempest::package_ensure instead.")
|
|||||||
tag => ['openstack', 'tempest-package'],
|
tag => ['openstack', 'tempest-package'],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if $ec2api_available and $::tempest::params::python_ec2api_tests {
|
||||||
|
package { 'python-ec2-api-tests':
|
||||||
|
ensure => present,
|
||||||
|
name => $::tempest::params::python_ec2api_tests,
|
||||||
|
tag => ['openstack', 'tempest-package'],
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if $configure_images {
|
if $configure_images {
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ class tempest::params {
|
|||||||
$python_congress_tests = 'python-congress-tests'
|
$python_congress_tests = 'python-congress-tests'
|
||||||
$python_panko_tests = 'python-panko-tests'
|
$python_panko_tests = 'python-panko-tests'
|
||||||
$python_octavia_tests = 'python-octavia-tests'
|
$python_octavia_tests = 'python-octavia-tests'
|
||||||
|
$python_ec2api_tests = 'python-ec2-api-tests'
|
||||||
$package_name = 'openstack-tempest'
|
$package_name = 'openstack-tempest'
|
||||||
}
|
}
|
||||||
'Debian': {
|
'Debian': {
|
||||||
@@ -74,6 +75,7 @@ class tempest::params {
|
|||||||
$python_congress_tests = false
|
$python_congress_tests = false
|
||||||
$python_panko_tests = false
|
$python_panko_tests = false
|
||||||
$python_octavia_tests = false
|
$python_octavia_tests = false
|
||||||
|
$python_ec2api_tests = false
|
||||||
$package_name = 'tempest'
|
$package_name = 'tempest'
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
|
|||||||
3
releasenotes/notes/ec2api-package-db30bb668b138b03.yaml
Normal file
3
releasenotes/notes/ec2api-package-db30bb668b138b03.yaml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- When ec2api is enabled, install the tests packages from RDO.
|
||||||
Reference in New Issue
Block a user