From d3fab7bfc16284a24a66f1724805c35535432fc0 Mon Sep 17 00:00:00 2001 From: Ken'ichi Ohmichi Date: Tue, 30 Aug 2016 18:13:52 -0700 Subject: [PATCH] Revert "Allow properly overriding DEST" After I00847bb6733febf105855ae6fc577a7c904ec4b4, we cannot see the test result (testr_result.html) on gate jobs. So let's revert the patch for verifying the test result on the gate. Change-Id: I9db1ff9f43b22d1634a43c7d5e502cc205aa26f2 Closes-Bug: #1617476 --- stackrc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/stackrc b/stackrc index f7bdbc2b04..c14085a910 100644 --- a/stackrc +++ b/stackrc @@ -16,6 +16,15 @@ source $RC_DIR/functions # Destination path for installation DEST=/opt/stack +# Destination for working data +DATA_DIR=${DEST}/data + +# Destination for status files +SERVICE_DIR=${DEST}/status + +# Path for subunit output file +SUBUNIT_OUTPUT=${DEST}/devstack.subunit + # Determine stack user if [[ $EUID -eq 0 ]]; then STACK_USER=stack @@ -121,15 +130,6 @@ elif [[ -f $RC_DIR/.localrc.auto ]]; then source $RC_DIR/.localrc.auto fi -# Destination for working data -DATA_DIR=${DATA_DIR:-$DEST/data} - -# Destination for status files -SERVICE_DIR=${SERVICE_DIR:-$DEST/status} - -# Path for subunit output file -SUBUNIT_OUTPUT=${SUBUNIT_OUTPUT:-$DEST/devstack.subunit} - # Default for log coloring is based on interactive-or-not. # Baseline assumption is that non-interactive invocations are for CI, # where logs are to be presented as browsable text files; hence color