Add GCP_KEY to publish-grafanacom step (#57910)

This commit is contained in:
Dimitris Sotirakis 2022-11-01 09:41:15 +02:00 committed by GitHub
parent 45234e76eb
commit 1eaf7cbfc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -3779,6 +3779,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
@ -3890,6 +3892,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
@ -5612,6 +5616,6 @@ kind: secret
name: packages_secret_access_key
---
kind: signature
hmac: d3b06a42ab277a3f065d4fd6e0367cb67aac08c60d4bb20438d1ba5f64d369cc
hmac: a6ffce1281d86597d2b88df238241ef19f7924574e9d3910213910fc7c080d91
...

View File

@ -1038,6 +1038,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,