Add GCP_KEY to publish-grafanacom step (#57910) (#57948)

(cherry picked from commit 1eaf7cbfc0)
This commit is contained in:
Dimitris Sotirakis
2022-11-01 09:07:44 +00:00
committed by GitHub
parent 522a819e9e
commit 3274e8727e
2 changed files with 6 additions and 1 deletions
+5 -1
View File
@@ -3816,6 +3816,8 @@ steps:
depends_on:
- publish-packages-oss
environment:
GCP_KEY:
from_secret: gcp_key
GRAFANA_COM_API_KEY:
from_secret: grafana_api_key
image: grafana/grafana-ci-deploy:1.3.3
@@ -3927,6 +3929,8 @@ steps:
depends_on:
- publish-packages-enterprise
environment:
GCP_KEY:
from_secret: gcp_key
GRAFANA_COM_API_KEY:
from_secret: grafana_api_key
image: grafana/grafana-ci-deploy:1.3.3
@@ -5622,6 +5626,6 @@ kind: secret
name: packages_secret_access_key
---
kind: signature
hmac: 170743e634118a20238e3c360d87177b98bb391bb3eb9ff409b3adb78e4686df
hmac: 1c0aab8b158701fdee8f92fa746a6dedaef1bbbe03f636dda626b14d71387d21
...
+1
View File
@@ -1040,6 +1040,7 @@ def publish_grafanacom_step(edition, ver_mode):
],
'environment': {
'GRAFANA_COM_API_KEY': from_secret('grafana_api_key'),
'GCP_KEY': from_secret('gcp_key'),
},
'commands': [
cmd,