Code nodes contain the application components included in the build. When configuring a Code node, you can select application components from the source control repository and organization you’re currently using in ShuttleOps.

 

Click the Build tab. Clickto create a new build pipeline or click Edit on an existing pipeline.

 

Add a Code node or click an existing Code node. Complete the following steps to configure the node. When you’re done, click away to close the node.


Select the repository you want to build from.  

 

Configure the Application Component

In the top-right corner, select the configuration icon to select the branch to build. If you want to run the pipeline automatically when the component is updated in the source control repository, activate the Webhook triggers toggle. An On-Push trigger for the component will automatically be added to the start of the pipeline.

Set a Build Configuration

ShuttleOps allows you to manage basic setting in your Chef Habitat build configuration.  If you don't already have a plan file, we will help you create and manage one.


 


Just select a custom plan file package and enter configuration details.



A TOML configuration file will be generated and presented for custom scripting.


When you’re done, click Save.


Remove an Application Component

Click on  on an application component tile to remove it from the node.