Skip to content

Commit

Permalink
build: update databricks config
Browse files Browse the repository at this point in the history
- change workflow schedule
- add environment variables
- update notebook tasks
  • Loading branch information
daneisburgh committed Dec 11, 2023
1 parent 2e3abdb commit f17ae29
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions databricks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ resources:
invaas:
name: invaas
schedule:
quartz_cron_expression: "0 0 17 * * ?"
timezone_id: UTC
quartz_cron_expression: "0 30 09 * * ?"
timezone_id: EST
job_clusters:
- job_cluster_key: job_cluster
new_cluster:
Expand All @@ -18,6 +18,9 @@ resources:
spark_conf:
spark.databricks.cluster.profile: singleNode
spark.master: "local[*,4]"
spark_env_vars:
APP-ENV: prod
APP-SOURCE: "/Workspace/Shared/.bundle/prod/invaas/files"
custom_tags:
ResourceClass: SingleNode
azure_attributes:
Expand All @@ -28,10 +31,14 @@ resources:
on_failure:
- [email protected]
tasks:
- task_key: notebook_task
- task_key: coinbase_notebook
job_cluster_key: job_cluster
notebook_task:
notebook_path: ./notebooks/invaas-notebook.ipynb
notebook_path: ./invaas/coinbase_notebook.ipynb
- task_key: schwab_notebook
job_cluster_key: job_cluster
notebook_task:
notebook_path: ./invaas/schwab_notebook.ipynb
targets:
prod:
mode: production
Expand Down

0 comments on commit f17ae29

Please sign in to comment.