diff --git a/.drone.yml b/.drone.yml index 91460b25e8a..86b10936860 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,6 +8,11 @@ platform: arch: amd64 steps: +- name: identify-runner + image: alpine:3.12 + commands: + - echo $DRONE_RUNNER_NAME + - name: initialize image: grafana/build-container:1.2.21 commands: @@ -236,6 +241,11 @@ platform: arch: amd64 steps: +- name: identify-runner + image: alpine:3.12 + commands: + - echo $DRONE_RUNNER_NAME + - name: initialize image: grafana/build-container:1.2.21 commands: diff --git a/scripts/lib.star b/scripts/lib.star index 339e7bc1893..c4cad2bfea8 100644 --- a/scripts/lib.star +++ b/scripts/lib.star @@ -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):