Webhook - CI/CD用語集の定義
Webhook: webhookとは、イベントが発生するたびにサービスが、あなたが登録したURLへ送信するHTTPコールバックで、これによりCIはpollingなしでpush、pull request、deployに反応します。
webhookとは、イベントが発生するたびにサービスが、あなたが登録したURLへ送信するHTTPコールバックで、これによりCIはpollingなしでpush、pull request、deployに反応します。
webhookはイベント駆動型CIのpush側です。サーバーに「何か変わったか?」とループで尋ねる代わりに、URLを一度登録すれば、イベントが発生した瞬間にサーバーがそこへPOSTリクエストを送ります。
CIにおいて
GitHub、GitLab、そしてほとんどのSCMはpushおよびpull_requestイベントでwebhookを配信します。それらをリッスンするCIシステムは、次のpollingサイクルを待つのではなく、commitの数秒以内にbuildを開始できます。
関連ガイド
Webhook Payload - CI/CD Glossary DefinitionWebhook Payload: A webhook payload is the JSON body sent with a webhook request describing the event: which r…
Webhook Secret - CI/CD Glossary DefinitionWebhook Secret: A webhook secret is a shared token configured on both the sender and receiver, used to sign e…
Event-Driven Pipeline - CI/CD Glossary DefinitionEvent-Driven Pipeline: An event-driven pipeline starts work in response to events (a webhook, a queued messag…