From 2b9be81ea09ad4b4858ebf8368598e6416faea9f Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 10 Dec 2021 23:14:41 +0300 Subject: refactor(ops/pipelines): Use agenix-deployed besadii secrets I *think* this is the final step for b/161 Change-Id: Ie7a2198a045f2f1866a245884ab0f5414e205327 --- ops/pipelines/static-pipeline.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ops') diff --git a/ops/pipelines/static-pipeline.yaml b/ops/pipelines/static-pipeline.yaml index 388cf92315..f366afe24c 100644 --- a/ops/pipelines/static-pipeline.yaml +++ b/ops/pipelines/static-pipeline.yaml @@ -36,7 +36,7 @@ steps: readonly FAILED_JOBS=$(curl 'https://graphql.buildkite.com/v1' \ --silent \ - -H "Authorization: Bearer $(cat /etc/secrets/buildkite-besadii)" \ + -H "Authorization: Bearer $(cat /run/agenix/buildkite-graphql-token)" \ -d "{\"query\": \"query BuildStatusQuery { build(uuid: \\\"$BUILDKITE_BUILD_ID\\\") { jobs(passed: false) { count } } }\"}" | \ jq -r '.data.build.jobs.count') @@ -75,5 +75,5 @@ steps: - label: ":git:" if: "build.branch == 'refs/heads/canon'" command: | - git -c 'credential.helper=/etc/secrets/buildkite-credential-helper' \ + git -c 'credential.helper=gerrit-creds' \ push origin "HEAD:refs/r/$(git rev-list --count --first-parent HEAD)" -- cgit 1.4.1