Skip to content

Commit

Permalink
WIP Emit events from the PipelineRun controller
Browse files Browse the repository at this point in the history
Emit additional events:
- Pipeline Start

Emit all events through the events.go module.
Align and simplify the reconcile structure to have clear points
for error handling and emitting events.
  • Loading branch information
afrittoli committed May 15, 2020
1 parent 6ae926f commit 9ea2fa7
Show file tree
Hide file tree
Showing 4 changed files with 268 additions and 172 deletions.
1 change: 1 addition & 0 deletions pkg/reconciler/pipelinerun/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ func NewController(images pipeline.Images) func(context.Context, configmap.Watch
ConfigMapWatcher: cmw,
ResyncPeriod: resyncPeriod,
Logger: logger,
Recorder: controller.GetEventRecorder(ctx),
}

c := &Reconciler{
Expand Down
Loading

0 comments on commit 9ea2fa7

Please sign in to comment.