From 7deaeb0f9e6578f378d922b2290bfa4bdfa42466 Mon Sep 17 00:00:00 2001 From: Dimitris Sotirakis Date: Mon, 5 Dec 2022 16:49:33 +0200 Subject: [PATCH] CI: Add `identify-runner` step for publish images (#59827) Add missing identify-runner step --- .drone.yml | 14 +++++++++++++- scripts/drone/pipelines/publish_images.star | 2 ++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index afa440e9753..4d427ed0cfa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3857,6 +3857,10 @@ platform: os: linux services: [] steps: +- commands: + - echo $DRONE_RUNNER_NAME + image: alpine:3.15.6 + name: identify-runner - commands: - mkdir -p bin - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.17/grabpl @@ -3949,6 +3953,10 @@ platform: os: linux services: [] steps: +- commands: + - echo $DRONE_RUNNER_NAME + image: alpine:3.15.6 + name: identify-runner - commands: - mkdir -p bin - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.17/grabpl @@ -4024,6 +4032,10 @@ platform: os: linux services: [] steps: +- commands: + - echo $DRONE_RUNNER_NAME + image: alpine:3.15.6 + name: identify-runner - commands: - mkdir -p bin - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v3.0.17/grabpl @@ -6306,6 +6318,6 @@ kind: secret name: packages_secret_access_key --- kind: signature -hmac: e7746a4b35fba9e1a7cb3096b947a874786b082f41e4252448ac6acde7ee3ccf +hmac: efffc2eb55bbfa1cebe950585df1f3f81d2f2a38311e2854f3ce08d1eec16fe3 ... diff --git a/scripts/drone/pipelines/publish_images.star b/scripts/drone/pipelines/publish_images.star index 3481dadcd73..6281890a17c 100644 --- a/scripts/drone/pipelines/publish_images.star +++ b/scripts/drone/pipelines/publish_images.star @@ -1,5 +1,6 @@ load( 'scripts/drone/steps/lib.star', + 'identify_runner_step', 'download_grabpl_step', 'publish_images_step', 'compile_build_cmd', @@ -17,6 +18,7 @@ def publish_image_steps(edition, mode, docker_repo): if edition == 'oss': additional_docker_repo='grafana/grafana-oss' steps = [ + identify_runner_step(), download_grabpl_step(), compile_build_cmd(), fetch_images_step(edition),