Add GCP_KEY secret to the artifacts-page pipeline (#54013)

This commit is contained in:
Dimitris Sotirakis 2022-08-22 16:44:43 +03:00 committed by GitHub
parent 0923d2455c
commit ceb32a7506
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -3714,6 +3714,9 @@ steps:
- ./bin/grabpl artifacts-page
depends_on:
- grabpl
environment:
GCP_KEY:
from_secret: gcp_key
image: grafana/build-container:1.5.9
name: artifacts-page
trigger:
@ -5171,6 +5174,6 @@ kind: secret
name: gcp_upload_artifacts_key
---
kind: signature
hmac: ee6ca0d5e6990802f6b69df6616b18f1c4a60dc541326dd4304f9e68f858dda4
hmac: 4922e4495148755ec45cf230190acbd7f7b564c831d98e10697381dda5cb75ef
...

View File

@ -1229,6 +1229,9 @@ def artifacts_page_step():
'depends_on': [
'grabpl',
],
'environment': {
'GCP_KEY': from_secret('gcp_key'),
},
'commands': [
'./bin/grabpl artifacts-page',
],