[ARVADOS] updated: 1.3.0-2049-gd152573bb

Git user git at public.arvados.org
Fri Jan 3 15:34:53 UTC 2020


Summary of changes:
 services/crunch-dispatch-slurm/usage.go | 21 +++------------------
 services/ws/doc.go                      | 21 +++++----------------
 2 files changed, 8 insertions(+), 34 deletions(-)

       via  d152573bbf3f71665d099d0d4a4e278fe349e6dc (commit)
      from  2d5ddf2aab06b47eebb3fafe91b506800ec8c0f5 (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 d152573bbf3f71665d099d0d4a4e278fe349e6dc
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Fri Jan 3 10:27:36 2020 -0500

    Update comments/help text about config for crunch-dispatch-slurm and websockets
    
    Link to updated config.yml docs
    
    fixes #15541
    fixes #15542
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>

diff --git a/services/crunch-dispatch-slurm/usage.go b/services/crunch-dispatch-slurm/usage.go
index bcfa5b8a3..b2d157cbd 100644
--- a/services/crunch-dispatch-slurm/usage.go
+++ b/services/crunch-dispatch-slurm/usage.go
@@ -10,21 +10,6 @@ import (
 	"os"
 )
 
-var exampleConfigFile = []byte(`
-    {
-	"Client": {
-	    "APIHost": "zzzzz.arvadosapi.com",
-	    "AuthToken": "xyzzy",
-	    "Insecure": false
-	    "KeepServiceURIs": [],
-	},
-	"CrunchRunCommand": ["crunch-run"],
-	"PollPeriod": "10s",
-	"SbatchArguments": ["--partition=foo", "--exclude=node13"],
-	"ReserveExtraRAM": 268435456,
-	"BatchSize": 10000
-    }`)
-
 func usage(fs *flag.FlagSet) {
 	fmt.Fprintf(os.Stderr, `
 crunch-dispatch-slurm runs queued Arvados containers by submitting
@@ -34,7 +19,7 @@ Options:
 `)
 	fs.PrintDefaults()
 	fmt.Fprintf(os.Stderr, `
-Example config file:
-%s
-`, exampleConfigFile)
+
+For configuration instructions see https://doc.arvados.org/install/crunch2-slurm/install-dispatch.html
+`)
 }
diff --git a/services/ws/doc.go b/services/ws/doc.go
index 092539747..806c3355d 100644
--- a/services/ws/doc.go
+++ b/services/ws/doc.go
@@ -6,7 +6,7 @@
 // cache-invalidation event feed at "ws://.../websocket") to
 // websocket clients.
 //
-// Installation
+// Installation and configuration
 //
 // See https://doc.arvados.org/install/install-ws.html.
 //
@@ -16,25 +16,14 @@
 //
 // Usage
 //
-//     arvados-ws [-config /etc/arvados/ws/ws.yml] [-dump-config]
-//
-// Minimal configuration
-//
-//     Client:
-//       APIHost: localhost:443
-//     Listen: ":1234"
-//     Postgres:
-//       dbname: arvados_production
-//       host: localhost
-//       password: xyzzy
-//       user: arvados
+//     arvados-ws [-legacy-ws-config /etc/arvados/ws/ws.yml] [-dump-config]
 //
 // Options
 //
-// -config path
+// -legacy-ws-config path
 //
-// Load configuration from the given file instead of the default
-// /etc/arvados/ws/ws.yml
+// Load legacy configuration from the given file instead of the default
+// /etc/arvados/ws/ws.yml, legacy config overrides the clusterwide config.yml.
 //
 // -dump-config
 //

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list