Enqueue webhook build job
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
inenterprise/cmd/worker/main()
-
GitHubWebhookHandler
inhttpapi/NewHandler()
Test plan
go test -run TestIntegration
with helper test function testEnqueueWebhookBuildJob