Skip to content

Commit

Permalink
Use the native scheduler for tcloud demos (#10)
Browse files Browse the repository at this point in the history
* native cloud scheduler

* explain
  • Loading branch information
sungchun12 authored Dec 3, 2024
1 parent 079f48f commit 5e48dbb
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
gateways:
tobiko_cloud: # this will use the config in tcloud.yaml for state_connection
connection:
type: bigquery
method: service-account-json
concurrent_tasks: 5
register_comments: true
keyfile_json: {{ env_var('GOOGLE_SQLMESH_CREDENTIALS') }}
project: sqlmesh-public-demo
scheduler:
type: cloud
# connection:
# TODO: add this into the Tobiko Cloud Connections Page with the service account json in plain text. We will securely handle the credentials for you.
# type: bigquery
# method: service-account-json
# concurrent_tasks: 5
# register_comments: true
# keyfile_json: {{ env_var('GOOGLE_SQLMESH_CREDENTIALS') }}
# project: sqlmesh-public-demo

default_gateway: tobiko_cloud

Expand Down

0 comments on commit 5e48dbb

Please sign in to comment.