mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 23:53:10 +08:00
Drone: Identify Drone runner for each pipeline (#26573)
* Drone: Identify Drone runner for each pipeline
This commit is contained in:
@ -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):
|
||||
|
Reference in New Issue
Block a user