We've run into an interesting conundrum with using Elastic Agents. We have two elastic images, one Linux, one Windows. Both images have a base set of capabilities in common (Maven versions, JDK and a few others). The issue we're having is that, if a plan defines a set of requirements that are only filled by the base capabilities (say only needs Maven) Bamboo won't be guaranteed to launch the Linux based image. This becomes a problem when the plan is actually expecting a Linux file system (a user script in the OOB script task for example). Is there a way to tell Bamboo to, in cases where a plans requirements could be met by more than one Elastic Image, to default to a specific image?
Hi @Timothy Miller,
An option is to add a Custom capability in the agents configuration then in your plan adding a requirement that matches your custom capability.
For example: "key: OS = value: Linux" and then under requirements of the plan.
@Edwin Kyalangalilwa- Already thought of that, the problem is that we have 1000s of plans with multiple stages which would need to be updated with that value. We're currently dedicating plans that require Windows to the Windows based images but would like to get away from that as it adds a manual administration step to what is generally an automated self-service process for our end users.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah gotcha! I see now - that makes it complicated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.