-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
runservice: global and runconfig runs and tasks timeout #6
Comments
I are working to this issue, so I write some ideas: To add a field "task_timeout" to the Executor config globally and another "task_timeout" in runconfig in the Task struct. To check the timeouts of the runs the idea is to add a new routine in the Runservice or modify the executorTasksCleaner. To check the task timeout I think the better way is to modify the taskUpdater method in the Executor. |
You should probably also consider a
I'll leave a
Now that tasks in agola may require approval probably a
It should be handled both at the executor level that at the runservice scheduler level since an executor may not be responding. We should also consider how to report the timeout state to the runservice and how to store in the run status. |
Thanks @sgotti. So we'll have task_timeout in run config with 3 levels, with inheritance, it is similar to docker_registries_auth.
To handle in the executor level I confirm to use the taskUpdater method; for the runservice scheduler level I think to modify the executorTaskCleaner method
|
No description provided.
The text was updated successfully, but these errors were encountered: