Introducing: Tags for workers and pipelines

February 16, 2022

Introducing: Tags for workers and pipelines

NOTE: Due to its nature, the feature is restricted to on-premises installations of Buddy.

The on-premises installation of Buddy lets you add extra workers to scale the horsepower and run resource-demanding tasks on several machines at once. Each pipeline can be assigned to a particular worker with the option in the pipeline settings:

  1. The default with Buddy On-Premises installation.
  2. A specific worker added by the user.
  3. A worker that matches the pipeline tag.

Let's have a closer look at the newest addition to the party: tags.

How tags work

In short, tags mark pipelines for workers to look up and execute. The idea is to evenly distribute the workload across the infrastructure and is especially useful for teams working simultaneously on multiple projects that require a large number of pipeline executions per day.

Please mind that whenever a pipeline is moved to another worker, its filesystem is cleared i.e. the first execution on the new worker is always run from scratch.

How to apply tags

  1. Go to the pipeline that you want to dynamically allocate.
  2. Switch to the Settings tab and scroll down to the Worker assignment menu.
  3. Select 'Automatically assign pipelines to workers by matching them by tags'.
  4. Create one or more tags to label the pipeline:

Creating worker labelsCreating worker labels

  1. Next, go to the On-Premises Admin link and switch to the Workers tab.

Workers viewWorkers view

  1. Click the desired worker.
  2. Select the tag(s) that you applied to the pipeline:

Selecting tagsSelecting tags

If no tagged workers match the label on the pipeline, the execution will be performed on the default machine, or a worker without any tags.

And that's it – from now on, whenever the pipeline is waiting in line for an execution, Buddy will transfer it to the nearest worker with the matching label, a feature that will help you optimize your workflow and maximize the usage of available resources.

Managing tags

You can delete, rename, and apply colors to existing tags by clicking the hamburger menu in the worker details:

Tag management locationTag management location

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.

Share:

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.