Skip to content

Commit 623b135

Browse files
committed
update
1 parent 1769f5a commit 623b135

9 files changed

+36
-0
lines changed

tinybird/pipes/vercel_branch_distribution.pipe

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
TOKEN "read" READ
2+
TAGS "vercel"
3+
14
NODE branch_distribution
25
SQL >
6+
%
37
SELECT
48
coalesce(
59
event.payload.deployment.meta.githubCommitRef,

tinybird/pipes/vercel_commit_types.pipe

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
TOKEN "read" READ
2+
TAGS "vercel"
3+
14
NODE commit_types
25
SQL >
6+
%
37
SELECT
48
multiIf(
59
lower(message) LIKE '%fix%', 'fix',

tinybird/pipes/vercel_deployment_duration.pipe

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
TOKEN "read" READ
2+
TAGS "vercel"
3+
14
NODE deployment_duration
25
SQL >
6+
%
37
SELECT
48
{% if defined(time_range) %}
59
{% if time_range == 'monthly' %}

tinybird/pipes/vercel_deployment_metrics.pipe

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
TOKEN "read" READ
2+
TAGS "vercel"
3+
14
NODE deployment_metrics
25
SQL >
6+
%
37
SELECT
48
count() as total_deployments,
59
round(countIf(event_type = 'deployment.succeeded') * 100.0 / countIf(event_type = 'deployment.created'), 2) as success_rate,

tinybird/pipes/vercel_deployments_over_time.pipe

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
TOKEN "read" READ
2+
TAGS "vercel"
3+
14
NODE deployments_over_time
25
SQL >
6+
%
37
SELECT
48
{% if defined(time_range) %}
59
{% if time_range == 'monthly' %}

tinybird/pipes/vercel_git_analytics.pipe

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
TOKEN "read" READ
2+
TAGS "vercel"
3+
14
NODE git_analytics
25
SQL >
6+
%
37
SELECT
48
event.payload.deployment.meta.githubCommitAuthorName as github_author,
59
event.payload.deployment.meta.gitlabCommitAuthorName as gitlab_author,

tinybird/pipes/vercel_git_distribution.pipe

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
TOKEN "read" READ
2+
TAGS "vercel"
3+
14
NODE git_distribution
25
SQL >
6+
%
37
SELECT
48
multiIf(
59
event.payload.deployment.meta.githubRepo != '', 'GitHub',

tinybird/pipes/vercel_infrastructure_stats.pipe

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
TOKEN "read" READ
2+
TAGS "vercel"
3+
14
NODE infrastructure_stats
25
SQL >
6+
%
37
SELECT
48
event.payload.regions[1] as region,
59
event.payload.type as deployment_type,

tinybird/pipes/vercel_project_stats.pipe

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
TOKEN "read" READ
2+
TAGS "vercel"
3+
14
NODE project_stats
25
SQL >
6+
%
37
SELECT
48
event.payload.project.id as project_id,
59
event.payload.name as project_name,

0 commit comments

Comments
 (0)