Skip to content

chore: use staging billing endpoint when feature flag is set

What does this merge request do and why?

It reads the use_billing_staging_endpoint feature flag that was introduced in gitlab-org/gitlab!211434 (merged) and uses the staging billing endpoint in production when enabled.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Merge request checklist

  • Tests added for new functionality. If not, please raise an issue to follow up.
  • Documentation added/updated, if needed.
  • If this change requires executor implementation: verified that issues/MRs exist for both Go executor and Node executor or confirmed that changes are backward-compatible and don't break existing executor functionality.

Related to https://gitlab.com/gitlab-org/architecture/usage-billing/design-doc/-/issues/32

Edited by Martin Wortschack

Merge request reports

Loading