We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc1a657 commit 0c95269Copy full SHA for 0c95269
tinybird/datasources/gitlab_pipeline.datasource
@@ -0,0 +1,20 @@
1
+TOKEN "append" APPEND
2
+
3
+# Refer to https://docs.gitlab.com/ee/user/project/integrations/webhook_events.html#pipeline-events
4
5
+TAGS "gitlab"
6
7
+SCHEMA >
8
+ `object_kind` String `json:$.object_kind`,
9
+ `object_attributes` JSON `json:$.object_attributes`,
10
+ `merge_request` JSON `json:$.merge_request` DEFAULT '{}',
11
+ `user_id` String `json:$.user.id`,
12
+ `user` JSON `json:$.user`,
13
+ `project_id` String `json:$.project.id`,
14
+ `project` JSON `json:$.project`,
15
+ `commit` JSON `json:$.commit` DEFAULT '{}',
16
+ `source_pipeline` JSON `json:$.source_pipeline` DEFAULT '{}',
17
+ `builds` Array(JSON) `json:$.builds` DEFAULT '[]'
18
19
+ENGINE "MergeTree"
20
+ENGINE_SORTING_KEY "project_id, user_id"
0 commit comments