forked from Azure/azureml-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pipeline.yml
39 lines (36 loc) · 1.39 KB
/
pipeline.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
$schema: https://azuremlschemas.azureedge.net/latest/pipelineJob.schema.json
type: pipeline
display_name: 4b_datastore_datapath_uri
description: Example of using data folder from a Workspace Datastore as pipeline input
inputs:
pipeline_sample_input_string: 'Hello_Pipeline_World'
outputs:
pipeline_sample_output_data:
# format for data store uri: azureml://datastores/<datastore_name>/paths/<path>/<on>/<datastore>
path: azureml://datastores/workspaceblobstore/paths/azureml/4b_datastore_datapath_uri
settings:
default_compute: azureml:cpu-cluster
jobs:
component_folder:
type: command
component: ./component-folder.yml
inputs:
sample_input_data:
type: uri_folder
path: azureml://datastores/workspaceblobstore/paths/azureml
mode: ro_mount
sample_input_string: ${{parent.inputs.pipeline_sample_input_string}}
outputs:
sample_output_data: ${{parent.outputs.pipeline_sample_output_data}}
component_file:
type: command
component: ./component-file.yml
inputs:
sample_input_data_file:
type: uri_file
path: azureml://datastores/workspaceblobstore/paths/azureml/4b_datastore_datapath_uri/hello-world.txt
mode: download
placeholder: ${{parent.jobs.component_folder.outputs.sample_output_data}}
outputs:
# binding with pipeline level outputs is optional
sample_output_data: