Commit Graph

6 Commits

Author SHA1 Message Date
4f39b0bec3
Changed the way task output and post output is saved.
Redis now saves all output for a task within a hash. This hash contains individual tasks and all its output.
Attempts also start at 1, since that makes most sense for this context. When output is written, the TaskStorage must figure out at which attempt the Task is.
2020-06-04 21:29:37 +02:00
4555957292
Made Handlers an object instead of a string reference.
All checks were successful
continuous-integration/drone/push Build is passing
Handlers should now be added as objects, adding some flexibility to the developer.
Developers are still cautioned to take great care that Handlers work approriately. Handlers can potentially crash the SuperVisor if not taken good care of.
2020-06-03 11:35:16 +02:00
5f369c784b
Added TaskModifyEvent.
Some checks failed
continuous-integration/drone/push Build is failing
Event gets fired when an Event is modified by sending it to TaskStorage::modifyEvent. This allows components to observe changes and report these to the user. Might also be useful to cancel unwanted changes.
2020-05-19 22:07:44 +02:00
72cd7637b5
Implemented many unit tests.
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-16 19:12:22 +02:00
4639660640
Added separate environments for DummyTaskStorage and RedisTaskStorage.
All checks were successful
continuous-integration/drone/push Build is passing
System now uses environment variables imported through Docker. See test/config.tasks.php for all environment options available.
2020-05-15 21:19:35 +02:00
3499eed388
Started implementing Drone 2020-05-15 18:26:30 +02:00