Skip to content

Commit 79e3593

Browse files
dedup
Signed-off-by: Varun Deep Saini <deepsainivarun@gmail.com>
1 parent cc121b8 commit 79e3593

File tree

94 files changed

+270
-451
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+270
-451
lines changed

acceptance/bundle/artifacts/artifact_upload_with_no_library_reference/out.deploy.direct.txt

Lines changed: 0 additions & 7 deletions
This file was deleted.

acceptance/bundle/artifacts/artifact_upload_with_no_library_reference/out.deploy.terraform.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

acceptance/bundle/artifacts/artifact_upload_with_no_library_reference/output.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11

2+
>>> [CLI] bundle deploy
3+
Uploading whl/source.whl...
4+
Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...
5+
Deploying resources...
6+
Deployment complete!
7+
28
=== Expecting wheel to be uploaded
39
>>> jq .path
410
"/api/2.0/workspace-files/import-file/Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files/whl/source.whl"

acceptance/bundle/artifacts/artifact_upload_with_no_library_reference/script

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
mkdir -p whl
33
echo "test wheel content" > whl/source.whl
44

5-
trace $CLI bundle deploy > out.deploy.$DATABRICKS_BUNDLE_ENGINE.txt 2>&1
5+
trace $CLI bundle deploy
66

77
title "Expecting wheel to be uploaded"
88
trace jq .path < out.requests.txt | grep import | grep whl | sort

acceptance/bundle/artifacts/artifact_upload_with_no_library_reference/test.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ Ignore = [
88
'*.whl',
99
]
1010

11+
[[Repls]]
12+
Old = 'Updating deployment state...\n'
13+
New = ''
14+
1115
[[Server]]
1216
Pattern = "GET /api/2.1/clusters/get"
1317
Response.Body = '''

acceptance/bundle/artifacts/build_and_files_whl/out.deploy.direct.txt

Lines changed: 0 additions & 8 deletions
This file was deleted.

acceptance/bundle/artifacts/build_and_files_whl/out.deploy.terraform.txt

Lines changed: 0 additions & 7 deletions
This file was deleted.

acceptance/bundle/artifacts/build_and_files_whl/output.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,10 @@ Workspace:
77
Path: /Workspace/Users/[USERNAME]/.bundle/test-bundle/default
88

99
Validation OK!
10+
11+
>>> errcode [CLI] bundle deploy
12+
Building artifact_with_custom_dist...
13+
Uploading mydist/my_test_code-0.0.1-py3-none-any.whl...
14+
Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/test-bundle/default/files...
15+
Deploying resources...
16+
Deployment complete!
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cp -r $TESTDIR/../whl_explicit/my_test_code/{setup.py,src} .
22
trace $CLI bundle validate
33
# I expect this deploy to work because I explicitly told where to find the wheel, but it does not:
4-
trace errcode $CLI bundle deploy > out.deploy.$DATABRICKS_BUNDLE_ENGINE.txt 2>&1
4+
trace errcode $CLI bundle deploy
55
rm mydist/my_test_code-0.0.1-py3-none-any.whl setup.py src/*.py
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
RecordRequests = false
2+
3+
[[Repls]]
4+
Old = 'Updating deployment state...\n'
5+
New = ''

0 commit comments

Comments
 (0)