feat(e2e-artifacts): upload e2e artifacts to a gcs bucket (#43210)

feat(e2e-artifacts): upload e2e artifacts to a gcs bucket
This commit is contained in:
Timur Olzhabayev
2021-12-24 10:43:32 +01:00
committed by GitHub
parent 3b4a4be3c6
commit 169d39f8e4
7 changed files with 271 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ pull_secret = 'dockerconfigjson'
github_token = 'github_token'
drone_token = 'drone_token'
prerelease_bucket = 'prerelease_bucket'
gcp_upload_artifacts_key = 'gcp_upload_artifacts_key'
def from_secret(secret):
return {
@@ -24,4 +25,5 @@ def secrets():
vault_secret(github_token, 'infra/data/ci/github/grafanabot', 'pat'),
vault_secret(drone_token, 'infra/data/ci/drone', 'machine-user-token'),
vault_secret(prerelease_bucket, 'infra/data/ci/grafana/prerelease', 'bucket'),
vault_secret(gcp_upload_artifacts_key, 'infra/data/ci/grafana/releng/artifacts-uploader-service-account', 'credentials.json'),
]