18657: Don't install api & wb binstubs into bin/
authorPeter Amstutz <peter.amstutz@curii.com>
Mon, 7 Feb 2022 18:59:11 +0000 (13:59 -0500)
committerPeter Amstutz <peter.amstutz@curii.com>
Mon, 7 Feb 2022 18:59:11 +0000 (13:59 -0500)
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

build/run-tests.sh
tools/arvbox/lib/arvbox/docker/service/api/run-service
tools/arvbox/lib/arvbox/docker/service/vm/run-service
tools/arvbox/lib/arvbox/docker/service/workbench/run-service

index 5eb439441b1fe4bf0018ad275570d040f8dc4476..9a1fd3f1135044b78666d2573d3b18b200b1dce2 100755 (executable)
@@ -962,11 +962,11 @@ install_services/api() {
         set -ex
         cd "$WORKSPACE/services/api"
         export RAILS_ENV=test
-        if "$bundle" exec rails db:environment:set ; then
-            "$bundle" exec rake db:drop
+        if bin/rails db:environment:set ; then
+            bin/rake db:drop
         fi
-        "$bundle" exec rake db:setup
-        "$bundle" exec rake db:fixtures:load
+        bin/rake db:setup
+        bin/rake db:fixtures:load
     ) || return 1
 }
 
index 974ac9865217fb1ff2197b9cc767d8802ecf45cc..9b6976d806915517704aa6dcf633dbf3f69efb2b 100755 (executable)
@@ -16,9 +16,9 @@ else
   export RAILS_ENV=development
 fi
 
-run_bundler --without=development --binstubs
-bin/passenger-config build-native-support
-bin/passenger-config install-standalone-runtime
+run_bundler --without=development --binstubs=binstubs
+binstubs/passenger-config build-native-support
+binstubs/passenger-config install-standalone-runtime
 
 if test "$1" = "--only-deps" ; then
     exit
index eddef764cbfdb297ab960999ec1fa26c0195d8d0..2079bb1d0beb7ea44f3a02856f389e2f3fa2fa20 100755 (executable)
@@ -16,7 +16,7 @@ if test "$1" != "--only-deps" ; then
 fi
 
 cd /usr/src/arvados/services/login-sync
-run_bundler --binstubs=$PWD/binstubs
+run_bundler --binstubs=binstubs
 
 if test "$1" = "--only-deps" ; then
     exit
index 84d3017defea2984186611a821c8216247b1aacc..ca72805cc94cef34a979a54167e4feaa831bd0e3 100755 (executable)
@@ -22,9 +22,9 @@ else
   export RAILS_ENV=development
 fi
 
-run_bundler --without=development --binstubs
-bin/passenger-config build-native-support
-bin/passenger-config install-standalone-runtime
+run_bundler --without=development --binstubs=binstubs
+binstubs/passenger-config build-native-support
+binstubs/passenger-config install-standalone-runtime
 mkdir -p /usr/src/arvados/apps/workbench/tmp
 
 if test "$1" = "--only-deps" ; then