[ARVADOS] updated: ca65f360000d14ae987f3f6d3d15244ccf581c72

git at public.curoverse.com git at public.curoverse.com
Tue Oct 14 13:42:02 EDT 2014


Summary of changes:
 sdk/python/arvados/commands/run.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

       via  ca65f360000d14ae987f3f6d3d15244ccf581c72 (commit)
      from  60152eec3b8852169bd4121513a25479471d10e5 (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 ca65f360000d14ae987f3f6d3d15244ccf581c72
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Tue Oct 14 13:41:56 2014 -0400

    3609: Add --script-version and --repository to aid testing

diff --git a/sdk/python/arvados/commands/run.py b/sdk/python/arvados/commands/run.py
index 05a3c0c..9301e3c 100644
--- a/sdk/python/arvados/commands/run.py
+++ b/sdk/python/arvados/commands/run.py
@@ -19,6 +19,8 @@ arvrun_parser.add_argument('--dry-run', action="store_true", help="Print out the
 arvrun_parser.add_argument('--local', action="store_true", help="Run locally using arv-crunch-job")
 arvrun_parser.add_argument('--docker-image', type=str, default="arvados/jobs", help="Docker image to use, default arvados/jobs")
 arvrun_parser.add_argument('--git-dir', type=str, default="", help="Git directory to use to find run-command when using --local")
+arvrun_parser.add_argument('--repository', type=str, default="arvados", help="repository field of pipeline submission, default 'arvados'")
+arvrun_parser.add_argument('--script-version', type=str, default="master", help="script_version field of pipeline submission, default 'master'")
 arvrun_parser.add_argument('args', nargs=argparse.REMAINDER)
 
 class ArvFile(object):
@@ -143,8 +145,8 @@ def main(arguments=None):
 
     component = {
         "script": "run-command",
-        "script_version": "3609-arv-run",
-        "repository": "arvados",
+        "script_version": args.script_version,
+        "repository": args.repository,
         "script_parameters": {
         },
         "runtime_constraints": {

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list