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
(cherry picked from commit fd4ac4b7d6)
This commit is contained in:
David Moreau-Simard 2016-10-03 09:22:59 -04:00
parent 438bdbfa04
commit 8b2646f3ba
4 changed files with 7 additions and 4 deletions

View File

@ -22,7 +22,7 @@ INSTALL_FROM_SOURCE=${INSTALL_FROM_SOURCE:-true}
MANAGE_REPOS=${MANAGE_REPOS:-true}
DELOREAN=${DELOREAN:-http://trunk.rdoproject.org/centos7-mitaka/current-passed-ci/delorean.repo}
DELOREAN_DEPS=${DELOREAN_DEPS:-http://trunk.rdoproject.org/centos7-mitaka/delorean-deps.repo}
ADDITIONAL_ARGS=${ADDITIONAL_ARGS:-}
# If logs should be retrieved automatically
COPY_LOGS=${COPY_LOGS:-true}

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

@ -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" \