summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-11-18 10:50:47 +0100
committerJames Lopez <james@jameslopez.es>2016-11-18 10:50:47 +0100
commitc76ef847817ac6346b2f367be63f482ee2df382a (patch)
treed189219bf309b0af46e12e703d4e2a5390ffaf30 /db
parentcd222357ade5f47f8d52f22dea66965c580a5843 (diff)
downloadgitlab-ce-c76ef847817ac6346b2f367be63f482ee2df382a.tar.gz
run pipeline worker in cycle analytics dev setup
Diffstat (limited to 'db')
-rw-r--r--db/fixtures/development/17_cycle_analytics.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/fixtures/development/17_cycle_analytics.rb b/db/fixtures/development/17_cycle_analytics.rb
index e882a492757..916ee8dbac8 100644
--- a/db/fixtures/development/17_cycle_analytics.rb
+++ b/db/fixtures/development/17_cycle_analytics.rb
@@ -203,6 +203,8 @@ class Gitlab::Seeder::CycleAnalytics
pipeline.run!
Timecop.travel rand(1..6).hours.from_now
pipeline.succeed!
+
+ PipelineMetricsWorker.new.perform(pipeline.id)
end
end