Skip to content

Commit

Permalink
update golden snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-mccarthy committed Aug 16, 2023
1 parent 13889ba commit 89a1c33
Show file tree
Hide file tree
Showing 60 changed files with 497 additions and 277 deletions.
8 changes: 5 additions & 3 deletions sdk/python/test_data/components/add_numbers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,14 @@ deploymentSpec:
- --function_to_execute
- add_numbers
command:
- _RUNTIME=true
- sh
- -c
- "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\
\ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.1'\
\ && \"$0\" \"$@\"\n"
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.1.2\
\ --no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"3.9\"' && \"\
$0\" \"$@\"\n"
- sh
- -ec
- 'program_path=$(mktemp -d)
Expand Down Expand Up @@ -81,4 +83,4 @@ root:
Output:
parameterType: NUMBER_INTEGER
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.1
sdkVersion: kfp-2.1.2
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,14 @@ deploymentSpec:
- --function_to_execute
- dataset_joiner
command:
- _RUNTIME=true
- sh
- -c
- "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\
\ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.1'\
\ && \"$0\" \"$@\"\n"
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.1.2\
\ --no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"3.9\"' && \"\
$0\" \"$@\"\n"
- sh
- -ec
- 'program_path=$(mktemp -d)
Expand Down Expand Up @@ -124,4 +126,4 @@ root:
description: The concatenated string.
parameterType: STRING
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.1
sdkVersion: kfp-2.1.2
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ deploymentSpec:
- --function_to_execute
- component_with_pip_install
command:
- _RUNTIME=true
- sh
- -c
- "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\
\ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\
\ python3 -m pip install --quiet --no-warn-script-location --index-url\
\ https://pypi.org/simple --trusted-host https://pypi.org/simple 'yapf'\
\ 'kfp==2.0.1' && \"$0\" \"$@\"\n"
\ 'kfp==2.1.2 --no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\
3.9\"' && \"$0\" \"$@\"\n"
- sh
- -ec
- 'program_path=$(mktemp -d)
Expand All @@ -46,4 +48,4 @@ root:
taskInfo:
name: component-with-pip-install
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.1
sdkVersion: kfp-2.1.2
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ deploymentSpec:
- --function_to_execute
- exit_comp
command:
- _RUNTIME=true
- sh
- -c
- "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\
\ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.1'\
\ && \"$0\" \"$@\"\n"
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.1.2\
\ --no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"3.9\"' && \"\
$0\" \"$@\"\n"
- sh
- -ec
- 'program_path=$(mktemp -d)
Expand Down Expand Up @@ -61,4 +63,4 @@ root:
isOptional: true
parameterType: TASK_FINAL_STATUS
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.1
sdkVersion: kfp-2.1.2
8 changes: 5 additions & 3 deletions sdk/python/test_data/components/concat_message.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,14 @@ deploymentSpec:
- --function_to_execute
- concat_message
command:
- _RUNTIME=true
- sh
- -c
- "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\
\ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.1'\
\ && \"$0\" \"$@\"\n"
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.1.2\
\ --no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"3.9\"' && \"\
$0\" \"$@\"\n"
- sh
- -ec
- 'program_path=$(mktemp -d)
Expand Down Expand Up @@ -82,4 +84,4 @@ root:
Output:
parameterType: STRING
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.1
sdkVersion: kfp-2.1.2
2 changes: 1 addition & 1 deletion sdk/python/test_data/components/container_io.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ root:
output_path:
parameterType: STRING
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.1.2
2 changes: 1 addition & 1 deletion sdk/python/test_data/components/container_no_input.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ root:
taskInfo:
name: container-no-input
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.1.2
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ root:
model_config_path:
parameterType: STRING
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.1.2
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ root:
output_path:
parameterType: STRING
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.1.2
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ root:
output_path:
parameterType: STRING
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.1.2
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ root:
schemaTitle: system.Artifact
schemaVersion: 0.0.1
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.1.2
8 changes: 5 additions & 3 deletions sdk/python/test_data/components/dict_input.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@ deploymentSpec:
- --function_to_execute
- dict_input
command:
- _RUNTIME=true
- sh
- -c
- "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\
\ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.1'\
\ && \"$0\" \"$@\"\n"
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.1.2\
\ --no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"3.9\"' && \"\
$0\" \"$@\"\n"
- sh
- -ec
- 'program_path=$(mktemp -d)
Expand Down Expand Up @@ -58,4 +60,4 @@ root:
struct:
parameterType: STRUCT
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.1
sdkVersion: kfp-2.1.2
8 changes: 5 additions & 3 deletions sdk/python/test_data/components/identity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,14 @@ deploymentSpec:
- --function_to_execute
- identity
command:
- _RUNTIME=true
- sh
- -c
- "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\
\ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.1'\
\ && \"$0\" \"$@\"\n"
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.1.2\
\ --no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"3.9\"' && \"\
$0\" \"$@\"\n"
- sh
- -ec
- 'program_path=$(mktemp -d)
Expand Down Expand Up @@ -74,4 +76,4 @@ root:
Output:
parameterType: STRING
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.1
sdkVersion: kfp-2.1.2
8 changes: 5 additions & 3 deletions sdk/python/test_data/components/input_artifact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ deploymentSpec:
- --function_to_execute
- input_artifact
command:
- _RUNTIME=true
- sh
- -c
- "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\
\ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.1'\
\ && \"$0\" \"$@\"\n"
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.1.2\
\ --no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"3.9\"' && \"\
$0\" \"$@\"\n"
- sh
- -ec
- 'program_path=$(mktemp -d)
Expand Down Expand Up @@ -63,4 +65,4 @@ root:
schemaTitle: system.Dataset
schemaVersion: 0.0.1
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.1
sdkVersion: kfp-2.1.2
8 changes: 5 additions & 3 deletions sdk/python/test_data/components/nested_return.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@ deploymentSpec:
- --function_to_execute
- nested_return
command:
- _RUNTIME=true
- sh
- -c
- "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\
\ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.1'\
\ && \"$0\" \"$@\"\n"
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.1.2\
\ --no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"3.9\"' && \"\
$0\" \"$@\"\n"
- sh
- -ec
- 'program_path=$(mktemp -d)
Expand Down Expand Up @@ -61,4 +63,4 @@ root:
Output:
parameterType: LIST
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.1
sdkVersion: kfp-2.1.2
8 changes: 5 additions & 3 deletions sdk/python/test_data/components/output_metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ deploymentSpec:
- --function_to_execute
- output_metrics
command:
- _RUNTIME=true
- sh
- -c
- "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\
\ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.1'\
\ && \"$0\" \"$@\"\n"
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.1.2\
\ --no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"3.9\"' && \"\
$0\" \"$@\"\n"
- sh
- -ec
- 'program_path=$(mktemp -d)
Expand Down Expand Up @@ -77,4 +79,4 @@ root:
schemaTitle: system.Metrics
schemaVersion: 0.0.1
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.1
sdkVersion: kfp-2.1.2
8 changes: 5 additions & 3 deletions sdk/python/test_data/components/preprocess.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,14 @@ deploymentSpec:
- --function_to_execute
- preprocess
command:
- _RUNTIME=true
- sh
- -c
- "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\
\ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.1'\
\ && \"$0\" \"$@\"\n"
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.1.2\
\ --no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"3.9\"' && \"\
$0\" \"$@\"\n"
- sh
- -ec
- 'program_path=$(mktemp -d)
Expand Down Expand Up @@ -171,4 +173,4 @@ root:
output_parameter_path:
parameterType: STRING
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.1
sdkVersion: kfp-2.1.2
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,14 @@ deploymentSpec:
- --function_to_execute
- component_op
command:
- _RUNTIME=true
- sh
- -c
- "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\
\ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.1'\
\ && \"$0\" \"$@\"\n"
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.1.2\
\ --no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"3.9\"' && \"\
$0\" \"$@\"\n"
- sh
- -ec
- 'program_path=$(mktemp -d)
Expand Down Expand Up @@ -68,4 +70,4 @@ root:
taskInfo:
name: component-op
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.1
sdkVersion: kfp-2.1.2
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ deploymentSpec:
- --function_to_execute
- component_op
command:
- _RUNTIME=true
- sh
- -c
- "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\
\ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\
\ python3 -m pip install --quiet --no-warn-script-location --index-url\
\ https://pypi.org/simple --trusted-host https://pypi.org/simple 'yapf'\
\ 'kfp==2.0.1' && \"$0\" \"$@\"\n"
\ 'kfp==2.1.2 --no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"\
3.9\"' && \"$0\" \"$@\"\n"
- sh
- -ec
- 'program_path=$(mktemp -d)
Expand All @@ -45,4 +47,4 @@ root:
taskInfo:
name: component-op
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.1
sdkVersion: kfp-2.1.2
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,14 @@ deploymentSpec:
- --function_to_execute
- python_artifact_printer
command:
- _RUNTIME=true
- sh
- -c
- "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\
\ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.1'\
\ && \"$0\" \"$@\"\n"
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.1.2\
\ --no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"3.9\"' && \"\
$0\" \"$@\"\n"
- sh
- -ec
- 'program_path=$(mktemp -d)
Expand All @@ -151,12 +153,14 @@ deploymentSpec:
- --function_to_execute
- python_artifact_printer
command:
- _RUNTIME=true
- sh
- -c
- "\nif ! [ -x \"$(command -v pip)\" ]; then\n python3 -m ensurepip ||\
\ python3 -m ensurepip --user || apt-get install python3-pip\nfi\n\nPIP_DISABLE_PIP_VERSION_CHECK=1\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.1'\
\ && \"$0\" \"$@\"\n"
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.1.2\
\ --no-deps' 'typing-extensions>=3.7.4,<5; python_version<\"3.9\"' && \"\
$0\" \"$@\"\n"
- sh
- -ec
- 'program_path=$(mktemp -d)
Expand Down Expand Up @@ -237,4 +241,4 @@ root:
schemaVersion: 0.0.1
isOptional: true
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.1
sdkVersion: kfp-2.1.2
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ root:
taskInfo:
name: hello-world-container
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-rc.2
sdkVersion: kfp-2.1.2
Loading

0 comments on commit 89a1c33

Please sign in to comment.