X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/7079ddb46ce3e855a30a4bd5b8f1f3e626ce7b7a..771a7b4e46f0f8369feea88570c944794978563f:/doc/user/tutorials/tutorial-new-pipeline.html.textile.liquid diff --git a/doc/user/tutorials/tutorial-new-pipeline.html.textile.liquid b/doc/user/tutorials/tutorial-new-pipeline.html.textile.liquid index 6852886523..a832434287 100644 --- a/doc/user/tutorials/tutorial-new-pipeline.html.textile.liquid +++ b/doc/user/tutorials/tutorial-new-pipeline.html.textile.liquid @@ -43,17 +43,19 @@ Next, create a file that contains the pipeline definition: "dataclass": "Collection" } }, - "script_version":"you:master", + "repository":"$USER", + "script_version":"master", "output_is_persistent":false }, - "filter":{ + "do_filter":{ "script":"0-filter.py", "script_parameters":{ "input":{ "output_of":"do_hash" } }, - "script_version":"you:master", + "repository":"$USER", + "script_version":"master", "output_is_persistent":true } } @@ -62,14 +64,15 @@ EOF -* @"output_of"@ indicates that the @output@ of the @do_hash@ component should be used as the @"input"@ parameter for the @filter@ component. Arvados determines the correct order to run the jobs when such dependencies are present. +* @"output_of"@ indicates that the @output@ of the @do_hash@ component should be used as the @"input"@ of @do_filter@. Arvados uses these dependencies between jobs to automatically determine the correct order to run them. -Now, use @arv pipeline_template create@ tell Arvados about your pipeline template: +(Your shell should automatically fill in @$USER@ with your login name. The JSON that gets saved should have @"repository"@ pointed at your personal git repository.) + +Now, use @arv pipeline_template create@ to register your pipeline template in Arvados:
~/you/crunch_scripts$ arv pipeline_template create --pipeline-template "$(cat ~/the_pipeline)"
 
-Your new pipeline template will appear on the "Workbench %(rarr)→% Compute %(rarr)→% Pipeline templates":http://{{ site.arvados_workbench_host }}/pipeline_templates page. - +Your new pipeline template will appear on the Workbench "Compute %(rarr)→% Pipeline templates":https://{{ site.arvados_workbench_host }}/pipeline_instances page.