K8s jobs together with regular agents?

Is it possible to have DRONE_KUBERNETES_ENABLED and still use regular agents?

My use case:

  • I’m using preemptible nodes on Google Cloud for drone
  • Kubernetes jobs allow me to not worry about builds breaking when a node goes down, because jobs are restarted automatically
  • Now I also want to run tests using external agents, for example drone-runner-exec on Windows for UI tests

Will drone accept agents with the Kubernetes mode enabled? I’m using drone server 1.2.3. I was planning to have all builds use regular pipelines and mark the ones which should run on agents using type: exec or using node labels.

1 Like