[ARVADOS] updated: 0e6434711ce72cb9f37be8d52f0e1fd039780e7d

Git user git at public.curoverse.com
Wed Sep 28 11:22:32 EDT 2016


Summary of changes:
 .../app/views/work_units/_show_log.html.erb        |   8 +-
 .../container_requests_controller_test.rb          |  17 ++-
 crunch_scripts/cwl-runner                          |   4 +-
 .../install-dispatch.html.textile.liquid           |  11 +-
 .../crunch2-slurm/install-test.html.textile.liquid |   2 +-
 sdk/cwl/arvados_cwl/__init__.py                    |  45 +++++---
 sdk/cwl/arvados_cwl/arv-cwl-schema.yml             |  47 +++++++++
 sdk/cwl/arvados_cwl/arvcontainer.py                |   8 ++
 sdk/cwl/arvados_cwl/arvjob.py                      |   7 ++
 sdk/cwl/arvados_cwl/arvworkflow.py                 |  83 ++++++++++++++-
 sdk/cwl/arvados_cwl/pathmapper.py                  |   2 +-
 sdk/cwl/arvados_cwl/runner.py                      |   2 +-
 sdk/cwl/setup.py                                   |   1 +
 sdk/cwl/tests/test_container.py                    |   8 +-
 sdk/cwl/tests/test_job.py                          |  76 +++++++++++++-
 sdk/cwl/tests/wf/scatter2.cwl                      |  56 ++++++++++
 sdk/cwl/tests/wf/scatter2_subwf.cwl                |  33 ++++++
 sdk/go/arvadosclient/pool.go                       |  36 ++++---
 sdk/go/arvadostest/run_servers.go                  |   9 ++
 sdk/go/config/load.go                              |   7 +-
 services/api/app/models/arvados_model.rb           |   2 +-
 services/api/config/application.default.yml        |   6 ++
 .../api/lib/tasks/delete_old_container_logs.rake   |  14 +++
 services/api/lib/tasks/delete_old_job_logs.rake    |  11 +-
 services/api/test/fixtures/container_requests.yml  |   2 +-
 services/api/test/fixtures/containers.yml          |  55 +++++++++-
 services/api/test/fixtures/logs.yml                | 114 +++++++++++++++++++++
 .../test/tasks/delete_old_container_logs_test.rb   |  50 +++++++++
 .../arv-git-httpd.service}                         |   5 +-
 services/arv-git-httpd/auth_handler.go             |  28 +++--
 services/arv-git-httpd/git_handler.go              |   6 +-
 services/arv-git-httpd/git_handler_test.go         |   2 +-
 services/arv-git-httpd/gitolite_test.go            |  16 ++-
 services/arv-git-httpd/integration_test.go         |  25 +++--
 services/arv-git-httpd/main.go                     |  75 ++++++++++----
 services/arv-git-httpd/server.go                   |   4 +-
 services/arv-git-httpd/usage.go                    |  62 +++++++++++
 .../crunch-dispatch-slurm/crunch-dispatch-slurm.go |  53 +++++-----
 .../crunch-dispatch-slurm.service                  |   1 +
 .../crunch-dispatch-slurm_test.go                  |   8 +-
 .../dockercleaner/arvados-docker-cleaner.service   |   1 +
 services/dockercleaner/arvados_docker/cleaner.py   |   2 +-
 services/fuse/tests/test_mount.py                  |  50 ++++++---
 services/keep-balance/keep-balance.service         |   3 +-
 services/keep-balance/main.go                      |  18 ++--
 services/keep-balance/main_test.go                 |   7 +-
 services/keep-balance/usage.go                     |  24 ++---
 services/keep-web/doc.go                           |  28 +++--
 services/keep-web/keep-web.service                 |   1 +
 services/keep-web/main.go                          |   4 +-
 services/keep-web/usage.go                         |   2 +-
 services/keepproxy/keepproxy.go                    |   2 +-
 services/keepproxy/keepproxy.service               |   1 +
 services/keepproxy/usage.go                        |   2 +-
 54 files changed, 937 insertions(+), 209 deletions(-)
 create mode 100644 sdk/cwl/arvados_cwl/arv-cwl-schema.yml
 create mode 100644 sdk/cwl/tests/wf/scatter2.cwl
 create mode 100644 sdk/cwl/tests/wf/scatter2_subwf.cwl
 create mode 100644 services/api/lib/tasks/delete_old_container_logs.rake
 create mode 100644 services/api/test/tasks/delete_old_container_logs_test.rb
 copy services/{crunch-dispatch-slurm/crunch-dispatch-slurm.service => arv-git-httpd/arv-git-httpd.service} (50%)
 create mode 100644 services/arv-git-httpd/usage.go

       via  0e6434711ce72cb9f37be8d52f0e1fd039780e7d (commit)
       via  e5a158a14552e250a239f8e184e9471289683d25 (commit)
       via  9bcf0f9acc345477668aa25083ecbe3dd4fe44f3 (commit)
       via  dec0d5fbdfff3a13d70afedca2a7b5b36ebb8f2e (commit)
       via  a5445a2ae553b0723d8579462bcb48855f71a17c (commit)
       via  3bbe1cd9310cfdbdbc63b27bee029cd29c5647e9 (commit)
       via  69972d44f4806ea5ff89b9ba1afd6f51848968c9 (commit)
       via  91528dbaf47e8b89670b733f6cb5ce3709722b60 (commit)
       via  e0f4124bd0156f7cb029e5330e256086962f9e8e (commit)
       via  4689cec4c94dbbfcf990250e15ae6e822f9fd170 (commit)
       via  aedb012c8f4c6c08820df412019440954e398048 (commit)
       via  9e27ddfd2f2538ff2216d75c450aa72dd3bc1cf8 (commit)
       via  04cbfda1656d1d6cf3eee2f901c2ee79ab597e59 (commit)
       via  8a704d9628a2731635d0d1cb96a85a83c0f79a13 (commit)
       via  ec8f01cc84b75ab2cb9204cab63636a1a479a893 (commit)
       via  6e1c29f2530ff36892ebe64a81e3d962766763de (commit)
       via  8a286717d5f4f549570d81533f746ba838b73d30 (commit)
       via  c3734153c799a79136683093c21f64a7f1fa4e80 (commit)
       via  e1d958bc57d64055bcd08d84bd3b86823f1ebc5d (commit)
       via  523dadebfbee9a73a21c3f78c7b4af329930d393 (commit)
       via  f40544f6523bf2d54b288a64af7cab7469741512 (commit)
       via  c2fdf5d225efe65edcab383b213eca27e2cca30e (commit)
       via  9c8cfd22f67f9becfd9e33411b61118b27eb043e (commit)
       via  5c9aedbd8e623a518f5e1a92e4064a25ddd66353 (commit)
       via  9bc524ae6d516f1be41cc8a7c6a76a96bbd9578c (commit)
       via  8b7d63024652c112973d4dd82f9a5d89cc624fc7 (commit)
       via  89b46374d746fe785e3ba0088f0886caa17893db (commit)
       via  9f179a8b8acf6fa23091445fc1332357d1fe1644 (commit)
       via  8d61948fecccfc60db2f18ba4daf7c01ddf3d3c8 (commit)
       via  ac41324707ee25527bd0077d43ff4fc34620b9e8 (commit)
       via  cbc620e6517c169fb265153eb6c995eebe959721 (commit)
       via  0ff7b94edaaaa07932ae757c0a2b7ba3fde026cb (commit)
       via  210889a5400ac6ef247078af14c0766f3639b988 (commit)
       via  84bcaa194dd2dd767aea291cdc17e85cd802325a (commit)
       via  559729f94c6676cc6bca707e36417da412f937f5 (commit)
       via  07e339237850f463d18ce6c06446441c6684fc58 (commit)
       via  261d51d1c2551c9e7dc87a8fca23caccfc613df4 (commit)
       via  110d992e55ed6f8537abb3cb27487ae1f66ca44e (commit)
       via  98457f6fdb93116d31bec47057094041e9c47bde (commit)
       via  defaa234ca09f1c0a202a77d7660b75d3c12de02 (commit)
       via  22773dcba5c8f59a01a08c1734dd5249517808c9 (commit)
       via  e3de0a09618c8aa46833357e6eacabe15bb68f6f (commit)
       via  64b05a6b4e2234a3a71d6978f0e1cf9d5f1b8c6e (commit)
       via  c96214468a927d56c03876de43fa16073fc26df5 (commit)
       via  bc6b243539b5480493c7aa758a1272a1a42b58f1 (commit)
      from  30fb9bf812c51d2876ee82eda86dd07972f77e1e (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 0e6434711ce72cb9f37be8d52f0e1fd039780e7d
Author: Tom Clegg <tom at curoverse.com>
Date:   Wed Sep 28 11:13:40 2016 -0400

    9950: 9953: 9954: 9955: 9957: Add AssertPathExists= to unit file to avoid startup until config file exists.

diff --git a/services/arv-git-httpd/arv-git-httpd.service b/services/arv-git-httpd/arv-git-httpd.service
index 8aaf674..f71c2ff 100644
--- a/services/arv-git-httpd/arv-git-httpd.service
+++ b/services/arv-git-httpd/arv-git-httpd.service
@@ -2,6 +2,7 @@
 Description=Arvados git server
 Documentation=https://doc.arvados.org/
 After=network.target
+AssertPathExists=/etc/arvados/arvados-git-httpd/arvados-git-httpd.yml
 
 [Service]
 Type=notify
diff --git a/services/crunch-dispatch-slurm/crunch-dispatch-slurm.service b/services/crunch-dispatch-slurm/crunch-dispatch-slurm.service
index 5b37e3c..34ba80b 100644
--- a/services/crunch-dispatch-slurm/crunch-dispatch-slurm.service
+++ b/services/crunch-dispatch-slurm/crunch-dispatch-slurm.service
@@ -2,6 +2,7 @@
 Description=Arvados Crunch Dispatcher for SLURM
 Documentation=https://doc.arvados.org/
 After=network.target
+AssertPathExists=/etc/arvados/crunch-dispatch-slurm/crunch-dispatch-slurm.yml
 
 [Service]
 Type=notify
diff --git a/services/dockercleaner/arvados-docker-cleaner.service b/services/dockercleaner/arvados-docker-cleaner.service
index 43e4ab8..28653ae 100644
--- a/services/dockercleaner/arvados-docker-cleaner.service
+++ b/services/dockercleaner/arvados-docker-cleaner.service
@@ -2,6 +2,7 @@
 Description=Arvados Docker Image Cleaner
 Documentation=https://doc.arvados.org/
 After=network.target
+AssertPathExists=/etc/arvados/docker-cleaner/docker-cleaner.json
 
 [Service]
 Type=simple
diff --git a/services/keep-balance/keep-balance.service b/services/keep-balance/keep-balance.service
index 634b44b..157e42c 100644
--- a/services/keep-balance/keep-balance.service
+++ b/services/keep-balance/keep-balance.service
@@ -2,6 +2,7 @@
 Description=Arvados Keep Balance
 Documentation=https://doc.arvados.org/
 After=network.target
+AssertPathExists=/etc/arvados/keep-balance/keep-balance.yml
 
 [Service]
 Type=simple
diff --git a/services/keep-web/keep-web.service b/services/keep-web/keep-web.service
index da56212..24be771 100644
--- a/services/keep-web/keep-web.service
+++ b/services/keep-web/keep-web.service
@@ -2,6 +2,7 @@
 Description=Arvados Keep web gateway
 Documentation=https://doc.arvados.org/
 After=network.target
+AssertPathExists=/etc/arvados/keep-web/keep-web.yml
 
 [Service]
 Type=notify
diff --git a/services/keepproxy/keepproxy.service b/services/keepproxy/keepproxy.service
index 5bd3036..c340fab 100644
--- a/services/keepproxy/keepproxy.service
+++ b/services/keepproxy/keepproxy.service
@@ -2,6 +2,7 @@
 Description=Arvados Keep Proxy
 Documentation=https://doc.arvados.org/
 After=network.target
+AssertPathExists=/etc/arvados/keepproxy/keepproxy.yml
 
 [Service]
 Type=notify

commit e5a158a14552e250a239f8e184e9471289683d25
Author: Tom Clegg <tom at curoverse.com>
Date:   Wed Sep 28 11:12:11 2016 -0400

    9950: Fix arvados-git-httpd executable path. Update config path to /etc/arvados/git-httpd/.

diff --git a/services/arv-git-httpd/arv-git-httpd.service b/services/arv-git-httpd/arv-git-httpd.service
index 1182a0e..8aaf674 100644
--- a/services/arv-git-httpd/arv-git-httpd.service
+++ b/services/arv-git-httpd/arv-git-httpd.service
@@ -5,7 +5,7 @@ After=network.target
 
 [Service]
 Type=notify
-ExecStart=/usr/bin/arv-git-httpd
+ExecStart=/usr/bin/arvados-git-httpd
 Restart=always
 
 [Install]
diff --git a/services/arv-git-httpd/main.go b/services/arv-git-httpd/main.go
index 26d2914..dd28136 100644
--- a/services/arv-git-httpd/main.go
+++ b/services/arv-git-httpd/main.go
@@ -35,7 +35,7 @@ func defaultConfig() *Config {
 }
 
 func init() {
-	const defaultCfgPath = "/etc/arvados/arv-git-httpd/arv-git-httpd.yml"
+	const defaultCfgPath = "/etc/arvados/git-httpd/git-httpd.yml"
 	const deprecated = " (DEPRECATED -- use config file instead)"
 	flag.StringVar(&theConfig.Listen, "address", theConfig.Listen,
 		"Address to listen on, \"host:port\" or \":port\"."+deprecated)

commit 9bcf0f9acc345477668aa25083ecbe3dd4fe44f3
Author: Tom Clegg <tom at curoverse.com>
Date:   Wed Sep 28 10:47:36 2016 -0400

    9953: Update default config path.

diff --git a/services/dockercleaner/arvados_docker/cleaner.py b/services/dockercleaner/arvados_docker/cleaner.py
index 8b8c772..5ac8100 100755
--- a/services/dockercleaner/arvados_docker/cleaner.py
+++ b/services/dockercleaner/arvados_docker/cleaner.py
@@ -294,7 +294,7 @@ def parse_arguments(arguments):
         formatter_class=Formatter,
     )
     parser.add_argument(
-        '--config', action='store', type=str, default='/etc/arvados/docker-cleaner/config.json',
+        '--config', action='store', type=str, default='/etc/arvados/docker-cleaner/docker-cleaner.json',
         help="configuration file")
 
     deprecated = " (DEPRECATED -- use config file instead)"

commit dec0d5fbdfff3a13d70afedca2a7b5b36ebb8f2e
Merge: 30fb9bf a5445a2
Author: Tom Clegg <tom at curoverse.com>
Date:   Wed Sep 28 10:32:07 2016 -0400

    9953: Merge branch 'master' into 9953-dockercleaner-config


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


hooks/post-receive
-- 




More information about the arvados-commits mailing list