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 (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:
Copying to another project
Existing pipelines can be copied in full to other projects in your workspace. You can copy pipelines in two ways.
- COPY FROM. Go to the target project and select the option from the hamburger menu at the top:
- COPY TO. Expand the options over the source pipeline and select the copy option from the list:
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).
Export / Import
You can export pipeline configuration to YAML files to create templates 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.
- To export configuration of all pipelines in the project, click the hamburger icon at the top and select
Export pipelines. You can then manually select the pipelines to export or leave out:
- To export configuration of a single pipeline, select the option from the hamburger menu over the desired pipeline:
To import your pipelines, go to the target project and select Import pipelines from the hamburger menu at the top:
Buddy will ask you to provide the file with pipeline definitions and the decryption salt of the workspace where the pipelines were originally hosted:
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: