Skip to content

Commit d4e962c

Browse files
acceptance: narrow bind/pipelines/update print_requests filter back
The previous regen sweep widened the filter from '^//import-file/' '^//workspace/delete' (two narrow exclusions) to '^//workspace/' (catch-all under /workspace/*). That hid the workspace/mkdirs calls the test was previously asserting on. Restore the original intent: only exclude the upload + delete requests, preserving the mkdirs assertions. Also pick up the out.test.toml regeneration for the force_pull_commands test that landed on main (5028) to switch the [Section] format to dotted keys. Co-authored-by: Isaac
1 parent f3b16c9 commit d4e962c

5 files changed

Lines changed: 36 additions & 11 deletions

File tree

acceptance/bundle/deployment/bind/pipelines/update/out.deploy.requests.direct.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
{
2+
"method": "POST",
3+
"path": "/api/2.0/workspace/mkdirs",
4+
"body": {
5+
"path": "/Workspace/Users/[USERNAME]/.bundle/test-pipeline-recreate/default/artifacts/.internal"
6+
}
7+
}
8+
{
9+
"method": "POST",
10+
"path": "/api/2.0/workspace/mkdirs",
11+
"body": {
12+
"path": "/Workspace/Users/[USERNAME]/.bundle/test-pipeline-recreate/default/files"
13+
}
14+
}
115
{
216
"method": "PUT",
317
"path": "/api/2.0/pipelines/[NEW_PIPELINE_ID]",

acceptance/bundle/deployment/bind/pipelines/update/out.deploy.requests.terraform.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
{
2+
"method": "POST",
3+
"path": "/api/2.0/workspace/mkdirs",
4+
"body": {
5+
"path": "/Workspace/Users/[USERNAME]/.bundle/test-pipeline-recreate/default/artifacts/.internal"
6+
}
7+
}
8+
{
9+
"method": "POST",
10+
"path": "/api/2.0/workspace/mkdirs",
11+
"body": {
12+
"path": "/Workspace/Users/[USERNAME]/.bundle/test-pipeline-recreate/default/files"
13+
}
14+
}
115
{
216
"method": "PUT",
317
"path": "/api/2.0/pipelines/[NEW_PIPELINE_ID]",

acceptance/bundle/deployment/bind/pipelines/update/output.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ Deploying resources...
1212
Updating deployment state...
1313
Deployment complete!
1414

15-
>>> print_requests.py ^//workspace/ ^//telemetry-ext
15+
>>> print_requests.py ^//workspace/import ^//workspace/delete ^//telemetry-ext

acceptance/bundle/deployment/bind/pipelines/update/script

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@ add_repl.py $NEW_PIPELINE_ID NEW_PIPELINE_ID
33

44
rm -f out.requests.txt
55
trace musterr $CLI bundle deployment bind foo $NEW_PIPELINE_ID &> out.bind-fail.$DATABRICKS_BUNDLE_ENGINE.txt
6-
print_requests.py '^//workspace/'
6+
print_requests.py '^//workspace/import' '^//workspace/delete'
77

88
rm -f out.requests.txt
99
trace $CLI bundle deployment bind foo $NEW_PIPELINE_ID --auto-approve &> out.bind-success.$DATABRICKS_BUNDLE_ENGINE.txt
10-
print_requests.py '^//workspace/'
10+
print_requests.py '^//workspace/import' '^//workspace/delete'
1111

1212
trace $CLI bundle summary -o json > out.summary.json
1313
trace $CLI bundle plan
1414

1515
rm -f out.requests.txt
1616
trace $CLI bundle deploy --auto-approve
17-
trace print_requests.py '^//workspace/' '^//telemetry-ext' > out.deploy.requests.$DATABRICKS_BUNDLE_ENGINE.json
17+
trace print_requests.py '^//workspace/import' '^//workspace/delete' '^//telemetry-ext' > out.deploy.requests.$DATABRICKS_BUNDLE_ENGINE.json
18+

acceptance/bundle/state/force_pull_commands/out.test.toml

Lines changed: 3 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)