Duplicate & Export/Import

Buddy lets you easily reproduce both individual actions and complete pipelines without the need to manually configure actions every time you do it.


When you duplicate a pipeline, Buddy creates an exact copy of all the pipeline's actions and settings. This feature is useful for creating alternative variants of the same flow, e.g. adding new deployment servers, as you just need to update the details in the deployment action.

To duplicate a pipeline, click the hamburger icon over the source pipeline and select Duplicate from the list:

Duplicating a pipelineDuplicating a pipeline

Reproducing in another project

To reproduce a pipeline in another project, go to the target project and click the New pipeline button. Switch to the Duplicate tab, select the pipeline host project, and click the pipeline to duplicate it:

It is not possible to copy pipelines between workspaces. Instead, you can export your pipeline configuration to a YAML file and import them in the second workspace (see below).
Hover the cursor over pipeline actions to see their name.

Export / Import

You can export pipeline configuration to YAML files that can be easily used in any new project or workspace.

All sensitive data in the pipeline, such as passwords, is encrypted. To decrypt the data, you need the salt of the pipeline's source workspace.

Exporting pipelines

  1. To export configuration of all pipelines in the project, click the hamburger icon at the top and select Download YAML config. You can then manually select the pipelines to export or leave out:

Exporting configuration of all pipelinesExporting configuration of all pipelines

  1. To export configuration of a single pipeline, select the option from the hamburger menu over the desired pipeline:

Exporting configuration of a single pipelineExporting configuration of a single pipeline

Importing pipelines

To import your pipelines, go to the target project and select Import YAML config from the hamburger menu at the top:

Importing pipeline configurationImporting pipeline configuration

Buddy will ask you to provide the file with pipeline definitions and the decryption salt of the workspace where the pipelines were originally hosted:

Importing pipeline configurationImporting pipeline configuration

If you don't provide the correct encryption salt, Buddy imports the pipeline, but the sensitive data is not decrypted – you must fill in these details manually.

Managing secrets in exported YAML files

All sensitive data, such as passwords, is encrypted when you export pipelines. To decrypt the data, you need to provide the encryption salt – a random string used as an additional input in the hashing function.

The decryption salt is constant and unique for every workspace. When importing pipelines from another workspace, you need to know the salt of the pipeline's source workspace to decrypt the sensitive data.

Administrators and workspace owners can view the encryption salt in the Workspace Settings tab:

Encryption salt in Workspace SettingsEncryption salt in Workspace Settings

Last modified on August 31, 2022

Get Started

Sign up for free and deploy your project in less than 10 minutes.