Use triggers to automatically start a deployment pipeline based on application updates in your artifact repository or the execution of another pipeline. You can also schedule a pipeline to run at a specific day and time.
You can add the following types of triggers to a deployment pipeline.
Chef Habitat Launch the deployment pipeline automatically if an application component is updated in the artifact repository.
Pipeline Launch a deployment pipeline automatically once another build or deployment pipeline has successfully executed. This allows you to automatically execute a sequence of pipelines with no manual intervention required.
Scheduled Schedule a deployment pipeline to run at a specific day and time.
Click the Deploy tab. Clickto create a new deployment pipeline or click Edit on an existing pipeline.
Add a Chef Habitat Builder Trigger
You must add an application component to an Applications Components node before you can select it as a trigger.
Drag a Chef Habitat trigger from the sidebar and drop it on the start node. Select an application component, then click Save.
You can also add a Chef Habitat trigger in an Applications Components node. Just click on the application component tile and a Chef Habitat trigger is automatically added to the start node.
Add a Pipeline Trigger
Drag a Pipeline trigger from the sidebar and drop it on the start node. Select the build or deployment pipeline to use as the trigger, then click Save.
Add a Scheduled Trigger
Drag a Scheduled trigger from the sidebar and drop it on the start node. Enter the day and time when you want to pipeline to execute. You can enter a specific date or a date relative to the current date and time. Click Save.