Skip to content

DAGU_RUN_STEP_NAME empty in step's stdout attribute #1955

@dev-epices

Description

@dev-epices
steps:
    - name: first
      command: echo $DAG_RUN_STEP_NAME  

    - name: second
      stdout: "/tmp/dag_${DAG_RUN_STEP_NAME}_out.log"
      command: echo "meh"
  • the first step outputs 'first' which is the step name as expected.

  • the second step creates/updates a /tmp/dag__out.log
    the expected value is '/tmp/dag_second_out.log'

it does looks like a bug.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions