Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
45da0404
Commit
45da0404
authored
Jul 24, 2021
by
Siddharth Asthana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove `gitlab_subscription_future_renewal` feature flag
Changelog: other EE: true
parent
bd058e8c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
17 deletions
+0
-17
ee/app/services/gitlab_subscriptions/check_future_renewal_service.rb
...ices/gitlab_subscriptions/check_future_renewal_service.rb
+0
-1
ee/config/feature_flags/development/gitlab_subscription_future_renewal.yml
..._flags/development/gitlab_subscription_future_renewal.yml
+0
-8
ee/spec/services/gitlab_subscriptions/check_future_renewal_service_spec.rb
...gitlab_subscriptions/check_future_renewal_service_spec.rb
+0
-8
No files found.
ee/app/services/gitlab_subscriptions/check_future_renewal_service.rb
View file @
45da0404
...
@@ -14,7 +14,6 @@ module GitlabSubscriptions
...
@@ -14,7 +14,6 @@ module GitlabSubscriptions
end
end
def
execute
def
execute
return
false
unless
Feature
.
enabled?
(
:gitlab_subscription_future_renewal
,
default_enabled: :yaml
)
return
false
unless
namespace
.
gitlab_subscription
.
present?
return
false
unless
namespace
.
gitlab_subscription
.
present?
future_renewal
future_renewal
...
...
ee/config/feature_flags/development/gitlab_subscription_future_renewal.yml
deleted
100644 → 0
View file @
bd058e8c
---
name
:
gitlab_subscription_future_renewal
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56235
rollout_issue_url
:
https://gitlab.com/gitlab-org/gitlab/-/issues/324157
milestone
:
'
13.11'
type
:
development
group
:
group::utilization
default_enabled
:
false
ee/spec/services/gitlab_subscriptions/check_future_renewal_service_spec.rb
View file @
45da0404
...
@@ -61,13 +61,5 @@ RSpec.describe GitlabSubscriptions::CheckFutureRenewalService, :use_clean_rails_
...
@@ -61,13 +61,5 @@ RSpec.describe GitlabSubscriptions::CheckFutureRenewalService, :use_clean_rails_
it
{
is_expected
.
to
be
false
}
it
{
is_expected
.
to
be
false
}
end
end
context
'when the `gitlab_subscription_future_renewal` feature flag is disabled'
do
before
do
stub_feature_flags
(
gitlab_subscription_future_renewal:
false
)
end
it
{
is_expected
.
to
be
false
}
end
end
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment