1. 19 Aug, 2021 1 commit
    • Avielle Wolfe's avatar
      Merge `#actual_minutes_used_up?` to `#enabled?` · f08c1f7a
      Avielle Wolfe authored
      Changes were recently made to `Ci::Minutes::Quota` that added methods
      that avoided checking `Project#shared_runners_enabled` pending the work
      done in this MR. They can now be merged into the existing methods, since
      `Quota#enabled?` is no longer checking against `#shared_runners_enabled`
      f08c1f7a
  2. 17 Aug, 2021 1 commit
    • Avielle Wolfe's avatar
      Keep shared runner UI after model change · 41ea3080
      Avielle Wolfe authored
      Even though we are now counting minutes when shared runners are
      disabled, we don't want to show that information in the UI, since it may
      be confusing to users to see minutes being counted after they have
      disabled shared runners. Avoiding changes to the UI involves re-adding a
      check for Namespace#any_project_with_shared_runners_enabled? in some
      places.
      41ea3080
  3. 16 Aug, 2021 38 commits