forked from fal-ai/dbt-cloud-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
88 lines (75 loc) · 2.49 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
name: "Recce dbt Cloud action"
description: "Runs a dbt Cloud Job and prepare for Recce specified by Job ID"
branding:
icon: "cloud"
color: "orange"
inputs:
dbt_cloud_url:
description: dbt Cloud base API URL
required: false
default: https://cloud.getdbt.com
dbt_cloud_token:
description: dbt Cloud API token
required: true
dbt_cloud_account_id:
description: dbt Cloud account ID
required: true
dbt_cloud_base_job_id:
description: dbt Cloud Job ID for the base environment in Recce
required: true
dbt_cloud_current_job_id:
description: dbt Cloud Job ID for the current environment in Recce
required: true
interval:
description: Interval between polls in seconds
required: false
default: "30"
failure_on_error:
description: Boolean to make the action report a failure when dbt-cloud runs. Mark this as `false` to run fal after the dbt-cloud job.
required: true
cause:
description: Job trigger cause
required: true
default: Triggered by a GitHub Action
git_sha:
description: The git sha to check out before running this job
required: false
git_branch:
description: The git branch to check out before running this job
required: false
schema_override:
description: Override the destination schema in the configured target for this job.
required: false
dbt_version_override:
description: Override the version of dbt used to run this job
required: false
threads_override:
description: Override the number of threads used to run this job
required: false
target_name_override:
description: Override the target.name context variable used when running this job
required: false
generate_docs_override:
description: Override whether or not this job generates docs (true=yes, false=no)
required: false
# type: boolean
timeout_seconds_override:
description: Override the timeout in seconds for this job
required: false
# type: integer
steps_override:
description: Override the list of steps for this job. Pass a yaml list enclosed in a string and it will be parsed and sent as a list.
required: false
# type: array of strings
wait_for_job:
description: Boolean for whether action should wait until dbt job finishes
required: false
default: true
outputs:
git_sha:
description: "Repository SHA in which dbt Cloud Job ran"
run_id:
description: "Run ID of the dbt Cloud Job that was triggered"
runs:
using: node20
main: "index.js"