Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

k8s: Unconditionally set BUILDKITE_AGENT_ACCESS_TOKEN #2942

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

DrJosh9000
Copy link
Contributor

Description

Unconditionally set BUILDKITE_AGENT_ACCESS_TOKEN, regardless of whether it is already set.
This matches pre-#2851 behaviour.

Context

Manually setting BUILDKITE_AGENT_ACCESS_TOKEN within the command container was found to break uses of many agent subcommands (e.g. meta-data set) within jobs run on newer agents (v3.74.1 and later) in the k8s stack.

https://coda.io/d/Escalations-Feedback_dHnUHNps1YO/Pipelines-Escalations_su7FT#Pipelines-Escalations-Board_tu__K/r597&view=modal

Testing

  • Tests have run locally (with go test ./...). Buildkite employees may check this if the pipeline has run automatically.
  • Code is formatted (with go fmt ./...)

@DrJosh9000 DrJosh9000 force-pushed the fix-k8s-access-token branch from 82d2cc0 to 7da8091 Compare August 20, 2024 01:15
@DrJosh9000 DrJosh9000 requested a review from CerealBoy August 20, 2024 01:15
Copy link
Contributor

@CerealBoy CerealBoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 LGTM

@DrJosh9000 DrJosh9000 enabled auto-merge August 20, 2024 01:17
@DrJosh9000 DrJosh9000 merged commit ffc3bce into main Aug 20, 2024
1 check passed
@DrJosh9000 DrJosh9000 deleted the fix-k8s-access-token branch August 20, 2024 01:29
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants