[arvados] created: 2.1.0-3008-g3070a6df8

git repository hosting git at public.arvados.org
Tue Nov 1 16:36:41 UTC 2022


        at  3070a6df84012867058b93c3941eb7feec353cc5 (commit)


commit 3070a6df84012867058b93c3941eb7feec353cc5
Author: Lucas Di Pentima <lucas.dipentima at curii.com>
Date:   Tue Nov 1 13:35:42 2022 -0300

    19683: Builds & installs the arvados gem dev version.
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima at curii.com>

diff --git a/tools/arvbox/lib/arvbox/docker/common.sh b/tools/arvbox/lib/arvbox/docker/common.sh
index 4e95bdedf..5db94aa5e 100644
--- a/tools/arvbox/lib/arvbox/docker/common.sh
+++ b/tools/arvbox/lib/arvbox/docker/common.sh
@@ -74,6 +74,12 @@ run_bundler() {
 	# If present, use the one associated with rails workbench or API
 	BUNDLER=$PWD/bin/bundle
     fi
+
+    if test "$(flock $GEMLOCK /var/lib/arvados/bin/gem list | grep arvados | grep dev | wc -l)" = "0" ; then
+        cd /usr/src/arvados/sdk/ruby
+        /var/lib/arvados/bin/gem build arvados.gemspec && flock $GEMLOCK /var/lib/arvados/bin/gem install `ls -1 *.gem | sort -r | head -n1`
+        cd -
+    fi
     if ! flock $GEMLOCK $BUNDLER install --verbose --local --no-deployment $frozen "$@" ; then
         flock $GEMLOCK $BUNDLER install --verbose --no-deployment $frozen "$@"
     fi

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list