diff --git a/.drone.yml b/.drone.yml index 19fc08eb59c..157c9bdc6a7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3308,7 +3308,7 @@ steps: - rpm --import https://rpm.grafana.com/gpg.key - 'echo "Step 4: Configuring Grafana repository..."' - |- - echo '[grafana] + echo -e '[grafana] name=grafana baseurl=https://rpm.grafana.com repo_gpgcheck=0 @@ -3486,7 +3486,7 @@ steps: - rpm --import https://rpm.grafana.com/gpg.key - 'echo "Step 4: Configuring Grafana repository..."' - |- - echo '[grafana] + echo -e '[grafana] name=grafana baseurl=https://rpm.grafana.com repo_gpgcheck=0 @@ -5514,6 +5514,6 @@ kind: secret name: gcr_credentials --- kind: signature -hmac: 2478fec0f251bc9f1eeaa692cdc5b150e7d6f93f143c1b8e6a149fada98cd097 +hmac: 1a6176686248c5751036eef67b3972b3ea002aa82226dfc28bd565febf17cb19 ... diff --git a/scripts/drone/steps/lib.star b/scripts/drone/steps/lib.star index 32491e68672..c8cf5337efe 100644 --- a/scripts/drone/steps/lib.star +++ b/scripts/drone/steps/lib.star @@ -1318,7 +1318,7 @@ def verify_linux_RPM_packages_step(depends_on = []): 'echo "Step 3: Adding Grafana GPG key..."', "rpm --import https://rpm.grafana.com/gpg.key", 'echo "Step 4: Configuring Grafana repository..."', - "echo '" + repo_config + "' > /etc/yum.repos.d/grafana.repo", + "echo -e '" + repo_config + "' > /etc/yum.repos.d/grafana.repo", 'echo "Step 5: Checking RPM repository..."', "dnf list available grafana-${TAG}", "if [ $? -eq 0 ]; then",