Drone: Identify Drone runner for each pipeline (#26573)

* Drone: Identify Drone runner for each pipeline
This commit is contained in:
Arve Knudsen
2020-07-24 10:13:21 +02:00
committed by GitHub
parent 5e73a92327
commit 49b86e88ac
2 changed files with 18 additions and 0 deletions

View File

@ -126,6 +126,14 @@ def pipeline(name, edition, trigger, steps, services=[]):
'disable': True,
}
pipeline['steps'].insert(0, {
'name': 'identify-runner',
'image': alpine_image,
'commands': [
'echo $DRONE_RUNNER_NAME',
],
})
return pipeline
def init_steps(edition):