clemlesne / blue-agent

Deploy Azure Pipelines agent on Kubernetes. Easy way. Cheap. Windows and Linux.
https://clemlesne.github.io/blue-agent/
Apache License 2.0
43 stars 11 forks source link

[Question] How to set key value capability? #308

Open biggiethehacker opened 1 week ago

biggiethehacker commented 1 week ago

Documentation mentions how to set a single value capability here - https://clemlesne.github.io/blue-agent/docs/advanced-topics/capabilities/#example-arm64-agents.

pipelines:
  poolName: private_kube
  capabilities:
    - arch_arm64

However, there is no mention of how to set a capability where key is arch and value is arm64. Is this possible?

clemlesne commented 6 days ago

Well, when you want to match where key is arch and value is arm64, you can add a arch_arm64 capability 😸

In what the actual implementation causes you issues?