Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tasks/gitlab/snowplow.rake')
-rw-r--r--lib/tasks/gitlab/snowplow.rake11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/tasks/gitlab/snowplow.rake b/lib/tasks/gitlab/snowplow.rake
new file mode 100644
index 00000000000..278ba4a471c
--- /dev/null
+++ b/lib/tasks/gitlab/snowplow.rake
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+namespace :gitlab do
+ namespace :snowplow do
+ desc 'GitLab | Snowplow | Generate event dictionary'
+ task generate_event_dictionary: :environment do
+ items = Gitlab::Tracking::EventDefinition.definitions
+ Gitlab::Tracking::Docs::Renderer.new(items).write
+ end
+ end
+end