cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Cloning content of Repos into shared Workspace

mbejarano89
New Contributor III

Hello, 

I have a git repository on Databricks with notebooks that are meant to be shared with other users. The reason these notebooks are in git as opposed to the "shared" workspace already is because they are to be continuously improved and need separate dev and prod environments (dev environment being git, used by technical audiences and prod being in the shared workspace). Is there an easy way to simply clone the repo into the workspace? and ideally keeping the same http? 

Thanks, 

Marcela

 

1 ACCEPTED SOLUTION

Accepted Solutions

User16539034020
Contributor II
Contributor II

Hello, 

Thanks for contacting Databricks Support. 

I presume you're looking to transfer files from external repositories to Databricks workspace. I'm afraid currently there is no direct support on it.

You may consider to use REST API which allows for the exporting and importing of notebooks. This could be used in a similar way to the CLI but may offer more flexibility if you're integrating this process into other automation pipelines.
Reference: https://docs.databricks.com/api/workspace/workspace

Regards, 

 

 

View solution in original post

1 REPLY 1

User16539034020
Contributor II
Contributor II

Hello, 

Thanks for contacting Databricks Support. 

I presume you're looking to transfer files from external repositories to Databricks workspace. I'm afraid currently there is no direct support on it.

You may consider to use REST API which allows for the exporting and importing of notebooks. This could be used in a similar way to the CLI but may offer more flexibility if you're integrating this process into other automation pipelines.
Reference: https://docs.databricks.com/api/workspace/workspace

Regards, 

 

 

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.