-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.yaml
49 lines (43 loc) · 1.26 KB
/
config.yaml
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
gateways:
# use this for a realistic project
bigquery:
connection:
concurrent_tasks: 24
register_comments: true
type: bigquery
method: service-account-json
keyfile_json: {{ env_var('GOOGLE_CREDENTIALS') }}
project: sqlmesh-demo
state_connection:
type: postgres
host: {{ env_var('SQLMESH_STATE_HOST') }}
port: 5432
user: {{ env_var('SQLMESH_STATE_USERNAME') }}
password: {{ env_var('SQLMESH_STATE_PASSWORD') }}
database: sqlmesh_state_demo
# use this for local development and trying out SQLMesh
# local:
# connection:
# type: duckdb
# database: sqlmesh-demo.db
default_gateway: bigquery
model_defaults:
dialect: bigquery
# enables synchronized deployments to prod when a PR is merged
cicd_bot:
type: github
merge_method: squash
enable_deploy_command: true
auto_categorize_changes:
external: full
python: full
sql: full
seed: full
plan:
enable_preview: true
# list of users that are allowed to approve PRs for synchronized deployments
users:
- username: sung_sqlmesh_demo
github_username: sungchun12
roles:
- required_approver