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 4bb5c48 commit 9b98dfc
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 @@ -4066,6 +4066,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 @@ -4217,6 +4229,6 @@ kind: secret
name: gcr_credentials
---
kind: signature
hmac: 5cd4b7348cab90c07fbea0366401945102808db3cd38e31aac7eec2ce5c8ef66
hmac: d964d9e55d85019528a6e1b9f3ddf606906e2320b11988bb0ed47773404d31d9

...
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 9b98dfc

Please sign in to comment.