[ARVADOS] updated: bdb850521603561439429c99e414ec702d7f83b1

git at public.curoverse.com git at public.curoverse.com
Fri Aug 7 09:05:34 EDT 2015


Summary of changes:
 doc/install/install-api-server.html.textile.liquid      | 6 ++++++
 doc/install/install-arv-git-httpd.html.textile.liquid   | 7 +++++++
 doc/install/install-crunch-dispatch.html.textile.liquid | 2 +-
 doc/install/install-keepproxy.html.textile.liquid       | 4 +++-
 doc/install/install-keepstore.html.textile.liquid       | 2 +-
 doc/install/install-shell-server.html.textile.liquid    | 4 ++++
 doc/install/install-workbench-app.html.textile.liquid   | 6 +++---
 7 files changed, 25 insertions(+), 6 deletions(-)

       via  bdb850521603561439429c99e414ec702d7f83b1 (commit)
       via  50ff63e948234f6f67acce0aec909f7b6f4705b8 (commit)
       via  06f774bc61654ea0bb6ddd7b9f61bde1dd56b884 (commit)
       via  4357a60b2805af7151e7c24a8e616b36584a22e3 (commit)
       via  c24168b75a7bfb6813843bd0c1825baae7434cc9 (commit)
       via  6cfe8a2abb6121617286c0931ca723cadfc9e98f (commit)
      from  8fe01fcc1b88a49f1f7eff14d0435e3ac0649721 (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 bdb850521603561439429c99e414ec702d7f83b1
Author: Brett Smith <brett at curoverse.com>
Date:   Fri Aug 7 08:59:40 2015 -0400

    Make rvm-exec version in crunch-dispatch run script less specific.
    
    Any Ruby 2.1 is fine; we don't specifically need 2.1.1.  We use
    `default` elsewhere throughout our documentation, so follow that
    pattern here.  No issue #.

diff --git a/doc/install/install-crunch-dispatch.html.textile.liquid b/doc/install/install-crunch-dispatch.html.textile.liquid
index 63afa71..2ed1f87 100644
--- a/doc/install/install-crunch-dispatch.html.textile.liquid
+++ b/doc/install/install-crunch-dispatch.html.textile.liquid
@@ -164,7 +164,7 @@ set -e
 
 rvmexec=""
 ## uncomment this line if you use rvm:
-#rvmexec="/usr/local/rvm/bin/rvm-exec 2.1.1"
+#rvmexec="/usr/local/rvm/bin/rvm-exec default"
 
 export PATH="$PATH":/path/to/arvados/services/crunch
 export ARVADOS_API_HOST={{ site.arvados_api_host }}

commit 50ff63e948234f6f67acce0aec909f7b6f4705b8
Author: Brett Smith <brett at curoverse.com>
Date:   Fri Aug 7 08:54:13 2015 -0400

    Add Gitolite UMASK setting to install guide.
    
    No issue #.

diff --git a/doc/install/install-arv-git-httpd.html.textile.liquid b/doc/install/install-arv-git-httpd.html.textile.liquid
index edf1e60..7279670 100644
--- a/doc/install/install-arv-git-httpd.html.textile.liquid
+++ b/doc/install/install-arv-git-httpd.html.textile.liquid
@@ -165,6 +165,13 @@ Add the following lines inside the section that begins @%RC = (@:
 </span></code></pre>
 </notextile>
 
+Inside that section, adjust the 'UMASK' setting to @022@, to ensure the API server has permission to read repositories:
+
+<notextile>
+<pre><code>    UMASK => <span class="userinput">022</span>,
+</code></pre>
+</notextile>
+
 Uncomment the 'Alias' line in the section that begins @ENABLE => [@:
 
 <notextile>

commit 06f774bc61654ea0bb6ddd7b9f61bde1dd56b884
Author: Brett Smith <brett at curoverse.com>
Date:   Fri Aug 7 08:50:48 2015 -0400

    Add client_max_body_size to Nginx install configurations.
    
    Nginx's default value for this setting is 1m, so adjusting it is all
    but required to do useful work.  No issue #.

diff --git a/doc/install/install-api-server.html.textile.liquid b/doc/install/install-api-server.html.textile.liquid
index 78c832f..1c5f04f 100644
--- a/doc/install/install-api-server.html.textile.liquid
+++ b/doc/install/install-api-server.html.textile.liquid
@@ -284,6 +284,12 @@ server {
 
   index  index.html index.htm index.php;
 
+  # This value effectively limits the size of API objects users can create,
+  # especially collections.  If you change this, you should also set
+  # `max_request_size` in the API server's application.yml file to the same
+  # value.
+  client_max_body_size 128m;
+
   location / {
     proxy_pass            http://api;
     proxy_redirect        off;
diff --git a/doc/install/install-keepproxy.html.textile.liquid b/doc/install/install-keepproxy.html.textile.liquid
index 04dc9fd..bbbec23 100644
--- a/doc/install/install-keepproxy.html.textile.liquid
+++ b/doc/install/install-keepproxy.html.textile.liquid
@@ -71,6 +71,8 @@ If possible, the proxy should be configured to add CORS headers to its own error
 <notextile><pre>
 server {
   server_name keep.example.com
+  # Clients need to be able to upload blocks of data up to 64MiB in size.
+  client_max_body_size 70m;
   ...
   add_header 'Access-Control-Allow-Methods' 'GET, HEAD, POST, PUT, OPTIONS' always
   add_header 'Access-Control-Allow-Origin' '*' always
diff --git a/doc/install/install-workbench-app.html.textile.liquid b/doc/install/install-workbench-app.html.textile.liquid
index 491f8c8..b478286 100644
--- a/doc/install/install-workbench-app.html.textile.liquid
+++ b/doc/install/install-workbench-app.html.textile.liquid
@@ -143,6 +143,7 @@ server {
   ssl_certificate_key <span class="userinput">/YOUR/PATH/TO/cert.key</span>;
 
   index  index.html index.htm index.php;
+  client_max_body_size 128m;
 
   location / {
     proxy_pass            http://workbench;

commit 4357a60b2805af7151e7c24a8e616b36584a22e3
Author: Brett Smith <brett at curoverse.com>
Date:   Fri Aug 7 08:44:27 2015 -0400

    Highlight dynamic fields in Keep service registration instructions.
    
    No issue #.

diff --git a/doc/install/install-keepproxy.html.textile.liquid b/doc/install/install-keepproxy.html.textile.liquid
index 9e8850c..04dc9fd 100644
--- a/doc/install/install-keepproxy.html.textile.liquid
+++ b/doc/install/install-keepproxy.html.textile.liquid
@@ -90,7 +90,7 @@ The API server needs to be informed about the presence of your Keepproxy server.
 ~$ <span class="userinput">echo "Site prefix is '$prefix'"</span>
 ~$ <span class="userinput">read -rd $'\000' keepservice <<EOF; arv keep_service create --keep-service "$keepservice"</span>
 <span class="userinput">{
- "service_host":"keep.$prefix.your.domain",
+ "service_host":"<strong>keep.$prefix.your.domain</strong>",
  "service_port":443,
  "service_ssl_flag":true,
  "service_type":"proxy"
diff --git a/doc/install/install-keepstore.html.textile.liquid b/doc/install/install-keepstore.html.textile.liquid
index 72b3c98..4cb46e1 100644
--- a/doc/install/install-keepstore.html.textile.liquid
+++ b/doc/install/install-keepstore.html.textile.liquid
@@ -83,7 +83,7 @@ Make sure to update the @service_host@ value to match each of your Keepstore ser
 ~$ <span class="userinput">echo "Site prefix is '$prefix'"</span>
 ~$ <span class="userinput">read -rd $'\000' keepservice <<EOF; arv keep_service create --keep-service "$keepservice"</span>
 <span class="userinput">{
- "service_host":"keep0.$prefix.your.domain",
+ "service_host":"<strong>keep0.$prefix.your.domain</strong>",
  "service_port":25107,
  "service_ssl_flag":false,
  "service_type":"disk"

commit c24168b75a7bfb6813843bd0c1825baae7434cc9
Author: Brett Smith <brett at curoverse.com>
Date:   Fri Aug 7 08:42:38 2015 -0400

    Install Git in shell server install guide.
    
    I don't think we expressly use curl for anything, but reusing the
    install template seemed easy enough.  In the future we might want to
    expand this to a list of packages that are useful for Arvados work
    generally (like maybe jq), but I wanted to keep this commit simple.
    
    No issue #.

diff --git a/doc/install/install-shell-server.html.textile.liquid b/doc/install/install-shell-server.html.textile.liquid
index 5383ad4..506894e 100644
--- a/doc/install/install-shell-server.html.textile.liquid
+++ b/doc/install/install-shell-server.html.textile.liquid
@@ -44,6 +44,10 @@ On Red Hat-based systems:
 
 {% include 'note_python27_sc' %}
 
+h2. Install Git and curl
+
+{% include 'install_git_curl' %}
+
 h2. Update Git Config
 
 Configure git to use the ARVADOS_API_TOKEN environment variable to authenticate to arv-git-httpd. We use the @--system@ flag so it takes effect for all current and future user accounts. It does not affect git's behavior when connecting to other git servers.

commit 6cfe8a2abb6121617286c0931ca723cadfc9e98f
Author: Brett Smith <brett at curoverse.com>
Date:   Fri Aug 7 08:38:59 2015 -0400

    Remove redundant console line from Workbench install guide.
    
    No issue #.

diff --git a/doc/install/install-workbench-app.html.textile.liquid b/doc/install/install-workbench-app.html.textile.liquid
index 5fc4111..491f8c8 100644
--- a/doc/install/install-workbench-app.html.textile.liquid
+++ b/doc/install/install-workbench-app.html.textile.liquid
@@ -187,9 +187,8 @@ Next, we're going to use the rails console on the <strong>API server</strong> to
 <notextile>
 <pre><code>/var/www/arvados-api/current$ <span class="userinput">RAILS_ENV=production bundle exec rails console</span>
 irb(main):001:0> <span class="userinput">Thread.current[:user] = User.all.select(&:identity_url).last</span>
-irb(main):002:0> <span class="userinput">Thread.current[:user].is_admin = true</span>
-irb(main):003:0> <span class="userinput">Thread.current[:user].update_attributes is_admin: true, is_active: true</span>
-irb(main):004:0> <span class="userinput">User.where(is_admin: true).collect &:email</span>
+irb(main):002:0> <span class="userinput">Thread.current[:user].update_attributes is_admin: true, is_active: true</span>
+irb(main):003:0> <span class="userinput">User.where(is_admin: true).collect &:email</span>
 => ["root", "<b>your_address at example.com</b>"]
 </code></pre></notextile>
 

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list