agola/internal/services/runservice
Simone Gotti 11a2ff48d6 runservice: delete executor task early
currently we are deleting the executor tasks only when all the run tasks
log/archives were fetched. But it'll better to remove a single executor task
when the task fetching is finished.

This could also fix possible issues on k8s since we are scheduling tasks but the
k8s scheduler may not schedule them if there aren't enough resources causing a
scheduling deadlock since we won't remove finished pods because their related
tasks are not removed and k8s cannot start new pods since it has no resources.
2019-07-08 16:03:14 +02:00
..
action runservice: add CacheGroup field to runconfig 2019-07-03 15:16:37 +02:00
api runservice: handle run not existing 2019-07-08 09:30:15 +02:00
common runservice: fix linter errors 2019-07-02 14:53:01 +02:00
readdb runservice: add getruns filter by result 2019-07-05 10:32:51 +02:00
store runservice: fix linter errors 2019-07-02 14:53:01 +02:00
types runservice: add getruns filter by result 2019-07-05 10:32:51 +02:00
runservice.go service/*: log error only if nil 2019-07-04 15:50:37 +02:00
scheduler.go runservice: delete executor task early 2019-07-08 16:03:14 +02:00
scheduler_test.go runservice: fix linter errors 2019-07-02 14:53:01 +02:00