21 November 2019

New feature: Download files from remote server to filesystem

New feature: Download files from remote server to filesystem

Obsessed with making CI/CD as easy as possible, in the past couple of years we delivered a series of actions allowing developers to automate application delivery in a couple in minutes rather than hours. However, Continuous Delivery is not limited to uploading files to the server. The essential part of the process is testing every commit and building the application before the deployment. Sometimes these steps require files which shouldn’t or cannot be stored in version control, such as configuration files or database dumps required to run tests.

Until now, the most convenient solution was to upload those files manually to the pipeline’s filesystem. With today’s release, we have added 3 dedicated actions that you can use to download files to the filesystem from the following type of servers:

Download actions
Download actions

Configuration is very similar to regular deployment actions. The only difference is that this time the Source path is on the remote server, and the Destination path is in the pipeline’s filesystem:

SFTP download configuration
SFTP download configuration

You can use environment variables to store authentication data and update multiple remotes at once.

Use case

Let’s assume your build requires a configuration file to run. All you need to do is add the download action before the build commences. We have also added a conditional notification to the pipeline that will inform the team in case one of the steps above have failed:

Example pipeline
Example pipeline

Buddy is 100% customer-driven. If there’s a feature or integration you miss, let us know in the comments below or directly at support@buddy.works.