Configuring Triggers for Automated Deployments

a. Create a Webhook

Select “Triggers” from the LHS menu. You will see a list of all existing triggers that have been set up 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.

Last updated