Use ADDITIONAL_ARGS to pass extra commands to Packstack scenarios

This is a generic variable that'll allow to pass extra commands to
Packstack integration testing scenarios so that we do not have to
parameterize everything and extend testing easily if required.

For example, this will allow testing frameworks to send the extra
argument "--enable-rdo-testing=y" in order to test Packstack against
the testing repositories.

Change-Id: I5b510aabe6749e329b19ef178e6b8870ee66c1a7
This commit is contained in:
David Moreau-Simard 2016-10-03 09:22:59 -04:00 committed by David Moreau Simard
parent 236f20a2b8
commit fd4ac4b7d6
4 changed files with 7 additions and 4 deletions

View File

@ -23,10 +23,10 @@ MANAGE_REPOS=${MANAGE_REPOS:-true}
DELOREAN=${DELOREAN:-http://trunk.rdoproject.org/centos7-newton/current-passed-ci/delorean.repo}
DELOREAN_DEPS=${DELOREAN_DEPS:-http://trunk.rdoproject.org/centos7-newton/delorean-deps.repo}
GIT_BASE_URL=${GIT_BASE_URL:-git://git.openstack.org}
ADDITIONAL_ARGS=${ADDITIONAL_ARGS:-}
# If logs should be retrieved automatically
COPY_LOGS=${COPY_LOGS:-true}
# Install external Puppet modules with r10k
# Uses the following variables:
#

View File

@ -15,7 +15,8 @@ echo -e "Generating packstack config for:
echo "tempest will run if packstack's installation completes successfully."
echo
$SUDO packstack --allinone \
$SUDO packstack "${ADDITIONAL_ARGS}" \
--allinone \
--debug \
--service-workers=2 \
--default-password="packstack" \

View File

@ -16,7 +16,8 @@ echo -e "Generating packstack config for:
echo "tempest will run if packstack's installation completes successfully."
echo
$SUDO packstack --allinone \
$SUDO packstack "${ADDITIONAL_ARGS}" \
--allinone \
--debug \
--service-workers=2 \
--default-password="packstack" \

View File

@ -16,7 +16,8 @@ echo -e "Generating packstack config for:
echo "tempest will run if packstack's installation completes successfully."
echo
$SUDO packstack --allinone \
$SUDO packstack "${ADDITIONAL_ARGS}" \
--allinone \
--debug \
--service-workers=2 \
--default-password="packstack" \