cancel
Showing results for 
Search instead for 
Did you mean: 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results for 
Search instead for 
Did you mean: 

Asset bundle build and deploy python wheel with versions

pablobd
Contributor II

Hi all,

I was able to deploy a wheel to the /Shared/ folder from a repository in Gitlab with asset bundles. The databricks.yml looks something like this.

artifacts:
  default:
    type: whl
    build: poetry build
    path: .
  targets:
    workspace:
      host: ***
      root_path: /Shared/.bundle/...

 

The build happens and it stores the wheel here,
 
/Shared/.bundle/library/artifacts/.internal/<hash>/<file-name>.whl
 
 
 
What I would like to have is some sort of versioning of package deployments. The problems that prevents this to happen are:
  • At each deployment the previous deployed files are removed (no versioning)
  • The path to the wheel contains a hash that keeps changing, so it's hard to point to it
 
How would you proceed?

Thanks

 

1 REPLY 1

pablobd
Contributor II

Finally I decided to use AWS Code Artifact and mirror the PyPI, which I think it's a bit cleaner. But your solution looks good too. Thanks!

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group