From 8e428858dd938ca6d2502e4c2946e9a1def5fe15 Mon Sep 17 00:00:00 2001 From: Kevin Minehart Date: Mon, 18 Sep 2023 15:11:36 -0500 Subject: [PATCH] get docker_username and docker_password from vault --- .drone.yml | 14 +++++++++++++- scripts/drone/vault.star | 2 ++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 135e0dff67b..3b886f7a8d8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4553,6 +4553,18 @@ get: kind: secret name: prerelease_bucket --- +get: + name: username + path: infra/data/ci/grafanaci-docker-hub +kind: secret +name: docker_username +--- +get: + name: password + path: infra/data/ci/grafanaci-docker-hub +kind: secret +name: docker_password +--- get: name: credentials.json path: infra/data/ci/grafana/releng/artifacts-uploader-service-account @@ -4686,6 +4698,6 @@ kind: secret name: gcr_credentials --- kind: signature -hmac: 40be7d7c4f36407f4e84b97724322a0a101e1466db84f09e8e984f82354c85ef +hmac: d5627bcb7896a671be78594ba913e74b50d8aabfcdddff45513b647eb711b743 ... diff --git a/scripts/drone/vault.star b/scripts/drone/vault.star index 31a7e9e50fe..283cc8c17a6 100644 --- a/scripts/drone/vault.star +++ b/scripts/drone/vault.star @@ -41,6 +41,8 @@ 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("docker_username", "infra/data/ci/grafanaci-docker-hub", "username"), + vault_secret("docker_password", "infra/data/ci/grafanaci-docker-hub", "password"), vault_secret( gcp_upload_artifacts_key, "infra/data/ci/grafana/releng/artifacts-uploader-service-account",