couler-proj / couler

Unified Interface for Constructing and Managing Workflows on different workflow engines, such as Argo Workflows, Tekton Pipelines, and Apache Airflow.

Home Page:https://couler-proj.github.io/couler/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The invalid step name: `<stdin>-`

Yancey1989 opened this issue · comments

When I run the Couler program by command

cat run.py | python -u

the generated workflow YAML contains the invalid step name <stdin>-:

apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  name: sqlflow
spec:
  entrypoint: sqlflow
  templates:
    - name: sqlflow
      steps:
        - - name: <stdin>-56-56
            template: <stdin>-56
        - - name: <stdin>-72-72
            template: <stdin>-72

Maybe we can use the workflow name as the step name prefix?