refactor(ops/pipelines): Use agenix-deployed besadii secrets
I *think* this is the final step for b/161 Change-Id: Ie7a2198a045f2f1866a245884ab0f5414e205327
This commit is contained in:
parent
60f96d2b17
commit
2b9be81ea0
1 changed files with 2 additions and 2 deletions
|
@ -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)"
|
||||
|
|
Loading…
Reference in a new issue