Hi all,
We are using vSphere cloud plugin to start/remove nodes on-demand based on the label required and it works great.
So, I'm was thinking to use it for cover another need that at the moment is done via external scripts run by the pipeline.
We are using Jenkins to build pull requests done via GitHub, and the build and tests requires a sidecar VM on which we run some downstream jobs.
All those sidecar VMs are cloned by a common template.
So I was wondering if the label in vSphere cloud plugin supports patterns and creates VM based on those, for example, let's suppose I could put into the label something like:
"sidecar-PR-\(\d+\)" ... and then when a pipeline is requesting an agent with a label matching, i.e. sidecar-PR-4512, then the vSphere cloud plugin will build a node from the template and assign the "sidecar-PR-4512" label.
Is it possible?
Is it something being considered in the past or in working for future releases?
Thanks,
Gianluca.