Browse code

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

Ken'ichi Ohmichi authored on 2016/08/31 10:13:52
Showing 1 changed files
... ...
@@ -16,6 +16,15 @@ source $RC_DIR/functions
16 16
 # Destination path for installation
17 17
 DEST=/opt/stack
18 18
 
19
+# Destination for working data
20
+DATA_DIR=${DEST}/data
21
+
22
+# Destination for status files
23
+SERVICE_DIR=${DEST}/status
24
+
25
+# Path for subunit output file
26
+SUBUNIT_OUTPUT=${DEST}/devstack.subunit
27
+
19 28
 # Determine stack user
20 29
 if [[ $EUID -eq 0 ]]; then
21 30
     STACK_USER=stack
... ...
@@ -121,15 +130,6 @@ elif [[ -f $RC_DIR/.localrc.auto ]]; then
121 121
     source $RC_DIR/.localrc.auto
122 122
 fi
123 123
 
124
-# Destination for working data
125
-DATA_DIR=${DATA_DIR:-$DEST/data}
126
-
127
-# Destination for status files
128
-SERVICE_DIR=${SERVICE_DIR:-$DEST/status}
129
-
130
-# Path for subunit output file
131
-SUBUNIT_OUTPUT=${SUBUNIT_OUTPUT:-$DEST/devstack.subunit}
132
-
133 124
 # Default for log coloring is based on interactive-or-not.
134 125
 # Baseline assumption is that non-interactive invocations are for CI,
135 126
 # where logs are to be presented as browsable text files; hence color