Skip to content

Enqueue webhook build job

Administrator requested to merge wrapUp into main

Created by: susantoscott

This PR combines the DB schema PR, webhook build job PR, webhook build worker PR, and github webhook handle PR into one. The single point of entry is through Syncer/SyncExternalService. The github webhook handler is instantiated in httpapi.go with other similar webhooks.

Initialization:

  • WebhookBuildWorker in enterprise/cmd/worker/main()
  • GitHubWebhookHandler in httpapi/NewHandler()

Test plan

go test -run TestIntegration with helper test function testEnqueueWebhookBuildJob

Merge request reports

Loading