summaryrefslogtreecommitdiff
path: root/qa/qa/support/helpers/plan.rb
blob: b6950c6bacda629010c232cf1685331901340f24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# frozen_string_literal: true

module QA
  module Support
    module Helpers
      module Plan
        FREE = { name: 'free', price: 0, yearly_price: 0, ci_minutes: 400 }.freeze

        PREMIUM = {
          plan_id: '2c92a00d76f0d5060176f2fb0a5029ff',
          rate_charge_id: '2c92a00d76f0d5060176f2fb0a672a02',
          name: 'premium',
          price: 19,
          yearly_price: 228,
          ci_minutes: 10000
        }.freeze

        PREMIUM_SELF_MANAGED = {
          plan_id: '2c92a01176f0d50a0176f3043c4d4a53',
          rate_charge_id: '2c92a01176f0d50a0176f3043c6a4a58',
          name: 'premium',
          price: 19,
          yearly_price: 228
        }.freeze

        ULTIMATE = {
          plan_id: '2c92a0ff76f0d5250176f2f8c86f305a',
          rate_charge_id: '2c92a0ff76f0d5250176f2f8c896305c',
          name: 'ultimate',
          price: 99,
          yearly_price: 1188,
          ci_minutes: 50000
        }.freeze

        ULTIMATE_SELF_MANAGED = {
          plan_id: '2c92a00c76f0c6c20176f2f9328b33c9',
          rate_charge_id: '2c92a00c76f0c6c20176f2fcbb645b5f',
          name: 'ultimate',
          price: 99,
          yearly_price: 1188
        }.freeze

        CI_MINUTES = {
          plan_id: '2c92a0086a07f4a8016a2c0a1f7b4b4c',
          rate_charge_id: '2c92a0fd6a07f4c6016a2c0af07c3f21',
          name: 'ci_minutes',
          price: 10,
          ci_minutes: 1000
        }.freeze

        STORAGE = {
          plan_id: '2c92a00f7279a6f5017279d299d01cf9',
          rate_charge_id: '2c92a0ff7279a74f017279d5bea71fc5',
          name: 'storage',
          price: 60,
          storage: 10
        }.freeze

        LICENSE_TYPE = {
          legacy_license: 'legacy license',
          online_cloud: 'online license',
          offline_cloud: 'offline license'
        }.freeze
      end
    end
  end
end