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!

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now