-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Revital Sur <[email protected]>
- Loading branch information
Showing
4 changed files
with
46 additions
and
9 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,7 @@ | ||
# Adding new KFP workflows | ||
|
||
This README outlines the steps to add a new KFP workflow for a new transform: | ||
|
||
- Generate the workflow using the [pipeline generator](./pipeline_generator). | ||
- Add the path to the transform input directory in the [populate_minio script](../scripts/k8s-setup/populate_minio.sh). This path is used when testing the workflow. | ||
- Create a GitHub Action for the kfp workflow using the `make` command in the [github directory](../.github/workflows/README.md). |
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
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
28 changes: 28 additions & 0 deletions
28
transforms/language/html2parquet/kfp_ray/pipeline_definitions.yaml
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,28 @@ | ||
pipeline_parameters: | ||
name: "html2parquet" | ||
description: "Pipeline for html2parquet task" | ||
script_name: "html2parquet_transform_ray.py" | ||
prefix: "" | ||
multi_s3: False | ||
compute_func_name: "" | ||
compute_func_import: "" | ||
component_spec_path: "" | ||
|
||
pipeline_common_input_parameters_values: | ||
kfp_base_image: "quay.io/dataprep1/data-prep-kit/kfp-data-processing:latest" | ||
transform_image: "quay.io/dataprep1/data-prep-kit/html2parquet-ray:latest" | ||
s3_access_secret: "s3-secret" | ||
image_pull_secret: "prod-all-icr-io" | ||
input_folder: "test/html2parquet/input/" | ||
output_folder: "test/html2parquet/output/" | ||
|
||
pipeline_transform_input_parameters: | ||
pipeline_arguments: | ||
- name: data_files_to_use | ||
type: "str" | ||
value: "['.html', '.zip']" | ||
description: "# file extensions to use for processing" | ||
- name: html2parquet_output_format | ||
type: "str" | ||
value: "markdown" | ||
description: "# Output format for the contents column." |