Skip to content

Commit

Permalink
Modify tests
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeMoussalli committed Oct 16, 2023
1 parent 2f86313 commit b37a727
Show file tree
Hide file tree
Showing 5 changed files with 194 additions and 229 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,22 +86,20 @@ deploymentSpec:
exec-first-component:
container:
args:
- "--input_manifest_path"
- "{{$.inputs.parameters['input_manifest_path']}}"
- "--component_spec"
- "{{$.inputs.parameters['component_spec']}}"
- "--input_partition_rows"
- "{{$.inputs.parameters['input_partition_rows']}}"
- "--cache"
- "{{$.inputs.parameters['cache']}}"
- "--cluster_type"
- "{{$.inputs.parameters['cluster_type']}}"
- "--metadata"
- "{{$.inputs.parameters['metadata']}}"
- "--output_manifest_path"
- "{{$.inputs.parameters['output_manifest_path']}}"
- "--storage_args"
- "{{$.inputs.parameters['storage_args']}}"
- --storage_args
- '{{$.inputs.parameters[''storage_args'']}}'
- --input_partition_rows
- '{{$.inputs.parameters[''input_partition_rows'']}}'
- --cache
- '{{$.inputs.parameters[''cache'']}}'
- --cluster_type
- '{{$.inputs.parameters[''cluster_type'']}}'
- --component_spec
- '{{$.inputs.parameters[''component_spec'']}}'
- --output_manifest_path
- '{{$.inputs.parameters[''output_manifest_path'']}}'
- --metadata
- '{{$.inputs.parameters[''metadata'']}}'
command:
- fondant
- execute
Expand All @@ -113,22 +111,22 @@ deploymentSpec:
exec-second-component:
container:
args:
- "--input_manifest_path"
- "{{$.inputs.parameters['input_manifest_path']}}"
- "--component_spec"
- "{{$.inputs.parameters['component_spec']}}"
- "--input_partition_rows"
- "{{$.inputs.parameters['input_partition_rows']}}"
- "--cache"
- "{{$.inputs.parameters['cache']}}"
- "--cluster_type"
- "{{$.inputs.parameters['cluster_type']}}"
- "--metadata"
- "{{$.inputs.parameters['metadata']}}"
- "--output_manifest_path"
- "{{$.inputs.parameters['output_manifest_path']}}"
- "--storage_args"
- "{{$.inputs.parameters['storage_args']}}"
- --storage_args
- '{{$.inputs.parameters[''storage_args'']}}'
- --input_partition_rows
- '{{$.inputs.parameters[''input_partition_rows'']}}'
- --cache
- '{{$.inputs.parameters[''cache'']}}'
- --cluster_type
- '{{$.inputs.parameters[''cluster_type'']}}'
- --component_spec
- '{{$.inputs.parameters[''component_spec'']}}'
- --output_manifest_path
- '{{$.inputs.parameters[''output_manifest_path'']}}'
- --metadata
- '{{$.inputs.parameters[''metadata'']}}'
- --input_manifest_path
- '{{$.inputs.parameters[''input_manifest_path'']}}'
command:
- fondant
- execute
Expand All @@ -137,22 +135,20 @@ deploymentSpec:
exec-third-component:
container:
args:
- "--input_manifest_path"
- "{{$.inputs.parameters['input_manifest_path']}}"
- "--component_spec"
- "{{$.inputs.parameters['component_spec']}}"
- "--input_partition_rows"
- "{{$.inputs.parameters['input_partition_rows']}}"
- "--cache"
- "{{$.inputs.parameters['cache']}}"
- "--cluster_type"
- "{{$.inputs.parameters['cluster_type']}}"
- "--metadata"
- "{{$.inputs.parameters['metadata']}}"
- "--output_manifest_path"
- "{{$.inputs.parameters['output_manifest_path']}}"
- "--storage_args"
- "{{$.inputs.parameters['storage_args']}}"
- --storage_args
- '{{$.inputs.parameters[''storage_args'']}}'
- --cache
- '{{$.inputs.parameters[''cache'']}}'
- --cluster_type
- '{{$.inputs.parameters[''cluster_type'']}}'
- --component_spec
- '{{$.inputs.parameters[''component_spec'']}}'
- --output_manifest_path
- '{{$.inputs.parameters[''output_manifest_path'']}}'
- --metadata
- '{{$.inputs.parameters[''metadata'']}}'
- --input_manifest_path
- '{{$.inputs.parameters[''input_manifest_path'']}}'
command:
- fondant
- execute
Expand Down Expand Up @@ -197,15 +193,15 @@ root:
type: binary
input_partition_rows:
runtimeValue:
constant: 10
constant: 10.0
metadata:
runtimeValue:
constant: '{"base_path": "/foo/bar", "pipeline_name": "testpipeline",
"run_id": "testpipeline-20230101000000", "component_id": "first_component",
"cache_key": "1"}'
output_manifest_path:
runtimeValue:
constant: "/foo/bar/testpipeline/testpipeline-20230101000000/first_component/manifest.json"
constant: /foo/bar/testpipeline/testpipeline-20230101000000/first_component/manifest.json
storage_args:
runtimeValue:
constant: a dummy string arg
Expand Down Expand Up @@ -249,18 +245,18 @@ root:
type: array
input_manifest_path:
runtimeValue:
constant: "/foo/bar/testpipeline/testpipeline-20230101000000/first_component/manifest.json"
constant: /foo/bar/testpipeline/testpipeline-20230101000000/first_component/manifest.json
input_partition_rows:
runtimeValue:
constant: 10
constant: 10.0
metadata:
runtimeValue:
constant: '{"base_path": "/foo/bar", "pipeline_name": "testpipeline",
"run_id": "testpipeline-20230101000000", "component_id": "second_component",
"cache_key": "2"}'
output_manifest_path:
runtimeValue:
constant: "/foo/bar/testpipeline/testpipeline-20230101000000/second_component/manifest.json"
constant: /foo/bar/testpipeline/testpipeline-20230101000000/second_component/manifest.json
storage_args:
runtimeValue:
constant: a dummy string arg
Expand Down Expand Up @@ -313,15 +309,15 @@ root:
type: binary
input_manifest_path:
runtimeValue:
constant: "/foo/bar/testpipeline/testpipeline-20230101000000/second_component/manifest.json"
constant: /foo/bar/testpipeline/testpipeline-20230101000000/second_component/manifest.json
metadata:
runtimeValue:
constant: '{"base_path": "/foo/bar", "pipeline_name": "testpipeline",
"run_id": "testpipeline-20230101000000", "component_id": "third_component",
"cache_key": "3"}'
output_manifest_path:
runtimeValue:
constant: "/foo/bar/testpipeline/testpipeline-20230101000000/third_component/manifest.json"
constant: /foo/bar/testpipeline/testpipeline-20230101000000/third_component/manifest.json
storage_args:
runtimeValue:
constant: a dummy string arg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,22 +85,20 @@ deploymentSpec:
exec-first-component:
container:
args:
- "--input_manifest_path"
- "{{$.inputs.parameters['input_manifest_path']}}"
- "--component_spec"
- "{{$.inputs.parameters['component_spec']}}"
- "--input_partition_rows"
- "{{$.inputs.parameters['input_partition_rows']}}"
- "--cache"
- "{{$.inputs.parameters['cache']}}"
- "--cluster_type"
- "{{$.inputs.parameters['cluster_type']}}"
- "--metadata"
- "{{$.inputs.parameters['metadata']}}"
- "--output_manifest_path"
- "{{$.inputs.parameters['output_manifest_path']}}"
- "--storage_args"
- "{{$.inputs.parameters['storage_args']}}"
- --storage_args
- '{{$.inputs.parameters[''storage_args'']}}'
- --input_partition_rows
- '{{$.inputs.parameters[''input_partition_rows'']}}'
- --cache
- '{{$.inputs.parameters[''cache'']}}'
- --cluster_type
- '{{$.inputs.parameters[''cluster_type'']}}'
- --component_spec
- '{{$.inputs.parameters[''component_spec'']}}'
- --output_manifest_path
- '{{$.inputs.parameters[''output_manifest_path'']}}'
- --metadata
- '{{$.inputs.parameters[''metadata'']}}'
command:
- fondant
- execute
Expand All @@ -109,22 +107,22 @@ deploymentSpec:
exec-second-component:
container:
args:
- "--input_manifest_path"
- "{{$.inputs.parameters['input_manifest_path']}}"
- "--component_spec"
- "{{$.inputs.parameters['component_spec']}}"
- "--input_partition_rows"
- "{{$.inputs.parameters['input_partition_rows']}}"
- "--cache"
- "{{$.inputs.parameters['cache']}}"
- "--cluster_type"
- "{{$.inputs.parameters['cluster_type']}}"
- "--metadata"
- "{{$.inputs.parameters['metadata']}}"
- "--output_manifest_path"
- "{{$.inputs.parameters['output_manifest_path']}}"
- "--storage_args"
- "{{$.inputs.parameters['storage_args']}}"
- --storage_args
- '{{$.inputs.parameters[''storage_args'']}}'
- --input_partition_rows
- '{{$.inputs.parameters[''input_partition_rows'']}}'
- --cache
- '{{$.inputs.parameters[''cache'']}}'
- --cluster_type
- '{{$.inputs.parameters[''cluster_type'']}}'
- --component_spec
- '{{$.inputs.parameters[''component_spec'']}}'
- --output_manifest_path
- '{{$.inputs.parameters[''output_manifest_path'']}}'
- --metadata
- '{{$.inputs.parameters[''metadata'']}}'
- --input_manifest_path
- '{{$.inputs.parameters[''input_manifest_path'']}}'
command:
- fondant
- execute
Expand All @@ -133,22 +131,20 @@ deploymentSpec:
exec-third-component:
container:
args:
- "--input_manifest_path"
- "{{$.inputs.parameters['input_manifest_path']}}"
- "--component_spec"
- "{{$.inputs.parameters['component_spec']}}"
- "--input_partition_rows"
- "{{$.inputs.parameters['input_partition_rows']}}"
- "--cache"
- "{{$.inputs.parameters['cache']}}"
- "--cluster_type"
- "{{$.inputs.parameters['cluster_type']}}"
- "--metadata"
- "{{$.inputs.parameters['metadata']}}"
- "--output_manifest_path"
- "{{$.inputs.parameters['output_manifest_path']}}"
- "--storage_args"
- "{{$.inputs.parameters['storage_args']}}"
- --storage_args
- '{{$.inputs.parameters[''storage_args'']}}'
- --cache
- '{{$.inputs.parameters[''cache'']}}'
- --cluster_type
- '{{$.inputs.parameters[''cluster_type'']}}'
- --component_spec
- '{{$.inputs.parameters[''component_spec'']}}'
- --output_manifest_path
- '{{$.inputs.parameters[''output_manifest_path'']}}'
- --metadata
- '{{$.inputs.parameters[''metadata'']}}'
- --input_manifest_path
- '{{$.inputs.parameters[''input_manifest_path'']}}'
command:
- fondant
- execute
Expand Down Expand Up @@ -201,7 +197,7 @@ root:
"cache_key": "1"}'
output_manifest_path:
runtimeValue:
constant: "/foo/bar/testpipeline/testpipeline-20230101000000/first_component/manifest.json"
constant: /foo/bar/testpipeline/testpipeline-20230101000000/first_component/manifest.json
storage_args:
runtimeValue:
constant: a dummy string arg
Expand Down Expand Up @@ -245,7 +241,7 @@ root:
type: array
input_manifest_path:
runtimeValue:
constant: "/foo/bar/testpipeline/testpipeline-20230101000000/first_component/manifest.json"
constant: /foo/bar/testpipeline/testpipeline-20230101000000/first_component/manifest.json
input_partition_rows:
runtimeValue:
constant: 10.0
Expand All @@ -256,7 +252,7 @@ root:
"cache_key": "2"}'
output_manifest_path:
runtimeValue:
constant: "/foo/bar/testpipeline/testpipeline-20230101000000/second_component/manifest.json"
constant: /foo/bar/testpipeline/testpipeline-20230101000000/second_component/manifest.json
storage_args:
runtimeValue:
constant: a dummy string arg
Expand Down Expand Up @@ -309,15 +305,15 @@ root:
type: binary
input_manifest_path:
runtimeValue:
constant: "/foo/bar/testpipeline/testpipeline-20230101000000/second_component/manifest.json"
constant: /foo/bar/testpipeline/testpipeline-20230101000000/second_component/manifest.json
metadata:
runtimeValue:
constant: '{"base_path": "/foo/bar", "pipeline_name": "testpipeline",
"run_id": "testpipeline-20230101000000", "component_id": "third_component",
"cache_key": "3"}'
output_manifest_path:
runtimeValue:
constant: "/foo/bar/testpipeline/testpipeline-20230101000000/third_component/manifest.json"
constant: /foo/bar/testpipeline/testpipeline-20230101000000/third_component/manifest.json
storage_args:
runtimeValue:
constant: a dummy string arg
Expand Down
Loading

0 comments on commit b37a727

Please sign in to comment.