[ARVADOS] updated: 1.3.0-1049-gf76da4abd

Git user git at public.curoverse.com
Thu Jun 13 14:22:57 UTC 2019


Summary of changes:
 tools/arvbox/lib/arvbox/docker/Dockerfile.base | 2 +-
 tools/arvbox/lib/arvbox/docker/api-setup.sh    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

       via  f76da4abdfc8fd1d02df0782197fbf85dc580368 (commit)
      from  859d1bc8ef3e389b59062728af76274422a00194 (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 f76da4abdfc8fd1d02df0782197fbf85dc580368
Author: Eric Biagiotti <ebiagiotti at veritasgenetics.com>
Date:   Thu Jun 13 10:22:47 2019 -0400

    15106: Arvbox update to be able to run the trgm migration
    
    Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti at veritasgenetics.com>

diff --git a/tools/arvbox/lib/arvbox/docker/Dockerfile.base b/tools/arvbox/lib/arvbox/docker/Dockerfile.base
index 65171de3d..758bcbc5f 100644
--- a/tools/arvbox/lib/arvbox/docker/Dockerfile.base
+++ b/tools/arvbox/lib/arvbox/docker/Dockerfile.base
@@ -8,7 +8,7 @@ ENV DEBIAN_FRONTEND noninteractive
 
 RUN apt-get update && \
     apt-get -yq --no-install-recommends -o Acquire::Retries=6 install \
-    postgresql-9.6 git build-essential runit curl libpq-dev \
+    postgresql-9.6 postgresql-contrib-9.6 git build-essential runit curl libpq-dev \
     libcurl4-openssl-dev libssl1.0-dev zlib1g-dev libpcre3-dev \
     openssh-server python-setuptools netcat-traditional \
     python-epydoc graphviz bzip2 less sudo virtualenv \
diff --git a/tools/arvbox/lib/arvbox/docker/api-setup.sh b/tools/arvbox/lib/arvbox/docker/api-setup.sh
index 482934c91..5b63950cd 100755
--- a/tools/arvbox/lib/arvbox/docker/api-setup.sh
+++ b/tools/arvbox/lib/arvbox/docker/api-setup.sh
@@ -77,7 +77,7 @@ database_pw=$(cat /var/lib/arvados/api_database_pw)
 
 if ! (psql postgres -c "\du" | grep "^ arvados ") >/dev/null ; then
     psql postgres -c "create user arvados with password '$database_pw'"
-    psql postgres -c "ALTER USER arvados CREATEDB;"
+    psql postgres -c "ALTER USER arvados WITH SUPERUSER;"
 fi
 
 sed "s/password:.*/password: $database_pw/" <config/database.yml.example >config/database.yml

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list