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
b2ce026d
Commit
b2ce026d
authored
Feb 10, 2021
by
Adam Hegyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable VSA deployment query modifications
This change enables the query_deploymenys_via_finished_at_in_vsa FF.
parent
01031763
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
3 deletions
+8
-3
changelogs/unreleased/enable-query_deployments_via_finished_at_in_vsa-ff.yml
...ed/enable-query_deployments_via_finished_at_in_vsa-ff.yml
+5
-0
config/feature_flags/development/query_deploymenys_via_finished_at_in_vsa.yml
.../development/query_deploymenys_via_finished_at_in_vsa.yml
+1
-1
ee/lib/gitlab/analytics/cycle_analytics/summary/group/deploy.rb
.../gitlab/analytics/cycle_analytics/summary/group/deploy.rb
+1
-1
lib/gitlab/cycle_analytics/summary/deploy.rb
lib/gitlab/cycle_analytics/summary/deploy.rb
+1
-1
No files found.
changelogs/unreleased/enable-query_deployments_via_finished_at_in_vsa-ff.yml
0 → 100644
View file @
b2ce026d
---
title
:
Filter deployments by finished_at in Value Stream Analytics
merge_request
:
53861
author
:
type
:
changed
config/feature_flags/development/query_deploymenys_via_finished_at_in_vsa.yml
View file @
b2ce026d
...
...
@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/300649
milestone
:
'
13.9'
type
:
development
group
:
group::optimize
default_enabled
:
fals
e
default_enabled
:
tru
e
ee/lib/gitlab/analytics/cycle_analytics/summary/group/deploy.rb
View file @
b2ce026d
...
...
@@ -20,7 +20,7 @@ module Gitlab
# rubocop: disable CodeReuse/ActiveRecord
def
deployments_count
@deployments_count
||=
if
Feature
.
enabled?
(
:query_deploymenys_via_finished_at_in_vsa
)
@deployments_count
||=
if
Feature
.
enabled?
(
:query_deploymenys_via_finished_at_in_vsa
,
default_enabled: :yaml
)
deployments
=
DeploymentsFinder
.
new
(
group:
group
,
finished_after:
options
[
:from
],
finished_before:
options
[
:to
],
status: :success
)
.
execute
...
...
lib/gitlab/cycle_analytics/summary/deploy.rb
View file @
b2ce026d
...
...
@@ -15,7 +15,7 @@ module Gitlab
private
def
deployments_count
if
Feature
.
enabled?
(
:query_deploymenys_via_finished_at_in_vsa
)
if
Feature
.
enabled?
(
:query_deploymenys_via_finished_at_in_vsa
,
default_enabled: :yaml
)
DeploymentsFinder
.
new
(
project:
@project
,
finished_after:
@from
,
finished_before:
@to
,
status: :success
)
.
execute
...
...
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