ogdc_runner.workflow.shell module¶
- class ogdc_runner.workflow.shell.ShellParallelExecutionOrchestrator(recipe_config: RecipeConfig, execution_function: ExecutionFunction) None¶
Bases:
ParallelExecutionOrchestratorOrchestrator for parallel execution of shell-based workflows.
This class implements the ParallelExecutionOrchestrator interface specifically for shell command workflows. It handles:
Creating Container templates with shell command execution
Building partition processing scripts
Creating tasks with shell-specific parameters
- Parameters:
recipe_config (
RecipeConfig)execution_function (
ExecutionFunction)
- create_execution_template() Container | Any¶
Create Argo Container template for shell command execution.
- Return type:
Container | Any
- Returns:
Container template configured for parallel partition processing
- Raises:
ValueError – If execution function has no valid execution type
- ogdc_runner.workflow.shell.make_and_submit_shell_workflow(recipe_config: RecipeConfig, wait: bool) str¶
Create and submit an argo workflow based on a shell recipe.
- Parameters:
recipe_config (
RecipeConfig) – Recipe configuration containing workflow detailswait (
bool) – Whether to wait for workflow completion
- Return type:
- Returns:
Workflow name