Skip to content

Conversation

@pda
Copy link
Member

@pda pda commented Feb 6, 2025

Make the API endpoint configurable from the BUILDKITE_ANALYTICS_ENDPOINT environment variable.

It defaults to https://analytics-api.buildkite.com/v1/uploads, was previously only configurable by Ruby code:

Buildkite::TestCollector.configure(url: "http://localhost:1234/example", )

But it can be useful to inject different endpoints without changing the code, for testing etc.

@pda pda requested a review from a team as a code owner February 6, 2025 01:16
@niceking
Copy link
Contributor

niceking commented Feb 6, 2025

Change looks fine, looks like a test needs to be updated tho

@malclocke malclocke force-pushed the env-buildkite-analytics-endpoint branch from dffe15a to 87ca2ff Compare October 28, 2025 02:23
@malclocke malclocke force-pushed the env-buildkite-analytics-endpoint branch from 87ca2ff to 146a6ed Compare October 28, 2025 02:24
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.

3 participants