-
Type:
Suggestion
-
Resolution: Unresolved
-
None
-
Component/s: Elastic Bamboo
-
None
-
1
Currently there is no REST API to provide image capabilities. Instead you have to enter these manually on the image config page.
Automatic Gathering capabilities for an image config would be a better way to go. e.g. a image could be started (but no build queued), waiting for the agent and gather its capabilities and update the image config capabilities then. During that process there is no need to assign a build to that agent and the machine can be terminated after.
With the flow described above using the bamboo-capabilities.properties file can be re-used and the agent can give its capabilities.