diff --git a/docs/examples/workflows/artifacts/artifact.md b/docs/examples/workflows/artifacts/artifact.md index a71105612..d71226a09 100644 --- a/docs/examples/workflows/artifacts/artifact.md +++ b/docs/examples/workflows/artifacts/artifact.md @@ -64,7 +64,7 @@ task, consumer, takes this artifact, places it at its own `/file` path, and prin script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -79,7 +79,7 @@ task, consumer, takes this artifact, places it at its own `/file` path, and prin script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/artifacts/artifact_with_fanout.md b/docs/examples/workflows/artifacts/artifact_with_fanout.md index bd25caa2f..2d44f7a66 100644 --- a/docs/examples/workflows/artifacts/artifact_with_fanout.md +++ b/docs/examples/workflows/artifacts/artifact_with_fanout.md @@ -85,7 +85,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -102,7 +102,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -121,7 +121,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/dags/any_success_all_fail.md b/docs/examples/workflows/dags/any_success_all_fail.md index 12b5a7052..d1931df65 100644 --- a/docs/examples/workflows/dags/any_success_all_fail.md +++ b/docs/examples/workflows/dags/any_success_all_fail.md @@ -83,7 +83,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -103,7 +103,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -120,7 +120,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/dags/callable_dag.md b/docs/examples/workflows/dags/callable_dag.md index de3684415..f4ad7e0be 100644 --- a/docs/examples/workflows/dags/callable_dag.md +++ b/docs/examples/workflows/dags/callable_dag.md @@ -65,7 +65,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/dags/callable_dag_with_param_get.md b/docs/examples/workflows/dags/callable_dag_with_param_get.md index 9519cd7e1..efa679f30 100644 --- a/docs/examples/workflows/dags/callable_dag_with_param_get.md +++ b/docs/examples/workflows/dags/callable_dag_with_param_get.md @@ -79,7 +79,7 @@ - examples.workflows.dags.callable_dag_with_param_get:hello_with_output command: - python - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' - dag: tasks: diff --git a/docs/examples/workflows/dags/complex_deps.md b/docs/examples/workflows/dags/complex_deps.md index 4934622b4..39a443ce9 100644 --- a/docs/examples/workflows/dags/complex_deps.md +++ b/docs/examples/workflows/dags/complex_deps.md @@ -75,7 +75,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/dags/conditional.md b/docs/examples/workflows/dags/conditional.md index 2d4281ef6..e0d0e1e6f 100644 --- a/docs/examples/workflows/dags/conditional.md +++ b/docs/examples/workflows/dags/conditional.md @@ -66,7 +66,7 @@ This example showcases conditional execution on success, failure, and error script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -80,7 +80,7 @@ This example showcases conditional execution on success, failure, and error script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -90,7 +90,7 @@ This example showcases conditional execution on success, failure, and error script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/dags/dag_conditional_on_task_status.md b/docs/examples/workflows/dags/dag_conditional_on_task_status.md index 1597f140c..f2833d0d7 100644 --- a/docs/examples/workflows/dags/dag_conditional_on_task_status.md +++ b/docs/examples/workflows/dags/dag_conditional_on_task_status.md @@ -62,7 +62,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -74,7 +74,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -84,7 +84,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/dags/dag_with_script_output_param_passing.md b/docs/examples/workflows/dags/dag_with_script_output_param_passing.md index 7237fa00e..82f2bd873 100644 --- a/docs/examples/workflows/dags/dag_with_script_output_param_passing.md +++ b/docs/examples/workflows/dags/dag_with_script_output_param_passing.md @@ -67,7 +67,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -81,7 +81,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/dags/dag_with_script_param_passing.md b/docs/examples/workflows/dags/dag_with_script_param_passing.md index 5f52b4d9e..cca385039 100644 --- a/docs/examples/workflows/dags/dag_with_script_param_passing.md +++ b/docs/examples/workflows/dags/dag_with_script_param_passing.md @@ -54,7 +54,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -67,7 +67,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/dags/on_exit.md b/docs/examples/workflows/dags/on_exit.md index cae26be6d..1a073f2a5 100644 --- a/docs/examples/workflows/dags/on_exit.md +++ b/docs/examples/workflows/dags/on_exit.md @@ -44,7 +44,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -74,7 +74,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/experimental/new_dag_decorator_artifacts.md b/docs/examples/workflows/experimental/new_dag_decorator_artifacts.md index eea81917b..d4c297b6e 100644 --- a/docs/examples/workflows/experimental/new_dag_decorator_artifacts.md +++ b/docs/examples/workflows/experimental/new_dag_decorator_artifacts.md @@ -95,7 +95,7 @@ value: /tmp/hera-outputs - name: hera__script_pydantic_io value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' - dag: tasks: diff --git a/docs/examples/workflows/experimental/new_dag_decorator_inner_dag.md b/docs/examples/workflows/experimental/new_dag_decorator_inner_dag.md index eae47501a..f718b856f 100644 --- a/docs/examples/workflows/experimental/new_dag_decorator_inner_dag.md +++ b/docs/examples/workflows/experimental/new_dag_decorator_inner_dag.md @@ -97,7 +97,7 @@ value: /tmp/hera-outputs - name: hera__script_pydantic_io value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' - inputs: parameters: @@ -119,7 +119,7 @@ value: /tmp/hera-outputs - name: hera__script_pydantic_io value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' - dag: tasks: diff --git a/docs/examples/workflows/experimental/new_dag_decorator_params.md b/docs/examples/workflows/experimental/new_dag_decorator_params.md index 598b241a4..4e8db0246 100644 --- a/docs/examples/workflows/experimental/new_dag_decorator_params.md +++ b/docs/examples/workflows/experimental/new_dag_decorator_params.md @@ -127,7 +127,7 @@ value: /tmp/hera-outputs - name: hera__script_pydantic_io value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' - inputs: parameters: @@ -152,7 +152,7 @@ value: /tmp/hera-outputs - name: hera__script_pydantic_io value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' - dag: tasks: diff --git a/docs/examples/workflows/experimental/new_decorators_basic_script.md b/docs/examples/workflows/experimental/new_decorators_basic_script.md index 76bec4cd6..f22872e9d 100644 --- a/docs/examples/workflows/experimental/new_decorators_basic_script.md +++ b/docs/examples/workflows/experimental/new_decorators_basic_script.md @@ -65,7 +65,7 @@ value: /tmp/hera-outputs - name: hera__script_pydantic_io value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' - inputs: parameters: @@ -89,7 +89,7 @@ value: /tmp/hera-outputs - name: hera__script_pydantic_io value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' ``` diff --git a/docs/examples/workflows/experimental/new_steps_decorator_with_parallel_steps.md b/docs/examples/workflows/experimental/new_steps_decorator_with_parallel_steps.md index 4b4536076..63f620193 100644 --- a/docs/examples/workflows/experimental/new_steps_decorator_with_parallel_steps.md +++ b/docs/examples/workflows/experimental/new_steps_decorator_with_parallel_steps.md @@ -101,7 +101,7 @@ value: /tmp/hera-outputs - name: hera__script_pydantic_io value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' - inputs: parameters: @@ -124,7 +124,7 @@ value: /tmp/hera-outputs - name: hera__script_pydantic_io value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' - inputs: parameters: diff --git a/docs/examples/workflows/experimental/script_annotations_artifact_custom_volume.md b/docs/examples/workflows/experimental/script_annotations_artifact_custom_volume.md index 9d756b41e..6e3093a41 100644 --- a/docs/examples/workflows/experimental/script_annotations_artifact_custom_volume.md +++ b/docs/examples/workflows/experimental/script_annotations_artifact_custom_volume.md @@ -8,12 +8,7 @@ This example will reuse the outputs volume across script steps. === "Hera" ```python linenums="1" - import sys - - if sys.version_info >= (3, 9): - from typing import Annotated - else: - from typing_extensions import Annotated + from typing import Annotated from hera.shared import global_config from hera.workflows import ( @@ -148,7 +143,7 @@ This example will reuse the outputs volume across script steps. value: '' - name: hera__outputs_directory value: /mnt/empty/dir - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' volumeMounts: - mountPath: /mnt/empty/dir @@ -172,7 +167,7 @@ This example will reuse the outputs volume across script steps. env: - name: hera__script_annotations value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' - inputs: parameters: @@ -195,7 +190,7 @@ This example will reuse the outputs volume across script steps. value: '' - name: hera__outputs_directory value: /mnt/here - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' volumeMounts: - mountPath: /mnt/here @@ -216,7 +211,7 @@ This example will reuse the outputs volume across script steps. env: - name: hera__script_annotations value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' volumeMounts: - mountPath: /mnt/here diff --git a/docs/examples/workflows/experimental/script_annotations_artifact_loaders.md b/docs/examples/workflows/experimental/script_annotations_artifact_loaders.md index 47eb6eac8..f6fb41483 100644 --- a/docs/examples/workflows/experimental/script_annotations_artifact_loaders.md +++ b/docs/examples/workflows/experimental/script_annotations_artifact_loaders.md @@ -9,14 +9,8 @@ ```python linenums="1" import json - import sys from pathlib import Path - from typing import Dict - - if sys.version_info >= (3, 9): - from typing import Annotated - else: - from typing_extensions import Annotated + from typing import Annotated, Dict from hera.shared import global_config from hera.workflows import Artifact, ArtifactLoader, Parameter, Steps, Workflow, script @@ -105,7 +99,7 @@ value: '' - name: hera__outputs_directory value: /tmp/hera-outputs - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' - inputs: artifacts: @@ -127,7 +121,7 @@ env: - name: hera__script_annotations value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' ``` diff --git a/docs/examples/workflows/experimental/script_annotations_artifact_outputs_defaults.md b/docs/examples/workflows/experimental/script_annotations_artifact_outputs_defaults.md index d85c31533..84a8980c2 100644 --- a/docs/examples/workflows/experimental/script_annotations_artifact_outputs_defaults.md +++ b/docs/examples/workflows/experimental/script_annotations_artifact_outputs_defaults.md @@ -8,12 +8,7 @@ This example will reuse the outputs volume across script steps. === "Hera" ```python linenums="1" - import sys - - if sys.version_info >= (3, 9): - from typing import Annotated - else: - from typing_extensions import Annotated + from typing import Annotated from hera.shared import global_config from hera.workflows import ( @@ -105,7 +100,7 @@ This example will reuse the outputs volume across script steps. value: '' - name: hera__outputs_directory value: /tmp/hera-outputs - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' - inputs: artifacts: @@ -123,7 +118,7 @@ This example will reuse the outputs volume across script steps. env: - name: hera__script_annotations value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' volumeClaimTemplates: - metadata: diff --git a/docs/examples/workflows/experimental/script_annotations_artifact_passing.md b/docs/examples/workflows/experimental/script_annotations_artifact_passing.md index e7ee3390a..72418d10b 100644 --- a/docs/examples/workflows/experimental/script_annotations_artifact_passing.md +++ b/docs/examples/workflows/experimental/script_annotations_artifact_passing.md @@ -8,13 +8,8 @@ This example will reuse the outputs volume across script steps. === "Hera" ```python linenums="1" - import sys from pathlib import Path - - if sys.version_info >= (3, 9): - from typing import Annotated - else: - from typing_extensions import Annotated + from typing import Annotated from hera.shared import global_config from hera.workflows import ( @@ -101,7 +96,7 @@ This example will reuse the outputs volume across script steps. value: '' - name: hera__outputs_directory value: /tmp/hera-outputs - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' - inputs: artifacts: @@ -119,7 +114,7 @@ This example will reuse the outputs volume across script steps. env: - name: hera__script_annotations value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' ``` diff --git a/docs/examples/workflows/experimental/script_annotations_inputs.md b/docs/examples/workflows/experimental/script_annotations_inputs.md index cf7509abe..eba2200e4 100644 --- a/docs/examples/workflows/experimental/script_annotations_inputs.md +++ b/docs/examples/workflows/experimental/script_annotations_inputs.md @@ -8,13 +8,7 @@ === "Hera" ```python linenums="1" - import sys - from typing import Dict - - if sys.version_info >= (3, 9): - from typing import Annotated - else: - from typing_extensions import Annotated + from typing import Annotated, Dict from hera.shared import global_config from hera.workflows import Artifact, ArtifactLoader, Parameter, Steps, Workflow, script @@ -114,7 +108,7 @@ value: '' - name: hera__outputs_directory value: /tmp/hera-outputs - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' - inputs: artifacts: @@ -144,7 +138,7 @@ env: - name: hera__script_annotations value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' ``` diff --git a/docs/examples/workflows/experimental/script_annotations_outputs.md b/docs/examples/workflows/experimental/script_annotations_outputs.md index 20a575f61..b4324d992 100644 --- a/docs/examples/workflows/experimental/script_annotations_outputs.md +++ b/docs/examples/workflows/experimental/script_annotations_outputs.md @@ -8,14 +8,8 @@ === "Hera" ```python linenums="1" - import sys from pathlib import Path - from typing import Tuple - - if sys.version_info >= (3, 9): - from typing import Annotated - else: - from typing_extensions import Annotated + from typing import Annotated, Tuple from hera.shared import global_config from hera.workflows import Artifact, Parameter, RunnerScriptConstructor, Steps, Workflow, script @@ -89,7 +83,7 @@ value: '' - name: hera__outputs_directory value: /tmp/user/chosen/outputs - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' ``` diff --git a/docs/examples/workflows/experimental/script_runner_io.md b/docs/examples/workflows/experimental/script_runner_io.md index a0d6d324f..13b8bb737 100644 --- a/docs/examples/workflows/experimental/script_runner_io.md +++ b/docs/examples/workflows/experimental/script_runner_io.md @@ -8,12 +8,7 @@ === "Hera" ```python linenums="1" - import sys - - if sys.version_info >= (3, 9): - from typing import Annotated - else: - from typing_extensions import Annotated + from typing import Annotated try: from pydantic.v1 import BaseModel diff --git a/docs/examples/workflows/experimental/template_sets.md b/docs/examples/workflows/experimental/template_sets.md index 617b78f51..5d0fac151 100644 --- a/docs/examples/workflows/experimental/template_sets.md +++ b/docs/examples/workflows/experimental/template_sets.md @@ -50,7 +50,7 @@ value: /tmp/hera-outputs - name: hera__script_pydantic_io value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' ``` diff --git a/docs/examples/workflows/loops/dynamic_fanout.md b/docs/examples/workflows/loops/dynamic_fanout.md index a39906f44..8506d4405 100644 --- a/docs/examples/workflows/loops/dynamic_fanout.md +++ b/docs/examples/workflows/loops/dynamic_fanout.md @@ -63,7 +63,7 @@ they may need to process. script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -78,7 +78,7 @@ they may need to process. script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/loops/dynamic_fanout_extra_kwargs.md b/docs/examples/workflows/loops/dynamic_fanout_extra_kwargs.md index 889bd502e..0c0b2a42c 100644 --- a/docs/examples/workflows/loops/dynamic_fanout_extra_kwargs.md +++ b/docs/examples/workflows/loops/dynamic_fanout_extra_kwargs.md @@ -95,7 +95,7 @@ the job to dictate what the fanout should execute over. script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -113,7 +113,7 @@ the job to dictate what the fanout should execute over. script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/loops/dynamic_fanout_fanin.md b/docs/examples/workflows/loops/dynamic_fanout_fanin.md index 730545153..37610d6a4 100644 --- a/docs/examples/workflows/loops/dynamic_fanout_fanin.md +++ b/docs/examples/workflows/loops/dynamic_fanout_fanin.md @@ -77,7 +77,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -97,7 +97,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -117,7 +117,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/loops/dynamic_fanout_json_payload.md b/docs/examples/workflows/loops/dynamic_fanout_json_payload.md index 0349278ee..e5a802d71 100644 --- a/docs/examples/workflows/loops/dynamic_fanout_json_payload.md +++ b/docs/examples/workflows/loops/dynamic_fanout_json_payload.md @@ -67,7 +67,7 @@ they may need to process. The fanout occurs over independent JSON payloads comin script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -84,7 +84,7 @@ they may need to process. The fanout occurs over independent JSON payloads comin script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/loops/script_loops_maps.md b/docs/examples/workflows/loops/script_loops_maps.md index b7630d41c..1783d8abf 100644 --- a/docs/examples/workflows/loops/script_loops_maps.md +++ b/docs/examples/workflows/loops/script_loops_maps.md @@ -68,7 +68,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/loops/with_sequence.md b/docs/examples/workflows/loops/with_sequence.md index 1486ae32c..540b2d748 100644 --- a/docs/examples/workflows/loops/with_sequence.md +++ b/docs/examples/workflows/loops/with_sequence.md @@ -74,7 +74,7 @@ This example showcases how to generate and parallelize generated sequences script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -87,7 +87,7 @@ This example showcases how to generate and parallelize generated sequences script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/misc/daemon.md b/docs/examples/workflows/misc/daemon.md index 7be5190b2..5d2225e08 100644 --- a/docs/examples/workflows/misc/daemon.md +++ b/docs/examples/workflows/misc/daemon.md @@ -76,7 +76,7 @@ http requests to the server. script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -99,7 +99,7 @@ http requests to the server. script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/misc/dynamic_volumes.md b/docs/examples/workflows/misc/dynamic_volumes.md index 3b2b65776..3c568c8af 100644 --- a/docs/examples/workflows/misc/dynamic_volumes.md +++ b/docs/examples/workflows/misc/dynamic_volumes.md @@ -42,7 +42,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/misc/hello_world.md b/docs/examples/workflows/misc/hello_world.md index 10d77d5b0..f10ab8540 100644 --- a/docs/examples/workflows/misc/hello_world.md +++ b/docs/examples/workflows/misc/hello_world.md @@ -45,7 +45,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/misc/multi_env.md b/docs/examples/workflows/misc/multi_env.md index 00deb2b2d..e07e442b9 100644 --- a/docs/examples/workflows/misc/multi_env.md +++ b/docs/examples/workflows/misc/multi_env.md @@ -52,7 +52,7 @@ value: '2' - name: c value: '3' - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/misc/user_container.md b/docs/examples/workflows/misc/user_container.md index 1d0c5e77c..7884f0c12 100644 --- a/docs/examples/workflows/misc/user_container.md +++ b/docs/examples/workflows/misc/user_container.md @@ -50,7 +50,7 @@ This example showcases the user of a user container with a volume mount. script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/misc/volume_mount.md b/docs/examples/workflows/misc/volume_mount.md index 705f01efb..a302d2e69 100644 --- a/docs/examples/workflows/misc/volume_mount.md +++ b/docs/examples/workflows/misc/volume_mount.md @@ -41,7 +41,7 @@ This example showcases how to create a volume at a workflow level and use it in entrypoint: test templates: - container: - image: python:3.8 + image: python:3.9 volumeMounts: - mountPath: /secrets name: service-account-credential diff --git a/docs/examples/workflows/misc/volume_mounts.md b/docs/examples/workflows/misc/volume_mounts.md index 0617ea1cd..55bc5c221 100644 --- a/docs/examples/workflows/misc/volume_mounts.md +++ b/docs/examples/workflows/misc/volume_mounts.md @@ -83,7 +83,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/misc/volume_mounts_nfs.md b/docs/examples/workflows/misc/volume_mounts_nfs.md index 103f0e32d..f2dd763d4 100644 --- a/docs/examples/workflows/misc/volume_mounts_nfs.md +++ b/docs/examples/workflows/misc/volume_mounts_nfs.md @@ -72,7 +72,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/misc/volume_mounts_wt.md b/docs/examples/workflows/misc/volume_mounts_wt.md index 532c59d3d..6d89098ff 100644 --- a/docs/examples/workflows/misc/volume_mounts_wt.md +++ b/docs/examples/workflows/misc/volume_mounts_wt.md @@ -83,7 +83,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/misc/workflow_on_exit.md b/docs/examples/workflows/misc/workflow_on_exit.md index bea6619ff..385fa346d 100644 --- a/docs/examples/workflows/misc/workflow_on_exit.md +++ b/docs/examples/workflows/misc/workflow_on_exit.md @@ -84,7 +84,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/misc/workflow_with_global_params.md b/docs/examples/workflows/misc/workflow_with_global_params.md index 0fc8f9921..443bf4e20 100644 --- a/docs/examples/workflows/misc/workflow_with_global_params.md +++ b/docs/examples/workflows/misc/workflow_with_global_params.md @@ -43,7 +43,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/scripts/callable_script.md b/docs/examples/workflows/scripts/callable_script.md index ccd35a041..e42700523 100644 --- a/docs/examples/workflows/scripts/callable_script.md +++ b/docs/examples/workflows/scripts/callable_script.md @@ -8,13 +8,7 @@ === "Hera" ```python linenums="1" - import sys - from typing import List, Union - - if sys.version_info >= (3, 9): - from typing import Annotated - else: - from typing_extensions import Annotated + from typing import Annotated, List, Union from pydantic import BaseModel diff --git a/docs/examples/workflows/scripts/callable_script_v1.md b/docs/examples/workflows/scripts/callable_script_v1.md index 8dca319a4..83c898d0c 100644 --- a/docs/examples/workflows/scripts/callable_script_v1.md +++ b/docs/examples/workflows/scripts/callable_script_v1.md @@ -8,13 +8,7 @@ === "Hera" ```python linenums="1" - import sys - from typing import List, Union - - if sys.version_info >= (3, 9): - from typing import Annotated - else: - from typing_extensions import Annotated + from typing import Annotated, List, Union try: from pydantic.v1 import BaseModel diff --git a/docs/examples/workflows/scripts/coinflip.md b/docs/examples/workflows/scripts/coinflip.md index abf7ef731..2b98d868a 100644 --- a/docs/examples/workflows/scripts/coinflip.md +++ b/docs/examples/workflows/scripts/coinflip.md @@ -63,7 +63,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -75,7 +75,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -85,7 +85,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/scripts/default_param_overwrite.md b/docs/examples/workflows/scripts/default_param_overwrite.md index 54da50004..718cebe5c 100644 --- a/docs/examples/workflows/scripts/default_param_overwrite.md +++ b/docs/examples/workflows/scripts/default_param_overwrite.md @@ -59,7 +59,7 @@ conditionally. script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -73,7 +73,7 @@ conditionally. script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/scripts/script_artifact_passing.md b/docs/examples/workflows/scripts/script_artifact_passing.md index 352c1e605..528792cb0 100644 --- a/docs/examples/workflows/scripts/script_artifact_passing.md +++ b/docs/examples/workflows/scripts/script_artifact_passing.md @@ -61,7 +61,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -76,7 +76,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/scripts/script_auto_infer.md b/docs/examples/workflows/scripts/script_auto_infer.md index 229eb9867..7ef12607d 100644 --- a/docs/examples/workflows/scripts/script_auto_infer.md +++ b/docs/examples/workflows/scripts/script_auto_infer.md @@ -66,7 +66,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -83,7 +83,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/scripts/script_variations.md b/docs/examples/workflows/scripts/script_variations.md index 1e4d68505..071b8349b 100644 --- a/docs/examples/workflows/scripts/script_variations.md +++ b/docs/examples/workflows/scripts/script_variations.md @@ -55,7 +55,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -69,7 +69,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/scripts/script_with_default_params.md b/docs/examples/workflows/scripts/script_with_default_params.md index 85be90ebb..7e9f240c5 100644 --- a/docs/examples/workflows/scripts/script_with_default_params.md +++ b/docs/examples/workflows/scripts/script_with_default_params.md @@ -80,7 +80,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/scripts/script_with_image_pull_policy.md b/docs/examples/workflows/scripts/script_with_image_pull_policy.md index 1273fc93c..d002fcc8d 100644 --- a/docs/examples/workflows/scripts/script_with_image_pull_policy.md +++ b/docs/examples/workflows/scripts/script_with_image_pull_policy.md @@ -35,7 +35,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 imagePullPolicy: Always source: |- import os diff --git a/docs/examples/workflows/scripts/script_with_resources.md b/docs/examples/workflows/scripts/script_with_resources.md index 62ac268f5..8dad40ec6 100644 --- a/docs/examples/workflows/scripts/script_with_resources.md +++ b/docs/examples/workflows/scripts/script_with_resources.md @@ -34,7 +34,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 resources: requests: memory: 5Gi diff --git a/docs/examples/workflows/steps/callable_steps.md b/docs/examples/workflows/steps/callable_steps.md index c13cc4f56..0c55ddada 100644 --- a/docs/examples/workflows/steps/callable_steps.md +++ b/docs/examples/workflows/steps/callable_steps.md @@ -63,7 +63,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/steps/recursive_steps.md b/docs/examples/workflows/steps/recursive_steps.md index 7c11bac4e..9824f5aad 100644 --- a/docs/examples/workflows/steps/recursive_steps.md +++ b/docs/examples/workflows/steps/recursive_steps.md @@ -57,7 +57,7 @@ script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/docs/examples/workflows/upstream/arguments_parameters_from_configmap.md b/docs/examples/workflows/upstream/arguments_parameters_from_configmap.md index 3b007fe85..8066cdb80 100644 --- a/docs/examples/workflows/upstream/arguments_parameters_from_configmap.md +++ b/docs/examples/workflows/upstream/arguments_parameters_from_configmap.md @@ -21,7 +21,6 @@ The upstream example can be [found here](https://github.com/argoproj/argo-workfl with Workflow( generate_name="arguments-parameters-from-configmap-", entrypoint="print-message-from-configmap", - service_account_name="argo", ) as w: Container( name="print-message-from-configmap", @@ -49,7 +48,6 @@ The upstream example can be [found here](https://github.com/argoproj/argo-workfl generateName: arguments-parameters-from-configmap- spec: entrypoint: print-message-from-configmap - serviceAccountName: argo templates: - container: args: diff --git a/docs/examples/workflows/upstream/global_parameters_from_configmap_referenced_as_local_variable.md b/docs/examples/workflows/upstream/global_parameters_from_configmap_referenced_as_local_variable.md index 006c01a94..2f562c26c 100644 --- a/docs/examples/workflows/upstream/global_parameters_from_configmap_referenced_as_local_variable.md +++ b/docs/examples/workflows/upstream/global_parameters_from_configmap_referenced_as_local_variable.md @@ -25,7 +25,6 @@ The upstream example can be [found here](https://github.com/argoproj/argo-workfl name="message", value_from=m.ValueFrom(config_map_key_ref=m.ConfigMapKeySelector(name="simple-parameters", key="msg")), ), - service_account_name="argo", ) as w: Container( name="print-message", @@ -52,7 +51,6 @@ The upstream example can be [found here](https://github.com/argoproj/argo-workfl key: msg name: simple-parameters entrypoint: print-message - serviceAccountName: argo templates: - container: args: diff --git a/docs/examples/workflows/use-cases/wandb_ml_monitoring.md b/docs/examples/workflows/use-cases/wandb_ml_monitoring.md index 1bc678c72..197e0e559 100644 --- a/docs/examples/workflows/use-cases/wandb_ml_monitoring.md +++ b/docs/examples/workflows/use-cases/wandb_ml_monitoring.md @@ -179,7 +179,7 @@ wandb server! secretKeyRef: key: wandb-api-key name: wandb-api-key - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' ``` diff --git a/examples/workflows/artifacts/artifact-with-fanout.yaml b/examples/workflows/artifacts/artifact-with-fanout.yaml index 88a5f6bf8..08d24b9bd 100644 --- a/examples/workflows/artifacts/artifact-with-fanout.yaml +++ b/examples/workflows/artifacts/artifact-with-fanout.yaml @@ -35,7 +35,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -52,7 +52,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -71,7 +71,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/artifacts/artifact.yaml b/examples/workflows/artifacts/artifact.yaml index c91fb7479..a5094e2aa 100644 --- a/examples/workflows/artifacts/artifact.yaml +++ b/examples/workflows/artifacts/artifact.yaml @@ -27,7 +27,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -42,7 +42,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/dags/any-success-all-fail.yaml b/examples/workflows/dags/any-success-all-fail.yaml index 07c1d4795..613c96e9e 100644 --- a/examples/workflows/dags/any-success-all-fail.yaml +++ b/examples/workflows/dags/any-success-all-fail.yaml @@ -38,7 +38,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -58,7 +58,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -75,7 +75,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/dags/callable-dag-with-param-get.yaml b/examples/workflows/dags/callable-dag-with-param-get.yaml index 6dceb4c31..be2067a5c 100644 --- a/examples/workflows/dags/callable-dag-with-param-get.yaml +++ b/examples/workflows/dags/callable-dag-with-param-get.yaml @@ -34,7 +34,7 @@ spec: - examples.workflows.dags.callable_dag_with_param_get:hello_with_output command: - python - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' - dag: tasks: diff --git a/examples/workflows/dags/callable-dag.yaml b/examples/workflows/dags/callable-dag.yaml index 90cae3fac..2404be36d 100644 --- a/examples/workflows/dags/callable-dag.yaml +++ b/examples/workflows/dags/callable-dag.yaml @@ -30,7 +30,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/dags/complex-deps.yaml b/examples/workflows/dags/complex-deps.yaml index f9a6624ad..e863791d7 100644 --- a/examples/workflows/dags/complex-deps.yaml +++ b/examples/workflows/dags/complex-deps.yaml @@ -42,7 +42,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/dags/conditional.yaml b/examples/workflows/dags/conditional.yaml index 6ed27c013..76a94f01c 100644 --- a/examples/workflows/dags/conditional.yaml +++ b/examples/workflows/dags/conditional.yaml @@ -20,7 +20,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -34,7 +34,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -44,7 +44,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/dags/dag-conditional-on-task-status.yaml b/examples/workflows/dags/dag-conditional-on-task-status.yaml index 871e39318..668c0abc1 100644 --- a/examples/workflows/dags/dag-conditional-on-task-status.yaml +++ b/examples/workflows/dags/dag-conditional-on-task-status.yaml @@ -20,7 +20,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -32,7 +32,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -42,7 +42,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/dags/dag-with-script-output-param-passing.yaml b/examples/workflows/dags/dag-with-script-output-param-passing.yaml index 708bdb36f..d0ccdcb85 100644 --- a/examples/workflows/dags/dag-with-script-output-param-passing.yaml +++ b/examples/workflows/dags/dag-with-script-output-param-passing.yaml @@ -26,7 +26,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -40,7 +40,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/dags/dag-with-script-param-passing.yaml b/examples/workflows/dags/dag-with-script-param-passing.yaml index a86a85c53..3345bb09a 100644 --- a/examples/workflows/dags/dag-with-script-param-passing.yaml +++ b/examples/workflows/dags/dag-with-script-param-passing.yaml @@ -21,7 +21,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -34,7 +34,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/dags/on-exit.yaml b/examples/workflows/dags/on-exit.yaml index 690e25269..534331a6a 100644 --- a/examples/workflows/dags/on-exit.yaml +++ b/examples/workflows/dags/on-exit.yaml @@ -9,7 +9,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -39,7 +39,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/experimental/new-dag-decorator-artifacts.yaml b/examples/workflows/experimental/new-dag-decorator-artifacts.yaml index 27f4df132..56ce9923e 100644 --- a/examples/workflows/experimental/new-dag-decorator-artifacts.yaml +++ b/examples/workflows/experimental/new-dag-decorator-artifacts.yaml @@ -31,7 +31,7 @@ spec: value: /tmp/hera-outputs - name: hera__script_pydantic_io value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' - dag: tasks: diff --git a/examples/workflows/experimental/new-dag-decorator-inner-dag.yaml b/examples/workflows/experimental/new-dag-decorator-inner-dag.yaml index c65d560ef..583987c88 100644 --- a/examples/workflows/experimental/new-dag-decorator-inner-dag.yaml +++ b/examples/workflows/experimental/new-dag-decorator-inner-dag.yaml @@ -26,7 +26,7 @@ spec: value: /tmp/hera-outputs - name: hera__script_pydantic_io value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' - inputs: parameters: @@ -48,7 +48,7 @@ spec: value: /tmp/hera-outputs - name: hera__script_pydantic_io value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' - dag: tasks: diff --git a/examples/workflows/experimental/new-dag-decorator-params.yaml b/examples/workflows/experimental/new-dag-decorator-params.yaml index f5aba6aa3..23d24956b 100644 --- a/examples/workflows/experimental/new-dag-decorator-params.yaml +++ b/examples/workflows/experimental/new-dag-decorator-params.yaml @@ -32,7 +32,7 @@ spec: value: /tmp/hera-outputs - name: hera__script_pydantic_io value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' - inputs: parameters: @@ -57,7 +57,7 @@ spec: value: /tmp/hera-outputs - name: hera__script_pydantic_io value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' - dag: tasks: diff --git a/examples/workflows/experimental/new-decorators-basic-script.yaml b/examples/workflows/experimental/new-decorators-basic-script.yaml index f0f54d675..819251b62 100644 --- a/examples/workflows/experimental/new-decorators-basic-script.yaml +++ b/examples/workflows/experimental/new-decorators-basic-script.yaml @@ -24,7 +24,7 @@ spec: value: /tmp/hera-outputs - name: hera__script_pydantic_io value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' - inputs: parameters: @@ -48,5 +48,5 @@ spec: value: /tmp/hera-outputs - name: hera__script_pydantic_io value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' diff --git a/examples/workflows/experimental/new-steps-decorator-with-parallel-steps.yaml b/examples/workflows/experimental/new-steps-decorator-with-parallel-steps.yaml index 8f514d5f9..308200c58 100644 --- a/examples/workflows/experimental/new-steps-decorator-with-parallel-steps.yaml +++ b/examples/workflows/experimental/new-steps-decorator-with-parallel-steps.yaml @@ -29,7 +29,7 @@ spec: value: /tmp/hera-outputs - name: hera__script_pydantic_io value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' - inputs: parameters: @@ -52,7 +52,7 @@ spec: value: /tmp/hera-outputs - name: hera__script_pydantic_io value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' - inputs: parameters: diff --git a/examples/workflows/experimental/script-annotations-artifact-custom-volume.yaml b/examples/workflows/experimental/script-annotations-artifact-custom-volume.yaml index fdc39d8ed..b527deb2e 100644 --- a/examples/workflows/experimental/script-annotations-artifact-custom-volume.yaml +++ b/examples/workflows/experimental/script-annotations-artifact-custom-volume.yaml @@ -48,7 +48,7 @@ spec: value: '' - name: hera__outputs_directory value: /mnt/empty/dir - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' volumeMounts: - mountPath: /mnt/empty/dir @@ -72,7 +72,7 @@ spec: env: - name: hera__script_annotations value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' - inputs: parameters: @@ -95,7 +95,7 @@ spec: value: '' - name: hera__outputs_directory value: /mnt/here - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' volumeMounts: - mountPath: /mnt/here @@ -116,7 +116,7 @@ spec: env: - name: hera__script_annotations value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' volumeMounts: - mountPath: /mnt/here diff --git a/examples/workflows/experimental/script-annotations-artifact-loaders.yaml b/examples/workflows/experimental/script-annotations-artifact-loaders.yaml index a2d5ef874..8b121b1dd 100644 --- a/examples/workflows/experimental/script-annotations-artifact-loaders.yaml +++ b/examples/workflows/experimental/script-annotations-artifact-loaders.yaml @@ -44,7 +44,7 @@ spec: value: '' - name: hera__outputs_directory value: /tmp/hera-outputs - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' - inputs: artifacts: @@ -66,5 +66,5 @@ spec: env: - name: hera__script_annotations value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' diff --git a/examples/workflows/experimental/script-annotations-artifact-outputs-defaults.yaml b/examples/workflows/experimental/script-annotations-artifact-outputs-defaults.yaml index 0d5c4a442..1a4d6c0c6 100644 --- a/examples/workflows/experimental/script-annotations-artifact-outputs-defaults.yaml +++ b/examples/workflows/experimental/script-annotations-artifact-outputs-defaults.yaml @@ -40,7 +40,7 @@ spec: value: '' - name: hera__outputs_directory value: /tmp/hera-outputs - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' - inputs: artifacts: @@ -58,7 +58,7 @@ spec: env: - name: hera__script_annotations value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' volumeClaimTemplates: - metadata: diff --git a/examples/workflows/experimental/script-annotations-artifact-passing.yaml b/examples/workflows/experimental/script-annotations-artifact-passing.yaml index a2b8ea9cc..60be3a562 100644 --- a/examples/workflows/experimental/script-annotations-artifact-passing.yaml +++ b/examples/workflows/experimental/script-annotations-artifact-passing.yaml @@ -40,7 +40,7 @@ spec: value: '' - name: hera__outputs_directory value: /tmp/hera-outputs - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' - inputs: artifacts: @@ -58,5 +58,5 @@ spec: env: - name: hera__script_annotations value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' diff --git a/examples/workflows/experimental/script-annotations-inputs.yaml b/examples/workflows/experimental/script-annotations-inputs.yaml index 927e89dae..4e3d79906 100644 --- a/examples/workflows/experimental/script-annotations-inputs.yaml +++ b/examples/workflows/experimental/script-annotations-inputs.yaml @@ -49,7 +49,7 @@ spec: value: '' - name: hera__outputs_directory value: /tmp/hera-outputs - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' - inputs: artifacts: @@ -79,5 +79,5 @@ spec: env: - name: hera__script_annotations value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' diff --git a/examples/workflows/experimental/script-annotations-outputs.yaml b/examples/workflows/experimental/script-annotations-outputs.yaml index c725fd062..003fee1d3 100644 --- a/examples/workflows/experimental/script-annotations-outputs.yaml +++ b/examples/workflows/experimental/script-annotations-outputs.yaml @@ -43,5 +43,5 @@ spec: value: '' - name: hera__outputs_directory value: /tmp/user/chosen/outputs - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' diff --git a/examples/workflows/experimental/template-sets.yaml b/examples/workflows/experimental/template-sets.yaml index 8826e6f22..afa2f9a4d 100644 --- a/examples/workflows/experimental/template-sets.yaml +++ b/examples/workflows/experimental/template-sets.yaml @@ -20,5 +20,5 @@ spec: value: /tmp/hera-outputs - name: hera__script_pydantic_io value: '' - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}' diff --git a/examples/workflows/loops/dynamic-fanout-extra-kwargs.yaml b/examples/workflows/loops/dynamic-fanout-extra-kwargs.yaml index e2a25abbb..543b59b03 100644 --- a/examples/workflows/loops/dynamic-fanout-extra-kwargs.yaml +++ b/examples/workflows/loops/dynamic-fanout-extra-kwargs.yaml @@ -36,7 +36,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -54,7 +54,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/loops/dynamic-fanout-fanin.yaml b/examples/workflows/loops/dynamic-fanout-fanin.yaml index 7e9db2a11..bce0643af 100644 --- a/examples/workflows/loops/dynamic-fanout-fanin.yaml +++ b/examples/workflows/loops/dynamic-fanout-fanin.yaml @@ -29,7 +29,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -49,7 +49,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -69,7 +69,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/loops/dynamic-fanout-json-payload.yaml b/examples/workflows/loops/dynamic-fanout-json-payload.yaml index b299ef443..b63614a4f 100644 --- a/examples/workflows/loops/dynamic-fanout-json-payload.yaml +++ b/examples/workflows/loops/dynamic-fanout-json-payload.yaml @@ -26,7 +26,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -43,7 +43,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/loops/dynamic-fanout.yaml b/examples/workflows/loops/dynamic-fanout.yaml index 6a9458aa5..bc3dd43a9 100644 --- a/examples/workflows/loops/dynamic-fanout.yaml +++ b/examples/workflows/loops/dynamic-fanout.yaml @@ -22,7 +22,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -37,7 +37,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/loops/script-loops-maps.yaml b/examples/workflows/loops/script-loops-maps.yaml index 97f1f4772..ab6587532 100644 --- a/examples/workflows/loops/script-loops-maps.yaml +++ b/examples/workflows/loops/script-loops-maps.yaml @@ -32,7 +32,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/loops/with-sequence.yaml b/examples/workflows/loops/with-sequence.yaml index c25a884ce..76efc1eb3 100644 --- a/examples/workflows/loops/with-sequence.yaml +++ b/examples/workflows/loops/with-sequence.yaml @@ -35,7 +35,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -48,7 +48,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/misc/daemon.yaml b/examples/workflows/misc/daemon.yaml index fee8afbae..0e3f9e8d5 100644 --- a/examples/workflows/misc/daemon.yaml +++ b/examples/workflows/misc/daemon.yaml @@ -22,7 +22,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -45,7 +45,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/misc/dynamic-volumes.yaml b/examples/workflows/misc/dynamic-volumes.yaml index e0cad23ae..40f4cec2d 100644 --- a/examples/workflows/misc/dynamic-volumes.yaml +++ b/examples/workflows/misc/dynamic-volumes.yaml @@ -14,7 +14,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/misc/hello-world.yaml b/examples/workflows/misc/hello-world.yaml index 1e535b515..367ff41fd 100644 --- a/examples/workflows/misc/hello-world.yaml +++ b/examples/workflows/misc/hello-world.yaml @@ -16,7 +16,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/misc/multi-env.yaml b/examples/workflows/misc/multi-env.yaml index cd2aaa5bd..5bf4c75b0 100644 --- a/examples/workflows/misc/multi-env.yaml +++ b/examples/workflows/misc/multi-env.yaml @@ -21,7 +21,7 @@ spec: value: '2' - name: c value: '3' - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/misc/user-container.yaml b/examples/workflows/misc/user-container.yaml index 8a6be0b25..e3330cee3 100644 --- a/examples/workflows/misc/user-container.yaml +++ b/examples/workflows/misc/user-container.yaml @@ -14,7 +14,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/misc/volume-mount.yaml b/examples/workflows/misc/volume-mount.yaml index d20bec76b..b6ff8a748 100644 --- a/examples/workflows/misc/volume-mount.yaml +++ b/examples/workflows/misc/volume-mount.yaml @@ -6,7 +6,7 @@ spec: entrypoint: test templates: - container: - image: python:3.8 + image: python:3.9 volumeMounts: - mountPath: /secrets name: service-account-credential diff --git a/examples/workflows/misc/volume-mounts-nfs.yaml b/examples/workflows/misc/volume-mounts-nfs.yaml index 10068514b..54fa6b605 100644 --- a/examples/workflows/misc/volume-mounts-nfs.yaml +++ b/examples/workflows/misc/volume-mounts-nfs.yaml @@ -21,7 +21,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/misc/volume-mounts-wt.yaml b/examples/workflows/misc/volume-mounts-wt.yaml index c447e1b7f..efc33dd62 100644 --- a/examples/workflows/misc/volume-mounts-wt.yaml +++ b/examples/workflows/misc/volume-mounts-wt.yaml @@ -33,7 +33,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/misc/volume-mounts.yaml b/examples/workflows/misc/volume-mounts.yaml index 56d6efa21..0ac615745 100644 --- a/examples/workflows/misc/volume-mounts.yaml +++ b/examples/workflows/misc/volume-mounts.yaml @@ -33,7 +33,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/misc/workflow-on-exit.yaml b/examples/workflows/misc/workflow-on-exit.yaml index e37584709..dd1cf2427 100644 --- a/examples/workflows/misc/workflow-on-exit.yaml +++ b/examples/workflows/misc/workflow-on-exit.yaml @@ -46,7 +46,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/misc/workflow-with-global-params.yaml b/examples/workflows/misc/workflow-with-global-params.yaml index 8e9059ef0..a6051d4dd 100644 --- a/examples/workflows/misc/workflow-with-global-params.yaml +++ b/examples/workflows/misc/workflow-with-global-params.yaml @@ -17,7 +17,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/scripts/coinflip.yaml b/examples/workflows/scripts/coinflip.yaml index 081f85e0f..1372b9e1c 100644 --- a/examples/workflows/scripts/coinflip.yaml +++ b/examples/workflows/scripts/coinflip.yaml @@ -22,7 +22,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -34,7 +34,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -44,7 +44,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/scripts/default-param-overwrite.yaml b/examples/workflows/scripts/default-param-overwrite.yaml index 669964279..d037ec1f3 100644 --- a/examples/workflows/scripts/default-param-overwrite.yaml +++ b/examples/workflows/scripts/default-param-overwrite.yaml @@ -24,7 +24,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -38,7 +38,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/scripts/script-artifact-passing.yaml b/examples/workflows/scripts/script-artifact-passing.yaml index ccc5177a2..c6d0c4c90 100644 --- a/examples/workflows/scripts/script-artifact-passing.yaml +++ b/examples/workflows/scripts/script-artifact-passing.yaml @@ -23,7 +23,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -38,7 +38,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/scripts/script-auto-infer.yaml b/examples/workflows/scripts/script-auto-infer.yaml index 457986092..abab04ae9 100644 --- a/examples/workflows/scripts/script-auto-infer.yaml +++ b/examples/workflows/scripts/script-auto-infer.yaml @@ -25,7 +25,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -42,7 +42,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/scripts/script-variations.yaml b/examples/workflows/scripts/script-variations.yaml index 83b5e3be5..b980bc1e5 100644 --- a/examples/workflows/scripts/script-variations.yaml +++ b/examples/workflows/scripts/script-variations.yaml @@ -22,7 +22,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys @@ -36,7 +36,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/scripts/script-with-default-params.yaml b/examples/workflows/scripts/script-with-default-params.yaml index ae4a0ea7c..bdeb3e1b7 100644 --- a/examples/workflows/scripts/script-with-default-params.yaml +++ b/examples/workflows/scripts/script-with-default-params.yaml @@ -51,7 +51,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/scripts/script-with-image-pull-policy.yaml b/examples/workflows/scripts/script-with-image-pull-policy.yaml index ada31e7bf..43946cdab 100644 --- a/examples/workflows/scripts/script-with-image-pull-policy.yaml +++ b/examples/workflows/scripts/script-with-image-pull-policy.yaml @@ -9,7 +9,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 imagePullPolicy: Always source: |- import os diff --git a/examples/workflows/scripts/script-with-resources.yaml b/examples/workflows/scripts/script-with-resources.yaml index 15d3c52db..5cac97398 100644 --- a/examples/workflows/scripts/script-with-resources.yaml +++ b/examples/workflows/scripts/script-with-resources.yaml @@ -9,7 +9,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 resources: requests: memory: 5Gi diff --git a/examples/workflows/steps/callable-steps.yaml b/examples/workflows/steps/callable-steps.yaml index e91caf12d..480d377f2 100644 --- a/examples/workflows/steps/callable-steps.yaml +++ b/examples/workflows/steps/callable-steps.yaml @@ -29,7 +29,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/steps/recursive-steps.yaml b/examples/workflows/steps/recursive-steps.yaml index caaf3b4f9..405446cca 100644 --- a/examples/workflows/steps/recursive-steps.yaml +++ b/examples/workflows/steps/recursive-steps.yaml @@ -20,7 +20,7 @@ spec: script: command: - python - image: python:3.8 + image: python:3.9 source: |- import os import sys diff --git a/examples/workflows/upstream/arguments-parameters-from-configmap.upstream.yaml b/examples/workflows/upstream/arguments-parameters-from-configmap.upstream.yaml index 39339ff41..7e03b9bf7 100644 --- a/examples/workflows/upstream/arguments-parameters-from-configmap.upstream.yaml +++ b/examples/workflows/upstream/arguments-parameters-from-configmap.upstream.yaml @@ -11,7 +11,6 @@ metadata: workflows.argoproj.io/verify.py: | assert status["phase"] == "Succeeded" spec: - serviceAccountName: argo entrypoint: print-message-from-configmap templates: diff --git a/examples/workflows/upstream/arguments-parameters-from-configmap.yaml b/examples/workflows/upstream/arguments-parameters-from-configmap.yaml index 35348e234..a9dee18fb 100644 --- a/examples/workflows/upstream/arguments-parameters-from-configmap.yaml +++ b/examples/workflows/upstream/arguments-parameters-from-configmap.yaml @@ -4,7 +4,6 @@ metadata: generateName: arguments-parameters-from-configmap- spec: entrypoint: print-message-from-configmap - serviceAccountName: argo templates: - container: args: diff --git a/examples/workflows/upstream/arguments_parameters_from_configmap.py b/examples/workflows/upstream/arguments_parameters_from_configmap.py index 7927fea6c..17a12399f 100644 --- a/examples/workflows/upstream/arguments_parameters_from_configmap.py +++ b/examples/workflows/upstream/arguments_parameters_from_configmap.py @@ -8,7 +8,6 @@ with Workflow( generate_name="arguments-parameters-from-configmap-", entrypoint="print-message-from-configmap", - service_account_name="argo", ) as w: Container( name="print-message-from-configmap", diff --git a/examples/workflows/upstream/global-parameters-from-configmap-referenced-as-local-variable.upstream.yaml b/examples/workflows/upstream/global-parameters-from-configmap-referenced-as-local-variable.upstream.yaml index 701ebd1c1..72e25bd89 100644 --- a/examples/workflows/upstream/global-parameters-from-configmap-referenced-as-local-variable.upstream.yaml +++ b/examples/workflows/upstream/global-parameters-from-configmap-referenced-as-local-variable.upstream.yaml @@ -9,7 +9,6 @@ metadata: This example demonstrates how a global parameter from a ConfigMap can be referenced as a template local variable. Note that the "simple-parameters" ConfigMap (defined in `examples/configmaps/simple-parameters-configmap.yaml`) needs to be created first before submitting this workflow. spec: - serviceAccountName: argo entrypoint: print-message arguments: parameters: diff --git a/examples/workflows/upstream/global-parameters-from-configmap-referenced-as-local-variable.yaml b/examples/workflows/upstream/global-parameters-from-configmap-referenced-as-local-variable.yaml index 56e431d4b..059e324e5 100644 --- a/examples/workflows/upstream/global-parameters-from-configmap-referenced-as-local-variable.yaml +++ b/examples/workflows/upstream/global-parameters-from-configmap-referenced-as-local-variable.yaml @@ -11,7 +11,6 @@ spec: key: msg name: simple-parameters entrypoint: print-message - serviceAccountName: argo templates: - container: args: diff --git a/examples/workflows/upstream/global-parameters-from-configmap.upstream.yaml b/examples/workflows/upstream/global-parameters-from-configmap.upstream.yaml index 4b8dc7811..349cbb83a 100644 --- a/examples/workflows/upstream/global-parameters-from-configmap.upstream.yaml +++ b/examples/workflows/upstream/global-parameters-from-configmap.upstream.yaml @@ -9,7 +9,6 @@ metadata: This example demonstrates loading global parameter values from a ConfigMap. Note that the "simple-parameters" ConfigMap (defined in `examples/configmaps/simple-parameters-configmap.yaml`) needs to be created first before submitting this workflow. spec: - serviceAccountName: argo entrypoint: print-message # Parameters can also be passed via configmap reference. arguments: diff --git a/examples/workflows/upstream/global_parameters_from_configmap_referenced_as_local_variable.py b/examples/workflows/upstream/global_parameters_from_configmap_referenced_as_local_variable.py index 8c44c68bd..362bc07e7 100644 --- a/examples/workflows/upstream/global_parameters_from_configmap_referenced_as_local_variable.py +++ b/examples/workflows/upstream/global_parameters_from_configmap_referenced_as_local_variable.py @@ -12,7 +12,6 @@ name="message", value_from=m.ValueFrom(config_map_key_ref=m.ConfigMapKeySelector(name="simple-parameters", key="msg")), ), - service_account_name="argo", ) as w: Container( name="print-message", diff --git a/examples/workflows/upstream/hdfs-artifact.upstream.yaml b/examples/workflows/upstream/hdfs-artifact.upstream.yaml index 93e8fe35c..c39445d02 100644 --- a/examples/workflows/upstream/hdfs-artifact.upstream.yaml +++ b/examples/workflows/upstream/hdfs-artifact.upstream.yaml @@ -38,6 +38,7 @@ spec: path: "/tmp/argo/foo" hdfsUser: root force: true + # dataTransferProtection: authentication # krbCCacheSecret: # name: krb # key: krb5cc_0 @@ -63,6 +64,7 @@ spec: path: "/tmp/argo/foo" hdfsUser: root force: true + # dataTransferProtection: authentication # krbCCacheSecret: # name: krb # key: krb5cc_0 diff --git a/examples/workflows/use_cases/wandb-ml-monitoring.yaml b/examples/workflows/use_cases/wandb-ml-monitoring.yaml index 5e331c6f8..a70924b56 100644 --- a/examples/workflows/use_cases/wandb-ml-monitoring.yaml +++ b/examples/workflows/use_cases/wandb-ml-monitoring.yaml @@ -72,5 +72,5 @@ spec: secretKeyRef: key: wandb-api-key name: wandb-api-key - image: python:3.8 + image: python:3.9 source: '{{inputs.parameters}}'