Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Tweak BUILDKITE_IGNORED_ENV handling #3029

Merged
merged 1 commit into from
Oct 7, 2024
Merged

Conversation

DrJosh9000
Copy link
Contributor

@DrJosh9000 DrJosh9000 commented Oct 7, 2024

Description

Make it so that, in certain places where env vars from the job might be passed through to the bootstrap incorrectly, the warning message can at least be suppressed.

Context

https://coda.io/d/Escalations-Feedback_dHnUHNps1YO/Pipelines-Escalations_suQ4B7FT#Pipelines-Escalations-Board_tu66S__K/r638

Changes

Change from printing the message if BUILDKITE_IGNORED_ENV merely exists, to printing the message if the var exists and is non-empty.

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 requested a review from a team October 7, 2024 23:15
@DrJosh9000 DrJosh9000 enabled auto-merge October 7, 2024 23:27
@DrJosh9000 DrJosh9000 merged commit dab74a6 into main Oct 7, 2024
1 check passed
@DrJosh9000 DrJosh9000 deleted the tweak-ignored-env-handling branch October 7, 2024 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants