Nathan Brady 1 жил өмнө
parent
commit
0db30e97e6

+ 0 - 6
toolset/continuous/tfb-shutdown.sh

@@ -30,10 +30,4 @@ ssh techempower@$TFB_DATABASE_HOST "$(typeset -f docker_clean); docker_clean"
 echo "running docker_clean on client host"
 ssh techempower@$TFB_CLIENT_HOST "$(typeset -f docker_clean); docker_clean"
 
-if [ -z "$TFB_RUN_ORDER" ]; then
-  export TFB_RUN_ORDER="reverse"
-else
-  unset TFB_RUN_ORDER
-fi
-
 echo "done with tfb-shutdown script"

+ 6 - 0
toolset/continuous/tfb-startup.sh

@@ -20,6 +20,12 @@ git clone \
 echo "moving to tfb directory"
 cd $TFB_REPOPARENT/$TFB_REPONAME
 
+if [ -z "$TFB_RUN_ORDER" ]; then
+  export TFB_RUN_ORDER="reverse"
+else
+  unset TFB_RUN_ORDER
+fi
+
 echo "building tfb docker image"
 docker build -t techempower/tfb \
   --build-arg USER_ID=$(id -u) \