Skip to content

Reroute CI Minutes purchase for personal namespace

Diana Zubova requested to merge dz/338724-reroute-ci-minutes-purchase into master

What does this MR do?

Related issue: #338724 (closed)

Reroute CI Minutes purchase for personal namespace to CustomersDot flow

Screenshots or Screencasts (strongly suggested)

For a personal namespace

Screen_Recording_2021-08-19_at_12.39.17

For a group namespace

Screen_Recording_2021-08-19_at_12.38.49

How to setup and validate locally (strongly suggested)

  1. Enable the feature
    Feature.enable(:new_route_ci_minutes_purchase)

Expected behavior for a group namespace (didn't change)

  1. Open a group that is eligible for CI Minutes purchase
  2. Choose Usage quotas in the left menu -> Buy additional minutes -> You should be redirected to -/subscriptions/buy_minutes?selected_group=<this_group_id>

Expected behavior for a personal namespace (changed)

  1. Open your personal Preferences
  2. Choose Usage quotas in the left menu -> Buy additional minutes -> You should be redirected to CustomersDot /buy_pipeline_minutes

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Diana Zubova

Merge request reports