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 59f0f6b commit 8425925
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 @@ -4179,6 +4179,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 @@ -4330,6 +4342,6 @@ kind: secret
name: gcr_credentials
---
kind: signature
hmac: 6e0557d0803fe49def459921054bf6641a592426639e24f91d857138eeb47c52
hmac: 95a078ec021e3a8992d25bb971e51cd8b0cdc7952c437ce951ee7a98c1448bfb

...
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 8425925

Please sign in to comment.