Skip to content

template: add support for cleanup before deleting dag. #694

Open
@kriyanshii

Description

@kriyanshii

introducing a new field in dag cleanup:. where you can mention any script(path to the script). So it will run that script while deleting the dag. It can be used to clean up intermediate files made while the dag ran.

steps:
  - name: "1"
    command: "true"
cleanup: "/path/to/script.sh"

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature to be implemented

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions