Can we use multiple git repos for a job running multiple tasks?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2022 10:52 AM
I have a job running multiple tasks :
- Task 1 runs a machine learning pipeline from git repo 1
- Task 2 runs an ETL pipeline from git repo 1
Task 2 is actually a generic pipeline and should not be checked in repo 1, and will be made available in another repo where various ETL pipelines are stored.
However I see now that git repos are set up per Job, and not per Task.
Does anyone have a solution for this, which I would suppose is quite a common scenario?
- Labels:
-
Git Repo
-
Jobs & Workflows
-
Multiple Tasks
-
Repos
-
Tasks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2022 11:29 PM
hi @Thibault Daoulas if task2 is generic and doesnt depend on task1, could you try removing the depends on filed in task2 and run the pipeline?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2022 12:17 AM
Hi @Prabakar Ammeappin , task2 depends on task1, as it sends out the results from task1.
I also tried removing the dependency and edited the git reference, but it changes the git reference for all the tasks in the job.
Do you know if that is a feature missing from jobs, or if it is intentional?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2023 01:15 AM
The way to go about this would be to create Databricks repos in the workspace and then use that in the task formation. This way we can refer multiple repos in different tasks.