agola/internal/services
Simone Gotti bfc42ef60e runservice: fix get tasks to run
Currently `advanceRunTasks` isn't deterministic and doesn't calculate the final
state in one call. So could happen that `getTasksToRun` will select a task to be
executed since its parent are finished (marked as skipped in advanceRunTasks)
but the task isn't marked to be skipped (because advanceRunTasks has calculated
this task before its parents).

Currently fix this doing the same task selection logic done in `advanceRunTasks`
and add a TODO to make `advanceRunTasks` be deterministic by processing tasks by
their level (from level 0).
2019-08-30 15:59:25 +02:00
..
common *: export clients and related types 2019-08-02 12:02:01 +02:00
config config: remove unused gatewayURL from gitserver config 2019-07-04 10:55:12 +02:00
configstore *: export clients and related types 2019-08-02 12:02:01 +02:00
executor cmd: fix variable create/update 2019-08-29 16:38:19 +02:00
gateway cmd: fix variable create/update 2019-08-29 16:38:19 +02:00
gitserver service/*: log error only if nil 2019-07-04 15:50:37 +02:00
notification *: export clients and related types 2019-08-02 12:02:01 +02:00
runservice runservice: fix get tasks to run 2019-08-30 15:59:25 +02:00
scheduler *: export clients and related types 2019-08-02 12:02:01 +02:00
types configstore: move configstore types inside configstore package 2019-08-02 10:05:47 +02:00