about summary refs log tree commit diff
path: root/ops/pipelines/static-pipeline.yaml
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-12-10T20·14+0300
committerVincent Ambo <mail@tazj.in>2021-12-10T20·14+0300
commit2b9be81ea09ad4b4858ebf8368598e6416faea9f (patch)
treef2b4090ec97282260b5aed5da1c6ea50b2bac7bd /ops/pipelines/static-pipeline.yaml
parent60f96d2b17579ad3d0c23ecad81378694bda055c (diff)
refactor(ops/pipelines): Use agenix-deployed besadii secrets r/3202
I *think* this is the final step for b/161

Change-Id: Ie7a2198a045f2f1866a245884ab0f5414e205327
Diffstat (limited to 'ops/pipelines/static-pipeline.yaml')
-rw-r--r--ops/pipelines/static-pipeline.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/ops/pipelines/static-pipeline.yaml b/ops/pipelines/static-pipeline.yaml
index 388cf92315df..f366afe24cca 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)"