Skip to content

Commit 6cb29bd

Browse files
authored
Fix cloud deploy script (#867)
The Python build tool does not handle symlinks. This eliminates the dependency on the local code mgmt tool from the build script. It also makes it clear where references to source dirs are actually required. Once we start pulling `kagglesdk` from pypi.org then this will need to change. At that time other changes will need to be made to this script and it should be obvious where the current mod needs to be updated.
1 parent 3f8e54c commit 6cb29bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/releases/cloudbuild.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ steps:
3030
args:
3131
- "-c"
3232
- |
33-
mkdir -p ~/.kaggle/dev # Directory expected by following script
34-
./tools/GeneratePythonLibrary.sh
33+
cp -r src/kaggle .
34+
cp -r src/kagglesdk .
3535
python3 -m pip install build --break-system-packages
3636
python3 -m build
3737
# Move the built CLI to a volume that will survive to next steps.

0 commit comments

Comments
 (0)