Fine-grained conditional run (task.when) #15

Open
opened 2020-11-29 15:41:24 +00:00 by southerntofu · 0 comments
Owner

Related to #14

Currently task running policy is decided entirely by forgebuild. Maybe it would be nice to have tasks that can decide whether to run or not by defining conditions in a task.when file.

This file could be:

  • a simple text file containing well-known conditions (such as the event type)
  • an executable script which returns 0/1 to indicate whether the task should run, depending on local state and or received events (see #14)
Related to #14 Currently task running policy is decided entirely by forgebuild. Maybe it would be nice to have tasks that can decide whether to run or not by defining conditions in a task.when file. This file could be: - a simple text file containing well-known conditions (such as the event type) - an executable script which returns 0/1 to indicate whether the task should run, depending on local state and or received events (see #14)
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: forge/build#15
No description provided.