Closed frsyuki closed 8 years ago
Design:
$ digdag init <name> creates digdag.yml and <name>.yml files in <name> directory as following:
$ digdag init <name>
digdag.yml
<name>.yml
<name>
# digdag.yml name: <name> workflows: - <name>.yml
# <name>.yml +step1: sh>: some example here... +step2: sh>: some example here...
All digdag commands (run, push, etc.) use digdag.yml as the entry point.
name section in digdag.yml is the name of project. Name of a workflow matches with the file name (so workflow yml files don't need name section).
name
digdag push doesn't require -f option. It reads ./digdag.yml.
digdag push
-f
this will need workflow-per-file branch and some more code to ProjectArchive and ProjectArchiveLoader.
workflow-per-file
Design:
$ digdag init <name>
createsdigdag.yml
and<name>.yml
files in<name>
directory as following:All digdag commands (run, push, etc.) use
digdag.yml
as the entry point.name
section in digdag.yml is the name of project. Name of a workflow matches with the file name (so workflow yml files don't needname
section).digdag push
doesn't require-f
option. It reads ./digdag.yml.