chore: remove 'dummy_root' in test samples (#9640)

* remove 'dummy_root' in test samples

* more cleanup
This commit is contained in:
Chen Sun 2023-06-21 16:51:41 -07:00 committed by GitHub
parent 6dfcd533f4
commit a727783abd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
71 changed files with 174 additions and 202 deletions

View File

@ -237,7 +237,7 @@ components:
artifactType:
schemaTitle: system.Artifact
schemaVersion: 0.0.1
defaultPipelineRoot: dummy_root
defaultPipelineRoot: minio://dummy_root
deploymentSpec:
executors:
exec-chicago-taxi-trips-dataset:

View File

@ -233,4 +233,4 @@ root:
enableCache: true
componentRef:
name: comp-preprocess
defaultPipelineRoot: dummy_root
defaultPipelineRoot: minio://dummy_root

View File

@ -87,7 +87,7 @@ components:
parameters:
output_1:
parameterType: NUMBER_INTEGER
defaultPipelineRoot: dummy_root
defaultPipelineRoot: minio://dummy_root
deploymentSpec:
executors:
exec-downstream:

View File

@ -198,7 +198,7 @@ components:
artifactType:
schemaTitle: system.Artifact
schemaVersion: 0.0.1
defaultPipelineRoot: dummy_root
defaultPipelineRoot: mino://dummy_root
deploymentSpec:
executors:
exec-chicago-taxi-trips-dataset:

View File

@ -233,4 +233,4 @@ root:
enableCache: true
componentRef:
name: comp-preprocess
defaultPipelineRoot: dummy_root
defaultPipelineRoot: minio://dummy_root

View File

@ -198,7 +198,7 @@ components:
artifactType:
schemaTitle: system.Artifact
schemaVersion: 0.0.1
defaultPipelineRoot: dummy_root
defaultPipelineRoot: minio://dummy_root
deploymentSpec:
executors:
exec-chicago-taxi-trips-dataset:

View File

@ -554,7 +554,7 @@ describe('NewRunV2', () => {
pipeline_id: ORIGINAL_TEST_PIPELINE_ID,
pipeline_version_id: ORIGINAL_TEST_PIPELINE_VERSION_ID,
},
runtime_config: { parameters: {}, pipeline_root: 'dummy_root' },
runtime_config: { parameters: {}, pipeline_root: 'minio://dummy_root' },
service_account: '',
}),
);

View File

@ -42,6 +42,4 @@ def my_pipeline():
if __name__ == '__main__':
compiler.Compiler().compile(
pipeline_func=my_pipeline,
pipeline_root='dummy_root',
output_path=__file__ + '.json')
pipeline_func=my_pipeline, output_path=__file__ + '.json')

View File

@ -47,7 +47,7 @@ implementation:
""")
@dsl.pipeline(name='pipeline-with-env', pipeline_root='dummy_root')
@dsl.pipeline(name='pipeline-with-env')
def pipeline_with_env():
print_env_op().set_env_variable(name='ENV1', value='val1')
print_env_2_op().set_env_variable(
@ -57,5 +57,4 @@ def pipeline_with_env():
if __name__ == '__main__':
compiler.Compiler().compile(
pipeline_func=pipeline_with_env,
package_path='pipeline_with_env.yaml')
pipeline_func=pipeline_with_env, package_path='pipeline_with_env.yaml')

View File

@ -192,7 +192,7 @@ class TestCompilePipeline(parameterized.TestCase):
' type "system.Model@0.0.1" cannot be paired with InputValuePlaceholder.'
):
@dsl.pipeline(name='test-pipeline', pipeline_root='dummy_root')
@dsl.pipeline(name='test-pipeline')
def my_pipeline():
downstream_op(model=upstream_op().output)
@ -213,7 +213,7 @@ class TestCompilePipeline(parameterized.TestCase):
TypeError,
' type "String" cannot be paired with InputPathPlaceholder.'):
@dsl.pipeline(name='test-pipeline', pipeline_root='dummy_root')
@dsl.pipeline(name='test-pipeline')
def my_pipeline(text: str):
component_op(text=text)
@ -222,7 +222,7 @@ class TestCompilePipeline(parameterized.TestCase):
with self.assertRaisesRegex(ValueError,
'Task is missing from pipeline.'):
@dsl.pipeline(name='test-pipeline', pipeline_root='dummy_root')
@dsl.pipeline(name='test-pipeline')
def my_pipeline(text: str):
pass
@ -243,7 +243,7 @@ class TestCompilePipeline(parameterized.TestCase):
TypeError,
' type "Float" cannot be paired with InputUriPlaceholder.'):
@dsl.pipeline(name='test-pipeline', pipeline_root='dummy_root')
@dsl.pipeline(name='test-pipeline')
def my_pipeline(value: float):
component_op(value=value)
@ -264,7 +264,7 @@ class TestCompilePipeline(parameterized.TestCase):
TypeError,
' type "Integer" cannot be paired with OutputUriPlaceholder.'):
@dsl.pipeline(name='test-pipeline', pipeline_root='dummy_root')
@dsl.pipeline(name='test-pipeline')
def my_pipeline():
component_op()

View File

@ -29,7 +29,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -68,4 +68,4 @@ root:
taskInfo:
name: component-op
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -19,7 +19,7 @@ deploymentSpec:
\ 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.0-beta.16' && \"$0\" \"$@\"\n"
\ 'kfp==2.0.0-rc.2' && \"$0\" \"$@\"\n"
- sh
- -ec
- 'program_path=$(mktemp -d)
@ -45,4 +45,4 @@ root:
taskInfo:
name: component-op
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -126,7 +126,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -155,7 +155,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -237,4 +237,4 @@ root:
schemaVersion: 0.0.1
isOptional: true
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -24,4 +24,4 @@ root:
taskInfo:
name: hello-world-container
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -120,7 +120,7 @@ def train(
model.metadata['accuracy'] = 0.9
@dsl.pipeline(pipeline_root='dummy_root', name='my-test-pipeline-beta')
@dsl.pipeline(name='my-test-pipeline-beta')
def pipeline(message: str, input_dict: Dict[str, int] = {'A': 1, 'B': 2}):
preprocess_task = preprocess(

View File

@ -64,7 +64,6 @@ components:
artifactType:
schemaTitle: system.Model
schemaVersion: 0.0.1
defaultPipelineRoot: dummy_root
deploymentSpec:
executors:
exec-preprocess:
@ -79,7 +78,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -131,7 +130,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -239,4 +238,4 @@ root:
message:
parameterType: STRING
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -67,7 +67,7 @@ def output_named_tuple(
return output(scalar, metrics, model)
@dsl.pipeline(pipeline_root='dummy_root', name='functions-with-outputs')
@dsl.pipeline(name='functions-with-outputs')
def pipeline(first_message: str, second_message: str, first_number: int,
second_number: int):
concat_op = concat_message(first=first_message, second=second_message)

View File

@ -67,7 +67,6 @@ components:
parameters:
scalar:
parameterType: STRING
defaultPipelineRoot: dummy_root
deploymentSpec:
executors:
exec-add-numbers:
@ -82,7 +81,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -109,7 +108,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -136,7 +135,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -163,7 +162,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -274,4 +273,4 @@ root:
schemaTitle: system.Metrics
schemaVersion: 0.0.1
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -129,7 +129,7 @@ deploymentSpec:
- -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.0-beta.17'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -156,7 +156,7 @@ deploymentSpec:
- -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.0-beta.17'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -183,7 +183,7 @@ deploymentSpec:
- -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.0-beta.17'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -210,7 +210,7 @@ deploymentSpec:
- -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.0-beta.17'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -262,4 +262,4 @@ root:
isOptional: true
parameterType: STRING
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.17
sdkVersion: kfp-2.0.0-rc.2

View File

@ -74,7 +74,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -101,7 +101,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -152,4 +152,4 @@ root:
taskInfo:
name: print-op1
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -161,7 +161,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -188,7 +188,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -241,4 +241,4 @@ root:
isOptional: true
parameterType: STRING
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -152,7 +152,7 @@ deploymentSpec:
- -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.0-beta.14'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.1'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -179,7 +179,7 @@ deploymentSpec:
- -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.0-beta.14'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.1'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -206,7 +206,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -264,4 +264,4 @@ root:
taskInfo:
name: print-op1
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -33,7 +33,7 @@ implementation:
""")
@dsl.pipeline(name='pipeline-with-after', pipeline_root='dummy_root')
@dsl.pipeline(name='pipeline-with-after')
def my_pipeline():
task1 = component_op(text='1st task')
task2 = component_op(text='2nd task').after(task1)

View File

@ -19,7 +19,6 @@ components:
parameters:
text:
parameterType: STRING
defaultPipelineRoot: dummy_root
deploymentSpec:
executors:
exec-print-text:
@ -105,4 +104,4 @@ root:
taskInfo:
name: print-text-3
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -23,9 +23,7 @@ component_op = components.load_component_from_file(
str(test_data_dir / 'concat_placeholder_component.yaml'))
@dsl.pipeline(
name='one-step-pipeline-with-concat-placeholder',
pipeline_root='dummy_root')
@dsl.pipeline(name='one-step-pipeline-with-concat-placeholder')
def my_pipeline():
component = component_op(input_prefix='some prefix:')

View File

@ -7,7 +7,6 @@ components:
parameters:
input_prefix:
parameterType: STRING
defaultPipelineRoot: dummy_root
deploymentSpec:
executors:
exec-component-with-concat-placeholder:
@ -34,4 +33,4 @@ root:
taskInfo:
name: component-with-concat-placeholder
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -31,7 +31,7 @@ def print_op(msg: str):
print(msg)
@dsl.pipeline(name='single-condition-pipeline', pipeline_root='dummy_root')
@dsl.pipeline(name='single-condition-pipeline')
def my_pipeline(text: str = 'condition test'):
flip1 = flip_coin_op().set_caching_options(False)
print_op(msg=flip1.output)

View File

