by dperfect · 4y ago · 0 comments
Essentially GitHub's webhook is configured to hit the Lambda function, which authenticates the request and adds the data to an SQS queue. The internal relay service watches that queue and passes requests to the private Jenkins server.
The architecture is similar to this[1] project, but since the public-facing piece runs on Lambda, it costs almost nothing to run.
Takes the complexity of having to use a queue out of the equation, though at the expense of potentially lost webhook calls.