[ARVADOS] updated: 1.3.0-3287-g5d9198969
Git user
git at public.arvados.org
Thu Oct 8 03:41:17 UTC 2020
Summary of changes:
tools/arvbox/bin/arvbox | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
via 5d91989697c9954f346ce77b95a8a83f54ee6957 (commit)
from 8109f3ba459c2fed2111fb72523637fa12b40ffc (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 5d91989697c9954f346ce77b95a8a83f54ee6957
Author: Ward Vandewege <ward at curii.com>
Date: Wed Oct 7 23:40:42 2020 -0400
When doing arvbox hotreset, make sure to use flock around the rake task.
refs #16955
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>
diff --git a/tools/arvbox/bin/arvbox b/tools/arvbox/bin/arvbox
index 1c11a073f..a180b4363 100755
--- a/tools/arvbox/bin/arvbox
+++ b/tools/arvbox/bin/arvbox
@@ -622,7 +622,7 @@ sv stop keepproxy
cd /usr/src/arvados/services/api
export DISABLE_DATABASE_ENVIRONMENT_CHECK=1
export RAILS_ENV=development
-bundle exec rake db:drop
+flock $GEM_HOME/gems.lock bundle exec rake db:drop
rm $ARVADOS_CONTAINER_PATH/api_database_setup
rm $ARVADOS_CONTAINER_PATH/superuser_token
sv start api
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list