Change bucket

This commit is contained in:
dsotirakis
2022-01-19 10:42:49 +02:00
parent 42bffe2310
commit f7b85c5dd9
2 changed files with 6 additions and 4 deletions
+5 -3
View File
@@ -2656,7 +2656,8 @@ steps:
name: grabpl name: grabpl
- commands: - commands:
- printenv GCP_KEY | base64 -d > /tmp/gcpkey.json - printenv GCP_KEY | base64 -d > /tmp/gcpkey.json
- ./bin/grabpl store-packages --edition oss --gcp-key /tmp/gcpkey.json ${DRONE_TAG} - ./bin/grabpl store-packages --edition oss --packages-bucket grafana-downloads
--gcp-key /tmp/gcpkey.json ${DRONE_TAG}
depends_on: depends_on:
- grabpl - grabpl
environment: environment:
@@ -2674,7 +2675,8 @@ steps:
name: store-packages-oss name: store-packages-oss
- commands: - commands:
- printenv GCP_KEY | base64 -d > /tmp/gcpkey.json - printenv GCP_KEY | base64 -d > /tmp/gcpkey.json
- ./bin/grabpl store-packages --edition enterprise --gcp-key /tmp/gcpkey.json ${DRONE_TAG} - ./bin/grabpl store-packages --edition enterprise --packages-bucket grafana-downloads
--gcp-key /tmp/gcpkey.json ${DRONE_TAG}
depends_on: depends_on:
- grabpl - grabpl
environment: environment:
@@ -5146,6 +5148,6 @@ kind: secret
name: prerelease_bucket name: prerelease_bucket
--- ---
kind: signature kind: signature
hmac: c405c799db7cac8262e1ffba013983f9ca3ce0b074767c088988ca774e6f5cab hmac: 22628a3937dc59d00cc04d5c01c3fd2e309bb6295d7564b8badce6b0dcf6fcfd
... ...
+1 -1
View File
@@ -937,7 +937,7 @@ def store_packages_step(edition, ver_mode, is_downstream=False):
test_release_ver, test_release_ver,
) )
elif ver_mode == 'release': elif ver_mode == 'release':
cmd = './bin/grabpl store-packages --edition {} --gcp-key /tmp/gcpkey.json ${{DRONE_TAG}}'.format( cmd = './bin/grabpl store-packages --edition {} --packages-bucket grafana-downloads --gcp-key /tmp/gcpkey.json ${{DRONE_TAG}}'.format(
edition, edition,
) )
elif ver_mode == 'main': elif ver_mode == 'main':