Documentation ¶
Index ¶
- func CancelAbandonedJobs(ctx context.Context) error
- func CreateCommitStatus(ctx context.Context, jobs ...*actions_model.ActionRunJob)
- func EmitJobsIfReady(runID int64) error
- func Init()
- func NewNotifier() base.Notifier
- func StopEndlessTasks(ctx context.Context) error
- func StopZombieTasks(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CancelAbandonedJobs ¶
CancelAbandonedJobs cancels the jobs which have waiting status, but haven't been picked by a runner for a long time
func CreateCommitStatus ¶
func CreateCommitStatus(ctx context.Context, jobs ...*actions_model.ActionRunJob)
CreateCommitStatus creates a commit status for the given job. It won't return an error failed, but will log it, because it's not critical.
func EmitJobsIfReady ¶
func NewNotifier ¶
NewNotifier create a new actionsNotifier notifier
func StopEndlessTasks ¶
StopEndlessTasks stops the tasks which have running status and continuous updates, but don't end for a long time
func StopZombieTasks ¶
StopZombieTasks stops the task which have running status, but haven't been updated for a long time
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.