[arvados] updated: 2.1.0-2725-g52fd35cf0

git repository hosting git at public.arvados.org
Fri Jul 15 19:03:22 UTC 2022

Summary of changes:
 lib/install/deps.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

       via  52fd35cf046bbb1b20a7b884f485fc65de71a86a (commit)
      from  e12c1fed6336048d6ab854bbfab95eccf7c1b372 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

commit 52fd35cf046bbb1b20a7b884f485fc65de71a86a
Author: Tom Clegg <tom at curii.com>
Date:   Fri Jul 15 14:43:13 2022 -0400

    16552: Fix PATH so setup rake tasks can run arvados-server.
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>

diff --git a/lib/install/deps.go b/lib/install/deps.go
index 017771b63..6e76b82f9 100644
--- a/lib/install/deps.go
+++ b/lib/install/deps.go
@@ -619,8 +619,8 @@ yarn install
 				{"chown", "www-data:www-data", ".", "public/assets"},
 				// {"sudo", "-u", "www-data", "/var/lib/arvados/bin/bundle", "config", "set", "--local", "system", "true"},
-				{"sudo", "-u", "www-data", "ARVADOS_CONFIG=none", "RAILS_GROUPS=assets", "RAILS_ENV=production", "/var/lib/arvados/bin/bundle", "exec", "rake", "npm:install"},
-				{"sudo", "-u", "www-data", "ARVADOS_CONFIG=none", "RAILS_GROUPS=assets", "RAILS_ENV=production", "/var/lib/arvados/bin/bundle", "exec", "rake", "assets:precompile"},
+				{"sudo", "-u", "www-data", "ARVADOS_CONFIG=none", "RAILS_GROUPS=assets", "RAILS_ENV=production", "PATH=/var/lib/arvados/bin:" + os.Getenv("PATH"), "/var/lib/arvados/bin/bundle", "exec", "rake", "npm:install"},
+				{"sudo", "-u", "www-data", "ARVADOS_CONFIG=none", "RAILS_GROUPS=assets", "RAILS_ENV=production", "PATH=/var/lib/arvados/bin:" + os.Getenv("PATH"), "/var/lib/arvados/bin/bundle", "exec", "rake", "assets:precompile"},
 				{"chown", "root:root", "."},
 				{"chown", "-R", "root:root", "public/assets", "vendor"},



More information about the arvados-commits mailing list