Introducing: Tags for workers and pipelines
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:
- The default with Buddy Self-Hosted installation.
- A specific worker added by the user.
- 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.
How to apply tags
- Go to the pipeline that you want to dynamically allocate.
- Switch to the Settings tab and scroll down to the Worker assignment menu.
- Select 'Automatically assign pipelines to workers by matching them by tags'.
- Create one or more tags to label the pipeline:
Image loading...
- Next, go to the On-Premises Admin link and switch to the Workers tab.
Image loading...
- Click the desired worker.
- Select the tag(s) that you applied to the pipeline:
Image loading...
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:
Image loading...
Jarek Dylewski
Customer Support
A journalist and an SEO specialist trying to find himself in the unforgiving world of coders. Gamer, a non-fiction literature fan and obsessive carnivore. Jarek uses his talents to convert the programming lingo into a cohesive and approachable narration.