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
c3c64891
Commit
c3c64891
authored
Mar 25, 2020
by
Ash McKenzie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename method to .seeder_based_on_env
parent
8238d918
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
db/fixtures/development/17_cycle_analytics.rb
db/fixtures/development/17_cycle_analytics.rb
+2
-2
No files found.
db/fixtures/development/17_cycle_analytics.rb
View file @
c3c64891
...
...
@@ -30,7 +30,7 @@ class Gitlab::Seeder::CycleAnalytics
REVIEW_STAGE_MAX_DURATION_IN_HOURS
=
72
DEPLOYMENT_MAX_DURATION_IN_HOURS
=
48
def
self
.
seeder_base_on_env
(
project
)
def
self
.
seeder_base
d
_on_env
(
project
)
if
ENV
[
FLAG
]
self
.
new
(
project:
project
)
elsif
ENV
[
PERF_TEST
]
...
...
@@ -194,7 +194,7 @@ Gitlab::Seeder.quiet do
project_id
=
ENV
[
'CYCLE_ANALYTICS_SEED_PROJECT_ID'
]
project
=
Project
.
find
(
project_id
)
if
project_id
seeder
=
Gitlab
::
Seeder
::
CycleAnalytics
.
seeder_base_on_env
(
project
)
seeder
=
Gitlab
::
Seeder
::
CycleAnalytics
.
seeder_base
d
_on_env
(
project
)
if
seeder
seeder
.
seed!
...
...
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