Skip to content

Commit

Permalink
token
Browse files Browse the repository at this point in the history
Signed-off-by: Sarah Funkhouser <[email protected]>
  • Loading branch information
golanglemonade committed Jan 12, 2025
1 parent f838649 commit 0351b03
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .buildkite/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,9 @@ steps:
resultAnnotation="<pre class="term"><code>terminal-to-html cat $$lint_result_file</code></pre>"
if [[ $$lint_result == "soft_failed" || $$lint_result == "hard_failed" ]]; then
echo $$resultAnnotation | buildkite-agent annotate --context apollo-lint-schema --style error
echo $$resultAnnotation | buildkite-agent annotate --context apollo-lint-schema --style error --agent-access-token $BUILDKITE_AGENT_ACCESS_TOKEN
else
echo $$resultAnnotation | buildkite-agent annotate --context apollo-lint-schema --style success
echo $$resultAnnotation | buildkite-agent annotate --context apollo-lint-schema --style success --agent-access-token $BUILDKITE_AGENT_ACCESS_TOKEN
fi
exit $$status
Expand All @@ -216,10 +216,9 @@ steps:
image: "ghcr.io/theopenlane/build-image:8c94146535b4c62382cf6336cde5f02cd7099b90"
always_pull: true
propagate-environment: true
environment:
- "BUILDKITE_AGENT_TOKEN=$BUILDKITE_AGENT_ACCESS_TOKEN"
environment:
- "APOLLO_KEY"
- "BUILDKITE_AGENT_ACCESS_TOKEN"
# - group: ":docker: Image Build"
# depends_on: "go-builds"
# if: build.branch !~ /^renovate\//
Expand Down

0 comments on commit 0351b03

Please sign in to comment.