I’m wondering if it’s possible to use drone-cli exec to execute a build on a runner and if yes how? Let say I have .drone.yml
as follow:
kind: pipeline
type: docker
name: default
steps:
- name: deploy
image: alpine
volumes:
- name: app
path: /app
commands:
- cd /app/
- ... do something ...
volumes:
- name: app
host:
path: /somepath/to/an/app
node:
myproject: develop_instance
The goal would be to run that on the runner which defined the following label: DRONE_RUNNER_LABELS=myproject:develop_instance
.