Version control jobs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2021 12:01 PM
How do engineering teams out there version control their jobs? If there is a production issue, can I revert to an older version of the job?
- Labels:
-
Older Version
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2021 03:19 PM
One option is using Github for version control. You can link a notebook and Databricks syncs your history with Git- which gives you the option to restore an older version if needed. Here are the docs for more details: https://docs.databricks.com/notebooks/github-version-control.html#github-enterpriseebooks/github-version-control.html#github-enterprise
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2023 12:33 AM
@Hayley i knew about notebook but how can we version control the job itself?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2023 09:49 AM
You can use version controlled source code for you databricks job and each time you need to rollback to older version of your job you need just to move to older version code. For version controlled source code you have multiple choises:
- Use a notebook from a remote Git repository
- Use Python code from a remote Git repository
- Use SQL queries from a remote Git repository
https://docs.databricks.com/en/workflows/jobs/how-to/use-repos.html