Skip to content

Commit

Permalink
get docker_username and docker_password from vault
Browse files Browse the repository at this point in the history
  • Loading branch information
kminehart committed Sep 18, 2023
1 parent 2b2d40b commit 8e42885
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -4686,6 +4698,6 @@ kind: secret
name: gcr_credentials
---
kind: signature
hmac: 40be7d7c4f36407f4e84b97724322a0a101e1466db84f09e8e984f82354c85ef
hmac: d5627bcb7896a671be78594ba913e74b50d8aabfcdddff45513b647eb711b743

...
2 changes: 2 additions & 0 deletions scripts/drone/vault.star
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 8e42885

Please sign in to comment.