Workflow templates
Description
Workflow templates is a library of templates that contains all workflow scenarios that you build once and use everywhere.
This is a great way to standardize your deployment process without reinventing the wheel, as it allows you to stay DRY (don't repeat yourself) even at the workflow level. You no longer need to copy and paste YAML files and manually change them for every architecture.

Create template
To create a new template, refer to the page: create workflow template. It contains all the details.
Clone template
To clone a template and add it to your architecture:
Go to the
CI/CDtab in the top navigation bar, within your architecture.Click on
Templatesin the left menu.Hover the workflow template you want to clone, and click on the copy icon at the bottom-right corner of the template thumbnail. Its tooltip will display
Create workflow from templatewhen hovered over.Confirm the action by clicking the
Use templatebutton on the Create workflow from template confirmation modal.

Delete template
To delete a template:
Go to the
CI/CDtab in the top navigation bar, within your architecture.Click on
Templatesin the left menu.Hover the workflow template you want to clone, and click on the bin icon at the bottom-right corner of the template thumbnail. Its tooltip will display
Delete templatewhen hovered over.Confirm the action by clicking the
Deletebutton on the Workflow template deletion confirmation modal.

Deleting a workflow template cannot be undone.
Best practices
It's a good practice to include security checks as part of your process. Users will get used to it and will help you raise awareness about infrastructure security.
Create as many workflows as you can to represent your deployment scenarios. It helps your team members quickly pick the right one.
Always add a description when you create a template.
Put generic emails (the team's email) in the approvals field in tasks before creating templates so they are not dependent on specific persons.
You can use naming conventions for workflows, especially if you have workflows for different teams.
Last updated