Skip to content

Commit 0c95269

Browse files
committed
add pipeline
1 parent dc1a657 commit 0c95269

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)