Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the native scheduler for tcloud demos #10

Merged
merged 2 commits into from
Dec 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading