agola/internal/services/runservice
Simone Gotti 5dd9e587fe runservice: mark not running tasks as skipped when run marked to stop
Currently when a run is marked to stop we are going to stop currently running
tasks and then their childs will be marked as skipped.

But tasks not depending on a stopped task (root task or childs with a finished
parent) that are just waiting for an executor slot, will be scheduled when
there will be a free slot also if the run is marked to stop (and then the
scheduler will stop them after some seconds).

This patch will mark all not started tasks as skipped when the run is marked to
stop.
2020-02-26 16:45:09 +01:00
..
action *: improve error handling 2019-11-11 12:17:35 +01:00
api gateway/runservice: add api to delete step logs 2019-11-18 10:34:56 +01:00
common runservice: use etcd mutex TryLock on fetching 2019-11-13 11:53:54 +01:00
readdb readdb: improve HandleEvents goroutine exiting 2019-11-12 11:03:21 +01:00
store *: improve error handling 2019-11-11 12:17:35 +01:00
runservice.go tests: improve services logging 2020-01-15 12:30:34 +01:00
scheduler.go runservice: mark not running tasks as skipped when run marked to stop 2020-02-26 16:45:09 +01:00
scheduler_test.go runservice: mark not running tasks as skipped when run marked to stop 2020-02-26 16:45:09 +01:00