• Blog
  • ๐Ÿ— Feature spotlight: New build actions
๐Ÿ— Feature spotlight: New build actions

April 27, 2022

๐Ÿ— Feature spotlight: New build actions

If you're a Buddy regular, you surely noticed that the service has been evolving not only in terms of added features, but the looks as well. The new, updated designs have been steadily taking over various parts of the UI. Their spoils so far include pipeline settings, integrations, permissions, sandboxes, variables, users and groups, branches and merge requests, SSH keys, and more.

Below you will find a summary of the latest changes to the second most popular type of actions after deployments: builds.

The new designs are currently available for the Node.js and Custom Build actions. We are going to update the rest of actions in a couple of weeks.

Run commands

The first thing that comes to attention is the new, lighter commands field. Here you can enter the commands that Buddy will run on your code, select the script run mode (Bash or sh), and decide whether the action should be mark as failed on the first or the last unsuccessful command:

Environment

Here you configure the details of the container in which Buddy runs the tasks defined in the CMD field. If you are using the default Docker image from the Docker Hub, it will be represented with a corresponding icon on the tab at the top:

Of course, you are free to use any other image hosted on Amazon, Google, Azure, or in your very own registry:

Packages & tools have been moved to a dedicated tab, too. This is the place where you install dependencies, tools, and frameworks required by your application. Buddy will run these commands on the first execution, caching the software in the container and making it available for future pipeline runs:

Services

This tab lets you attach databases and services required by your builds. The new tiles on the service selection screen follow the design pattern set by the recent update to the projects list, a glimpse of what you may expect once we finish working on the rest of actions:

Caching

Caching lets you mount and manage filesystem paths used to store files between the executions. The tab received a new coat of paint to match other parts of the UI:

Variables

This tab lets you manage variables and SSH keys used by the action. After the update, it also contains the list of all default ENV VARs:

Conditions

First introduced to pipelines, the multi-trigger conditions can now be applied individual builds. This way you can skip the action and shave off another couple of precious seconds from the pipeline execution time:

Options

The last are options which collect miscellaneous settings, such us behavior on failure, number of retries, and the action timeout:

What's next

We are currently working on the rest of actions and the new pipeline overview that will let you manage actions more easily. Of course, we are open to any suggestions and feedback, as no change is permanently fixed โ€“ if there's something that you miss or doesn't work for you, make sure to let us know!

Alexander Kus

Alexander Kus

Customer Success Manager

A story-teller and conversation-lover, Alexander decided to invest his skills to help his friends at Buddy transform the cold language of patch notes into exciting narratives. Also: an avid gamer, hip-hop DJ, Liverpool FC fan, absentminded husband, and the father of two.