This repository was archived by the owner on Jun 16, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +10
-15
lines changed
Expand file tree Collapse file tree 4 files changed +10
-15
lines changed Original file line number Diff line number Diff line change 1- # This is a basic workflow to help you get started with Actions
2-
31name : Tests
42
5- # Controls when the workflow will run
63on :
7- # Triggers the workflow on push or pull request events but only for the "main" branch
84 push :
95 branches : [ "main", "master" ]
106 pull_request :
117 branches : [ "main", "master" ]
12-
13- # Allows you to run this workflow manually from the Actions tab
148 workflow_dispatch :
159
1610jobs :
1711 test :
18- # The type of runner that the job will run on
1912 runs-on : ubuntu-latest
20-
21- # Steps represent a sequence of tasks that will be executed as part of the job
2213 steps :
23- # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2414 - uses : actions/checkout@v3
25-
26- # Runs a single command using the runners shell
15+ - name : Setup Python
16+ uses : actions/setup-python@v5.3.0
17+ with :
18+ python-version : 3.10.*
2719 - name : Install dependencies
2820 run : |
2921 pip install --upgrade pip
3022 pip install -r requirements.txt
31-
32- # Runs a set of commands using the runners shell
3323 - name : Run a multi-line script
3424 run : |
3525 pytest
Original file line number Diff line number Diff line change 11# Changelog db-rocket
22
3+ ## Version 3.0.6
4+ - Create folder before copying file
5+
36## Version 3.0.5
47- Revert enforcing the creation of .databrickscfg file
58
Original file line number Diff line number Diff line change @@ -254,6 +254,8 @@ def _deploy_dbfs(
254254 ):
255255 def helper (file : str ) -> None :
256256 target_path = f"{ db_path } /{ os .path .relpath (file , project_location )} "
257+ target_folder = os .path .dirname (target_path )
258+ execute_shell_command (f"databricks fs mkdirs { target_folder } " )
257259 execute_shell_command (f"databricks fs cp --recursive --overwrite { file } { target_path } " )
258260 logger .info (f"Uploaded { file } to { target_path } " )
259261
Original file line number Diff line number Diff line change 99
1010setuptools .setup (
1111 name = "databricks-rocket" ,
12- version = "3.0.5 " ,
12+ version = "3.0.6 " ,
1313 author = "GetYourGuide" ,
1414 author_email = "engineering.data-products@getyourguide.com" ,
1515 description = "Keep your local python scripts installed and in sync with a databricks notebook. Shortens the feedback loop to develop projects using a hybrid enviroment" ,
You can’t perform that action at this time.
0 commit comments