-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add workflow file template (#157)
Co-authored-by: Laura Kinkead <[email protected]>
- Loading branch information
1 parent
f2a7781
commit f604424
Showing
5 changed files
with
190 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# === Welcome to the template Renku Workflow file! === | ||
# You can use this file to encode in what order your data processing steps should be run, | ||
# making it easier for you to run your workflow, and for others to understand it! | ||
|
||
# === How to use this template === | ||
# Replace the script and data paths in the template below to match your analysis commands. | ||
# Then, run `renku run my-workflow.yaml` in a terminal to execute the workflow! | ||
# If you are working in a notebook, run `! renku run my-workflow.yaml` in a notebook cell. | ||
|
||
# === Docs === | ||
# To learn much more about what you can do with the Renku Workflow File, see our docs: | ||
# https://renku.readthedocs.io/en/stable/topic-guides/workflows/workflow-file.html | ||
|
||
name: my-workflow | ||
steps: | ||
step-one: | ||
command: python $n $my-script $input-data $output-data | ||
inputs: | ||
- my-script: | ||
path: src/script.py | ||
- input-data: | ||
path: data/input/sample_data.csv | ||
outputs: | ||
- output-data: | ||
path: data/output/results.csv | ||
parameters: | ||
- n: | ||
prefix: -n | ||
value: 10 | ||
|
||
# === Adding more steps === | ||
# You can add as many steps as you want to your workflow by copy and pasting the step template above | ||
# TIP: To run just one step from a workflow, simply add the step name to the command, like this: | ||
# `renku run my-workflow.yaml make-plot` | ||
# make-plot: | ||
# command: python $another-script $output-data $my-plot | ||
# ... | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# === Welcome to the template Renku Workflow file! === | ||
# You can use this file to encode in what order your data processing steps should be run, | ||
# making it easier for you to run your workflow, and for others to understand it! | ||
|
||
# === How to use this template === | ||
# Replace the script and data paths in the template below to match your analysis commands. | ||
# Then, run `renku run my-workflow.yaml` in a terminal to execute the workflow! | ||
# If you are working in a notebook, run `! renku run my-workflow.yaml` in a notebook cell. | ||
|
||
# === Docs === | ||
# To learn much more about what you can do with the Renku Workflow File, see our docs: | ||
# https://renku.readthedocs.io/en/stable/topic-guides/workflows/workflow-file.html | ||
|
||
name: my-workflow | ||
steps: | ||
step-one: | ||
command: python $n $my-script $input-data $output-data | ||
inputs: | ||
- my-script: | ||
path: src/script.py | ||
- input-data: | ||
path: data/input/sample_data.csv | ||
outputs: | ||
- output-data: | ||
path: data/output/results.csv | ||
parameters: | ||
- n: | ||
prefix: -n | ||
value: 10 | ||
|
||
# === Adding more steps === | ||
# You can add as many steps as you want to your workflow by copy and pasting the step template above | ||
# TIP: To run just one step from a workflow, simply add the step name to the command, like this: | ||
# `renku run my-workflow.yaml make-plot` | ||
# make-plot: | ||
# command: python $another-script $output-data $my-plot | ||
# ... | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# === Welcome to the template Renku Workflow file! === | ||
# You can use this file to encode in what order your data processing steps should be run, | ||
# making it easier for you to run your workflow, and for others to understand it! | ||
|
||
# === How to use this template === | ||
# Replace the script and data paths in the template below to match your analysis commands. | ||
# Then, run `renku run my-workflow.yaml` in a terminal to execute the workflow! | ||
# If you are working in a notebook, run `! renku run my-workflow.yaml` in a notebook cell. | ||
|
||
# === Docs === | ||
# To learn much more about what you can do with the Renku Workflow File, see our docs: | ||
# https://renku.readthedocs.io/en/stable/topic-guides/workflows/workflow-file.html | ||
|
||
name: my-workflow | ||
steps: | ||
step-one: | ||
command: python $n $my-script $input-data $output-data | ||
inputs: | ||
- my-script: | ||
path: src/script.py | ||
- input-data: | ||
path: data/input/sample_data.csv | ||
outputs: | ||
- output-data: | ||
path: data/output/results.csv | ||
parameters: | ||
- n: | ||
prefix: -n | ||
value: 10 | ||
|
||
# === Adding more steps === | ||
# You can add as many steps as you want to your workflow by copy and pasting the step template above | ||
# TIP: To run just one step from a workflow, simply add the step name to the command, like this: | ||
# `renku run my-workflow.yaml make-plot` | ||
# make-plot: | ||
# command: python $another-script $output-data $my-plot | ||
# ... | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# === Welcome to the template Renku Workflow file! === | ||
# You can use this file to encode in what order your data processing steps should be run, | ||
# making it easier for you to run your workflow, and for others to understand it! | ||
|
||
# === How to use this template === | ||
# Replace the script and data paths in the template below to match your analysis commands. | ||
# Then, run `renku run my-workflow.yaml` in a terminal to execute the workflow! | ||
# If you are working in a notebook, run `! renku run my-workflow.yaml` in a notebook cell. | ||
|
||
# === Docs === | ||
# To learn much more about what you can do with the Renku Workflow File, see our docs: | ||
# https://renku.readthedocs.io/en/stable/topic-guides/workflows/workflow-file.html | ||
|
||
name: my-workflow | ||
steps: | ||
step-one: | ||
command: python $n $my-script $input-data $output-data | ||
inputs: | ||
- my-script: | ||
path: src/script.py | ||
- input-data: | ||
path: data/input/sample_data.csv | ||
outputs: | ||
- output-data: | ||
path: data/output/results.csv | ||
parameters: | ||
- n: | ||
prefix: -n | ||
value: 10 | ||
|
||
# === Adding more steps === | ||
# You can add as many steps as you want to your workflow by copy and pasting the step template above | ||
# TIP: To run just one step from a workflow, simply add the step name to the command, like this: | ||
# `renku run my-workflow.yaml make-plot` | ||
# make-plot: | ||
# command: python $another-script $output-data $my-plot | ||
# ... | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# === Welcome to the template Renku Workflow file! === | ||
# You can use this file to encode in what order your data processing steps should be run, | ||
# making it easier for you to run your workflow, and for others to understand it! | ||
|
||
# === How to use this template === | ||
# Replace the script and data paths in the template below to match your analysis commands. | ||
# Then, run `renku run my-workflow.yaml` in a terminal to execute the workflow! | ||
# If you are working in a notebook, run `! renku run my-workflow.yaml` in a notebook cell. | ||
|
||
# === Docs === | ||
# To learn much more about what you can do with the Renku Workflow File, see our docs: | ||
# https://renku.readthedocs.io/en/stable/topic-guides/workflows/workflow-file.html | ||
|
||
name: my-workflow | ||
steps: | ||
step-one: | ||
command: python $n $my-script $input-data $output-data | ||
inputs: | ||
- my-script: | ||
path: src/script.py | ||
- input-data: | ||
path: data/input/sample_data.csv | ||
outputs: | ||
- output-data: | ||
path: data/output/results.csv | ||
parameters: | ||
- n: | ||
prefix: -n | ||
value: 10 | ||
|
||
# === Adding more steps === | ||
# You can add as many steps as you want to your workflow by copy and pasting the step template above | ||
# TIP: To run just one step from a workflow, simply add the step name to the command, like this: | ||
# `renku run my-workflow.yaml make-plot` | ||
# make-plot: | ||
# command: python $another-script $output-data $my-plot | ||
# ... | ||
|