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

pull/54031/head
Dimitris Sotirakis 3 years ago committed by GitHub
parent 0923d2455c
commit ceb32a7506
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      .drone.yml
  2. 3
      scripts/drone/steps/lib.star

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

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

Loading…
Cancel
Save