Nace Plesko
10/11/2022, 10:47 PMcommand
for ShellTask
. But the problem is that I'm not using the Parameter
directly and it's not showing up in the UI when I register the flow. Is there any way to get around it?
Thank you in advance!Nico Neumann
10/11/2022, 10:59 PM@task
def create_command(param: str) -> str:
return f"yarn ... --name {param}"
with Flow("My Flow") as flow:
param = Parameter("parameter", default="nace")
command = create_command(param)
ShellTask(
command=command,
...
)
Nace Plesko
10/11/2022, 11:18 PMShellTask
and all of them still run even if the first one fails. Is there a way to configure ShellTask
so that it stops as soon as one of the commands fails?Nico Neumann
10/11/2022, 11:33 PMNace Plesko
10/11/2022, 11:40 PM.map
ran successfully?Mason Menges
10/19/2022, 3:54 PMNace Plesko
10/19/2022, 4:05 PM