Configuring Triggers for Automated Deployments
Last updated
Last updated
a. Create a Webhook
Select “Triggers” from the LHS menu. You will see a list of all existing triggers that have been setup based on schedules and webhooks. In this example, let us proceed to create a webhook that triggers a pipeline when changes are pushed into Github.
Toggle “Webhook” and select “+ Create Webhook”.
b. Add Webhook Details
Add name and description of the webhook, the type (Github, Bitbucket, Docker Hub), and the action that has to be performed (push or pull) and what needs to be triggered (specific pipeline or release). Proceed to select the environment, cluster, and microservice before clicking “Map Parameter”.
Map the parameters like repo branch and image tag before clicking on “Save”.
Your Trigger will be updated on the top in the Triggers screen.