@ -74,7 +74,6 @@ components:
parameters:
msg:
parameterType: STRING
defaultPipelineRoot: dummy_root
deploymentSpec:
executors:
exec-flip-coin-op:
@ -89,7 +88,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -117,7 +116,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -145,7 +144,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -172,7 +171,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -199,7 +198,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -265,4 +264,4 @@ root:
isOptional: true
parameterType: STRING
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -27,7 +27,7 @@ def make_name(name: str) -> str:
return name
@dsl.pipeline(name='pipeline-with-importer', pipeline_root='dummy_root')
@dsl.pipeline(name='pipeline-with-importer')
def my_pipeline(name: str = 'default-name',
int_input: int = 1,
pipeline_input_artifact_uri: str = DEFAULT_ARTIFACT_URI,

View File

@ -50,7 +50,6 @@ components:
parameters:
Output:
parameterType: STRING
defaultPipelineRoot: dummy_root
deploymentSpec:
executors:
exec-importer:
@ -95,7 +94,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -182,4 +181,4 @@ root:
isOptional: true
parameterType: STRING
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -44,7 +44,7 @@ implementation:
""")
@dsl.pipeline(name='pipeline-with-env', pipeline_root='dummy_root')
@dsl.pipeline(name='pipeline-with-env')
def my_pipeline():
print_env_op().set_env_variable(name='ENV1', value='val1')
print_env_2_op().set_env_variable(

View File

@ -5,7 +5,6 @@ components:
executorLabel: exec-print-env
comp-print-env-op:
executorLabel: exec-print-env-op
defaultPipelineRoot: dummy_root
deploymentSpec:
executors:
exec-print-env:
@ -42,7 +41,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -80,4 +79,4 @@ root:
taskInfo:
name: print-env-op
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -65,7 +65,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -92,7 +92,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -119,7 +119,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -171,4 +171,4 @@ root:
isOptional: true
parameterType: STRING
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -57,7 +57,7 @@ deploymentSpec:
- "\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 'aiplatform'\
\ 'kfp==2.0.0-beta.16' 'kfp==2.0.0-beta.16' && \"$0\" \"$@\"\n"
\ 'kfp==2.0.0-rc.2' 'kfp==2.0.0-rc.2' && \"$0\" \"$@\"\n"
- sh
- -ec
- 'program_path=$(mktemp -d)
@ -90,7 +90,7 @@ deploymentSpec:
- "\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 'aiplatform'\
\ 'kfp==2.0.0-beta.16' && \"$0\" \"$@\"\n"
\ 'kfp==2.0.0-rc.2' && \"$0\" \"$@\"\n"
- sh
- -ec
- 'program_path=$(mktemp -d)
@ -150,4 +150,4 @@ root:
taskInfo:
name: model-producer
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -23,8 +23,7 @@ component_op = components.load_component_from_file(
str(test_data_dir / 'if_placeholder_component.yaml'))
@dsl.pipeline(
name='one-step-pipeline-with-if-placeholder', pipeline_root='dummy_root')
@dsl.pipeline(name='one-step-pipeline-with-if-placeholder')
def my_pipeline(input0: str, input1: str, input2: str):
# supply only optional_input_1 but not optional_input_2
component = component_op(required_input=input0, optional_input_1=input1)

View File

@ -17,7 +17,6 @@ components:
parameterType: STRING
required_input:
parameterType: STRING
defaultPipelineRoot: dummy_root
deploymentSpec:
executors:
exec-component-with-optional-inputs:
@ -56,4 +55,4 @@ root:
input2:
parameterType: STRING
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -49,7 +49,7 @@ def pass_through_op(value: str) -> str:
return value
@dsl.pipeline(name='pipeline-with-importer', pipeline_root='dummy_root')
@dsl.pipeline(name='pipeline-with-importer')
def my_pipeline(dataset2: str = 'gs://ml-pipeline-playground/shakespeare2.txt'):
importer1 = importer(

View File

@ -96,7 +96,6 @@ components:
parameters:
scalar:
parameterType: STRING
defaultPipelineRoot: dummy_root
deploymentSpec:
executors:
exec-importer:
@ -128,7 +127,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -160,7 +159,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -236,4 +235,4 @@ root:
isOptional: true
parameterType: STRING
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -38,8 +38,7 @@ implementation:
""")
@dsl.pipeline(
name='pipeline-with-importer-and-gcpc-type', pipeline_root='dummy_root')
@dsl.pipeline(name='pipeline-with-importer-and-gcpc-type')
def my_pipeline():
importer1 = importer(

View File

@ -21,7 +21,6 @@ components:
artifactType:
schemaTitle: google.VertexDataset
schemaVersion: 0.0.1
defaultPipelineRoot: dummy_root
deploymentSpec:
executors:
exec-consumer-op:
@ -73,4 +72,4 @@ root:
taskInfo:
name: importer
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -171,7 +171,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -198,7 +198,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -224,7 +224,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -250,7 +250,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -276,7 +276,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -302,7 +302,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -328,7 +328,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -354,7 +354,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -424,4 +424,4 @@ root:
loop_parameter:
parameterType: LIST
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -602,7 +602,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -631,7 +631,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -660,7 +660,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -688,7 +688,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -714,7 +714,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -741,7 +741,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -768,7 +768,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -795,7 +795,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -822,7 +822,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -849,7 +849,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -876,7 +876,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -903,7 +903,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -930,7 +930,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -1022,4 +1022,4 @@ root:
isOptional: true
parameterType: STRING
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -60,7 +60,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -95,7 +95,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -172,4 +172,4 @@ root:
schemaVersion: 0.0.1
description: The final concatenated dataset.
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -28,7 +28,7 @@ def output_metrics(metrics: Output[Metrics]):
metrics.log_metric('accuracy', result)
@dsl.pipeline(name='pipeline-with-metrics-outputs', pipeline_root='dummy_root')
@dsl.pipeline(name='pipeline-with-metrics-outputs')
def my_pipeline():
output_metrics()

View File

@ -46,7 +46,6 @@ components:
artifactType:
schemaTitle: system.Metrics
schemaVersion: 0.0.1
defaultPipelineRoot: dummy_root
deploymentSpec:
executors:
exec-output-metrics:
@ -61,7 +60,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -90,7 +89,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -149,4 +148,4 @@ root:
schemaTitle: system.Metrics
schemaVersion: 0.0.1
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -125,7 +125,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -152,7 +152,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -179,7 +179,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -206,7 +206,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -233,7 +233,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -260,7 +260,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -287,7 +287,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -389,4 +389,4 @@ root:
isOptional: true
parameterType: STRING
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -147,7 +147,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -175,7 +175,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -203,7 +203,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -231,7 +231,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -259,7 +259,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -286,7 +286,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -313,7 +313,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -340,7 +340,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -426,4 +426,4 @@ root:
taskInfo:
name: print-op-2
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -68,7 +68,6 @@ print_op = components.load_component_from_text("""
@dsl.pipeline(
name='conditional-execution-pipeline',
display_name='Conditional execution pipeline.',
pipeline_root='dummy_root',
description='Shows how to use dsl.Condition().')
def my_pipeline():
flip = flip_coin_op()

View File

@ -240,7 +240,6 @@ components:
parameters:
msg:
parameterType: STRING
defaultPipelineRoot: dummy_root
deploymentSpec:
executors:
exec-flip-coin:
@ -348,4 +347,4 @@ root:
taskInfo:
name: flip-coin
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -1,7 +1,7 @@
# PIPELINE DEFINITION
# Name: pipeline-with-nested-loops
# Inputs:
# loop_parameter: list [Default: [{'p_b': 'hello', 'p_a': [{'q_a': '1'}, {'q_a': '2'}]}, {'p_b': 'halo', 'p_a': [{'q_a': '11'}, {'q_a': '22'}]}]]
# loop_parameter: list [Default: [{'p_a': [{'q_a': '1'}, {'q_a': '2'}], 'p_b': 'hello'}, {'p_a': [{'q_a': '11'}, {'q_a': '22'}], 'p_b': 'halo'}]]
components:
comp-for-loop-1:
dag:
@ -145,7 +145,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -172,7 +172,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -199,7 +199,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -256,4 +256,4 @@ root:
isOptional: true
parameterType: LIST
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -29,7 +29,6 @@ training_op = components.load_component_from_file(
@dsl.pipeline(
name='two-step-pipeline-with-ontology',
pipeline_root='dummy_root',
description='A linear two-step pipeline with artifact ontology types.')
def my_pipeline(input_location: str = 'gs://test-bucket/pipeline_root',
optimizer: str = 'sgd',

View File

@ -37,7 +37,6 @@ components:
artifactType:
schemaTitle: system.Model
schemaVersion: 0.0.1
defaultPipelineRoot: dummy_root
deploymentSpec:
executors:
exec-ingestion:
@ -112,4 +111,4 @@ root:
isOptional: true
parameterType: STRING
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -104,7 +104,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -131,7 +131,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -203,4 +203,4 @@ root:
schemaTitle: system.Artifact
schemaVersion: 0.0.1
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -179,7 +179,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -205,7 +205,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -231,7 +231,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -257,7 +257,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -283,7 +283,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -309,7 +309,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -357,4 +357,4 @@ root:
loop_parameter:
parameterType: LIST
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -74,7 +74,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -101,7 +101,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -128,7 +128,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -201,4 +201,4 @@ root:
isOptional: true
parameterType: STRING
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -55,7 +55,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -81,7 +81,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -107,7 +107,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -133,7 +133,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -159,7 +159,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -254,4 +254,4 @@ root:
taskInfo:
name: print-op-5
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -29,7 +29,6 @@ training_op = components.load_component_from_file(
@dsl.pipeline(
name='two-step-pipeline-with-resource-spec',
pipeline_root='dummy_root',
description='A linear two-step pipeline with resource specification.')
def my_pipeline(input_location: str = 'gs://test-bucket/pipeline_root',
optimizer: str = 'sgd',

View File

@ -37,7 +37,6 @@ components:
artifactType:
schemaTitle: system.Model
schemaVersion: 0.0.1
defaultPipelineRoot: dummy_root
deploymentSpec:
executors:
exec-ingestion:
@ -120,4 +119,4 @@ root:
isOptional: true
parameterType: STRING
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -30,7 +30,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -78,4 +78,4 @@ root:
isOptional: true
parameterType: NUMBER_DOUBLE
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -23,7 +23,7 @@ add_op = components.load_component_from_file(
str(test_data_dir / 'add_component.yaml'))
@dsl.pipeline(name='add-pipeline', pipeline_root='dummy_root')
@dsl.pipeline(name='add-pipeline')
def my_pipeline(
a: int = 2,
b: int = 5,

View File

@ -40,7 +40,6 @@ components:
parameters:
sum:
parameterType: NUMBER_INTEGER
defaultPipelineRoot: dummy_root
deploymentSpec:
executors:
exec-add:
@ -150,4 +149,4 @@ root:
isOptional: true
parameterType: NUMBER_INTEGER
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -68,7 +68,7 @@ deploymentSpec:
- -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.0-beta.17'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -99,7 +99,7 @@ deploymentSpec:
- -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.0-beta.17'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -126,7 +126,7 @@ deploymentSpec:
- -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.0-beta.17'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -180,4 +180,4 @@ root:
isOptional: true
parameterType: STRING
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.17
sdkVersion: kfp-2.0.0-rc.2

View File

@ -92,4 +92,4 @@ root:
isOptional: true
parameterType: STRING
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.17
sdkVersion: kfp-2.0.0-rc.2

View File

@ -35,7 +35,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -62,7 +62,7 @@ deploymentSpec:
- -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.0-beta.16'\
\ python3 -m pip install --quiet --no-warn-script-location 'kfp==2.0.0-rc.2'\
\ && \"$0\" \"$@\"\n"
- sh
- -ec
@ -117,4 +117,4 @@ root:
isOptional: true
parameterType: STRING
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -80,7 +80,7 @@ implementation:
""")
@dsl.pipeline(name='pipeline-with-various-types', pipeline_root='dummy_root')
@dsl.pipeline(name='pipeline-with-various-types')
def my_pipeline(input1: str, input3: Input[Artifact], input4: str = ''):
component_1 = component_op_1(
input_1=input1,

View File

@ -96,7 +96,6 @@ components:
parameters:
output_1:
parameterType: NUMBER_INTEGER
defaultPipelineRoot: dummy_root
deploymentSpec:
executors:
exec-downstream:
@ -213,4 +212,4 @@ root:
isOptional: true
parameterType: STRING
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -52,7 +52,7 @@ implementation:
""")
@dsl.pipeline(name='simple-two-step-pipeline', pipeline_root='dummy_root')
@dsl.pipeline(name='simple-two-step-pipeline')
def my_pipeline(text: str = 'Hello world!'):
component_1 = component_op_1(text=text).set_display_name('Producer')
component_2 = component_op_2(

View File

@ -23,7 +23,6 @@ components:
artifactType:
schemaTitle: system.Artifact
schemaVersion: 0.0.1
defaultPipelineRoot: dummy_root
deploymentSpec:
executors:
exec-read-from-gcs:
@ -89,4 +88,4 @@ root:
isOptional: true
parameterType: STRING
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -78,4 +78,4 @@ root:
text:
parameterType: STRING
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2

View File

@ -36,7 +36,7 @@ xgboost_predict_on_parquet_op = components.load_component_from_url(
)
@dsl.pipeline(name='xgboost-sample-pipeline', pipeline_root='dummy_root')
@dsl.pipeline(name='xgboost-sample-pipeline')
def xgboost_pipeline():
training_data_csv = chicago_taxi_dataset_op(
where='trip_start_timestamp >= "2019-01-01" AND trip_start_timestamp < "2019-02-01"',

View File

@ -237,7 +237,6 @@ components:
artifactType:
schemaTitle: system.Artifact
schemaVersion: 0.0.1
defaultPipelineRoot: dummy_root
deploymentSpec:
executors:
exec-chicago-taxi-trips-dataset:
@ -924,4 +923,4 @@ root:
taskInfo:
name: xgboost-train-2
schemaVersion: 2.1.0
sdkVersion: kfp-2.0.0-beta.16
sdkVersion: kfp-2.0.0-rc.2