fix: store large log outputs in tar bundles of logs

This commit is contained in:
garethgeorge
2024-02-02 02:51:39 -08:00
parent 427792c724
commit 0cf01e0206
27 changed files with 572 additions and 413 deletions

View File

@@ -163,7 +163,7 @@ func (t *PruneTask) Run(ctx context.Context) error {
return nil
}); err != nil {
repo, _ := t.orch.GetRepo(t.plan.Repo)
hook.ExecuteHooks(t.orch.OpLog, repo.Config(), t.plan, "", []v1.Hook_Condition{
t.orch.hookExecutor.ExecuteHooks(repo.Config(), t.plan, "", []v1.Hook_Condition{
v1.Hook_CONDITION_ANY_ERROR,
}, hook.HookVars{
Task: t.Name(),