Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
135 commits
Select commit Hold shift + click to select a range
5590258
bundle: record and read deployment state via DMS with server-generate…
shreyas-goenka Jul 23, 2026
da1ed9d
bundle: read DMS authority from last_successful_version_id
shreyas-goenka Jul 24, 2026
011c092
bundle: fix DMS deployment recording bugs found in review
shreyas-goenka Jul 27, 2026
38dc082
bundle: upload DMS operations asynchronously
shreyas-goenka Jul 27, 2026
19467dc
bundle: gate experimental.record_deployment_history behind an env var
shreyas-goenka Jul 27, 2026
22ec66a
bundle: rename the record_deployment_history escape hatch to force_allow
shreyas-goenka Jul 27, 2026
d7441e4
bundle: only record net-new deployments in DMS
shreyas-goenka Jul 27, 2026
026a521
bundle: fix lint errors in the operation queue test
shreyas-goenka Jul 27, 2026
481259b
bundle: keep the create action when coalescing DMS operations
shreyas-goenka Jul 27, 2026
309a1a4
bundle: drop the dms package comment
shreyas-goenka Jul 27, 2026
211aa94
bundle: resolve the DMS deployment ID from the workspace
shreyas-goenka Jul 27, 2026
4009eb4
bundle: address review of the DMS state PR
shreyas-goenka Jul 28, 2026
70741ae
bundle: record depends_on in the state uploaded to DMS
shreyas-goenka Jul 28, 2026
386a0b6
bundle: drop the DMS state overlay check
shreyas-goenka Jul 28, 2026
efe7320
bundle: gate DMS state on a state feature flag
shreyas-goenka Jul 28, 2026
92eac95
bundle: combine queued operations into a single Create action
shreyas-goenka Jul 29, 2026
96c0826
acceptance: set MSYS_NO_PATHCONV for the DMS tests
shreyas-goenka Jul 29, 2026
b2ef0e8
acceptance: scope MSYS_NO_PATHCONV to the get-status commands
shreyas-goenka Jul 29, 2026
30adb99
bundle: drop the locks in the operation queue's close
shreyas-goenka Jul 29, 2026
8f56ef6
bundle: record operation state without redacting it
shreyas-goenka Jul 29, 2026
329886f
bundle: drop the redaction TODO from the operation recorder
shreyas-goenka Jul 29, 2026
2818d11
bundle: revert the schema annotation and tighten CompleteVersion's guard
shreyas-goenka Jul 29, 2026
b84ae7c
bundle: gate record_deployment_history off again
shreyas-goenka Jul 29, 2026
daa69e2
bundle: stop the deploy when an operation upload fails
shreyas-goenka Jul 29, 2026
2c2e209
bundle: stop applying resources once an operation upload fails
shreyas-goenka Jul 29, 2026
9329441
testserver: create the DMS deployment record on the first version
shreyas-goenka Jul 29, 2026
38b6f54
bundle: simplify the concurrency test comment
shreyas-goenka Jul 29, 2026
4f45539
bundle: trim the operation recorder tests
shreyas-goenka Jul 29, 2026
2bf49fb
bundle: send recorded state as a JSON string
shreyas-goenka Aug 3, 2026
93e95a4
bundle: send previous_version_id and display_name when recording a ve…
shreyas-goenka Aug 4, 2026
9acbecc
bundle: fix recording a destroy
shreyas-goenka Aug 4, 2026
b34ed0a
bundle: record failed operations, and upload at most 2 at a time
shreyas-goenka Aug 4, 2026
b9ca9a3
bundle: report the recorded deployment in bundle summary
shreyas-goenka Aug 5, 2026
1a05f7a
bundle: record git, workspace and mode provenance with a version
shreyas-goenka Aug 5, 2026
c08abbd
bundle: stamp the deployment and version onto jobs and pipelines
shreyas-goenka Aug 5, 2026
41c41ee
bundle: raise operation upload workers back to 8
shreyas-goenka Aug 6, 2026
af8c851
bundle: spell out how to recover from the record-deployment-history e…
shreyas-goenka Aug 6, 2026
610b71f
bundle: add a bugbash guide for deployment history recording
shreyas-goenka Aug 6, 2026
d3bda0c
bundle: report the recorded deployment after a deploy
shreyas-goenka Aug 6, 2026
45c4ed2
bundle: link to the recorded deployment after a deploy
shreyas-goenka Aug 6, 2026
a8a5148
bundle: send the prior state when recording a failed operation
shreyas-goenka Aug 6, 2026
cf2d9cd
bundle: take the id and state of a failed operation from the same record
shreyas-goenka Aug 6, 2026
015af74
bundle: stop the deployment stamp from showing as drift
shreyas-goenka Aug 6, 2026
a49f16f
bundle: group what a version records into dms.Metadata
shreyas-goenka Aug 7, 2026
37a8b94
bundle: shorten the comment on the DMS upload-failure check
shreyas-goenka Aug 7, 2026
636c9cf
bundle: stamp the deployment before planning, and keep recording afte…
shreyas-goenka Aug 7, 2026
ff96ef0
bundle: decouple InitDeploymentHistory from InitIDs
shreyas-goenka Aug 7, 2026
e1d9bf6
Merge remote-tracking branch 'origin/main' into isaac/pr6052-fixes
shreyas-goenka Aug 7, 2026
89369d5
bundle: fold the display-name assertions into the first-deploy test
shreyas-goenka Aug 7, 2026
02c35fd
bundle: record DMS operations from the state writes
shreyas-goenka Aug 7, 2026
3f1c296
bundle: add DATABRICKS_BUNDLE_DMS to enable deployment history recording
shreyas-goenka Aug 7, 2026
0ddb805
bundle: skip a recorded resource that was never created, and prepare …
shreyas-goenka Aug 7, 2026
42d3cb4
bundle: run the acceptance suite with deployment history recording on
shreyas-goenka Aug 7, 2026
f49c0ce
bundle: extend the DMS acceptance run across bundle/resources
shreyas-goenka Aug 7, 2026
98c50c5
bundle: drop the deployment stamp from get responses in the DMS run
shreyas-goenka Aug 7, 2026
518434f
bundle: run the resources acceptance tests with deployment history on
shreyas-goenka Aug 7, 2026
9a0a800
bundle: run the whole bundle acceptance suite with deployment history on
shreyas-goenka Aug 7, 2026
7542427
acceptance: filter the deployment stamp at the call site, not with gl…
shreyas-goenka Aug 9, 2026
1eeb57d
acceptance: cover the emptied-resource delete locally
shreyas-goenka Aug 9, 2026
2015a62
acceptance: document what nostamp actually transforms
shreyas-goenka Aug 9, 2026
6beb603
acceptance: show which job is deleted first in the depends-on test
shreyas-goenka Aug 9, 2026
170649b
bundle: make the fake service enforce that state implies a resource_id
shreyas-goenka Aug 9, 2026
d701cd9
bundle: record a recreate's intermediate delete as in-progress
shreyas-goenka Aug 9, 2026
ff6b364
bundle: cover the delete-order reversal in the dependency graph
shreyas-goenka Aug 9, 2026
125d73b
bundle: single-source the DMS resource-key prefix, fix two stale comm…
shreyas-goenka Aug 10, 2026
5f211ef
bundle: record a declined deploy as aborted, not as a failure
shreyas-goenka Aug 10, 2026
f6c564f
bundle: drop the empty-resource-id guard, which cannot happen
shreyas-goenka Aug 10, 2026
f26c7d6
bundle: correct what AllowExistingResources is for
shreyas-goenka Aug 10, 2026
c882a39
bundle: drop AllowExistingResources; opt the tests that need it out i…
shreyas-goenka Aug 10, 2026
403e659
bundle: say "unset" in the recording refusal, and table the sink tests
shreyas-goenka Aug 10, 2026
eca068d
bundle: note where the SDK bypass ends
shreyas-goenka Aug 10, 2026
5d1beb5
bundle: drop graph_test.go
shreyas-goenka Aug 10, 2026
9ef3061
bundle: decide the in-progress status at the state write
shreyas-goenka Aug 10, 2026
5edff67
bundle: merge a resource's queued operations into one upload
shreyas-goenka Aug 10, 2026
612b7e9
Merge branch 'main' of https://github.com/databricks/cli into isaac/p…
shreyas-goenka Aug 10, 2026
ac37a34
acceptance: refresh generated files after the merge
shreyas-goenka Aug 10, 2026
c0e796e
bundle: rename the recording env var, and only honour "true"
shreyas-goenka Aug 10, 2026
95c1f03
bundle: print the deployment version up front
shreyas-goenka Aug 11, 2026
eccac6b
bundle: label a recreate's second write as a recreate
shreyas-goenka Aug 11, 2026
3d0b43c
bundle: create the deployment version only once the deploy is approved
shreyas-goenka Aug 11, 2026
df67ac6
Merge branch 'main' of https://github.com/databricks/cli into isaac/p…
shreyas-goenka Aug 11, 2026
3fa81b5
acceptance: show the emptied-resource diff, and trim depends-on
shreyas-goenka Aug 11, 2026
9269882
bundle: a failure must not erase the state a resource already recorded
shreyas-goenka Aug 11, 2026
160bcf8
Merge branch 'main' of https://github.com/databricks/cli into isaac/p…
shreyas-goenka Aug 11, 2026
39b1a67
acceptance: keep Git Bash from rewriting the DMS API paths on Windows
shreyas-goenka Aug 11, 2026
705269a
acceptance: use nostamp instead of a hand-rolled jq del, and drop a d…
shreyas-goenka Aug 11, 2026
96f8cfb
Merge branch 'main' of https://github.com/databricks/cli into isaac/p…
shreyas-goenka Aug 11, 2026
7a9f4ed
acceptance: repair two tests main merged broken
shreyas-goenka Aug 11, 2026
3f610d3
bundle: upload recorded operations from one goroutine
shreyas-goenka Aug 16, 2026
ed5d9b1
bundle: queue resource keys, keep the operation in a map
shreyas-goenka Aug 17, 2026
905ff9e
bundle: correct two comments left over from the operation queue
shreyas-goenka Aug 17, 2026
6eba109
bundle: hold the deploy back when recording falls behind
shreyas-goenka Aug 17, 2026
4e33134
bundle: fail the deploy when an operation cannot be recorded
shreyas-goenka Aug 17, 2026
4deaf42
bundle: trim comments that restate the code
shreyas-goenka Aug 17, 2026
fc5465f
bundle: a coalesced failure must not revert a resource to its pre-dep…
shreyas-goenka Aug 17, 2026
162f619
bundle: build the update mask from what the service already holds
shreyas-goenka Aug 17, 2026
d3fca3b
bundle: let each operation carry its own update mask
shreyas-goenka Aug 17, 2026
9f65159
bundle: record a failed recreate as the resource being gone
shreyas-goenka Aug 17, 2026
caee7e5
acceptance: cover a failed update carrying the pre-deploy state
shreyas-goenka Aug 17, 2026
2d2ff35
Merge remote-tracking branch 'origin/main' into isaac/pr6052-fixes
shreyas-goenka Aug 17, 2026
138ea82
bundle: refresh a golden and drop a stale doc comment
shreyas-goenka Aug 17, 2026
a2b8014
bundle: trim the comments in opsink.go
shreyas-goenka Aug 17, 2026
9eb9106
bundle: keep the write's operation when a failure coalesces onto it
shreyas-goenka Aug 17, 2026
c7e749b
bundle: merge the update mask field by field when coalescing
shreyas-goenka Aug 17, 2026
7d8ed7e
bundle: hold every comment in this PR to three lines
shreyas-goenka Aug 18, 2026
fece1fd
bundle: fixes from a per-area review of this PR
shreyas-goenka Aug 18, 2026
77c9d2c
bundle: restore comments this PR had no business changing
shreyas-goenka Aug 18, 2026
7ea813b
bundle: record the API status and error code with a failure
shreyas-goenka Aug 18, 2026
f81833a
acceptance: show the DMS operations in the order they happen
shreyas-goenka Aug 18, 2026
e9f0512
Merge remote-tracking branch 'origin/main' into isaac/pr6052-fixes
shreyas-goenka Aug 18, 2026
0bdeea8
Merge remote-tracking branch 'origin/main' into isaac/pr6052-fixes
shreyas-goenka Aug 18, 2026
f197f62
bundle: stage operations at CreateVersion, drop CreateOperation
shreyas-goenka Aug 18, 2026
a99822b
bundle: keep deployment-history traffic out of unrelated tests
shreyas-goenka Aug 18, 2026
a788ef8
acceptance: format print_requests.py the way ruff wants
shreyas-goenka Aug 18, 2026
d1af7f6
Merge remote-tracking branch 'origin/main' into isaac/pr6052-fixes
shreyas-goenka Aug 18, 2026
e52d5e9
acceptance: strip the deployment stamp from tests that arrived with main
shreyas-goenka Aug 18, 2026
c6982e3
bundle/direct: drop the recorded action type
shreyas-goenka Aug 18, 2026
b15aaa6
libs/dms: own the whole DMS protocol
shreyas-goenka Aug 18, 2026
7893539
dstate: leave the state alone when a recorded envelope is malformed
shreyas-goenka Aug 18, 2026
d97c6a3
libs/dms: put every call on the client, and send each field for its o…
shreyas-goenka Aug 18, 2026
a2aae6a
libs/dms: one seam for the half the SDK cannot express
shreyas-goenka Aug 18, 2026
c9d51e8
dstate: say why the sink comes back from the locked section
shreyas-goenka Aug 18, 2026
bd964ec
direct: fix a stale comment about what a failed operation carries
shreyas-goenka Aug 18, 2026
17437dc
direct: drop sink tests that only re-test the merge
shreyas-goenka Aug 19, 2026
06fe6d7
dstate: inline the state write helpers
shreyas-goenka Aug 19, 2026
c9d95bd
libs/dms: drop Enabled from Recording
shreyas-goenka Aug 19, 2026
13cb700
libs/dms: name what the version number is stamped onto
shreyas-goenka Aug 19, 2026
615c038
libs/dms: keep the writer's tests about the sequence id
shreyas-goenka Aug 19, 2026
77bf1b4
libs/dms: leave the recorded wire format to the acceptance tests
shreyas-goenka Aug 19, 2026
a8e846b
acceptance/dms: print the recorded requests in the order they happened
shreyas-goenka Aug 19, 2026
e96181a
acceptance/dms: correct what drops an emptied resource
shreyas-goenka Aug 19, 2026
6fad8a6
acceptance/dms: show the error a refused operation gives a user
shreyas-goenka Aug 19, 2026
438788a
acceptance/dms: fold redeploy-after-destroy into record, and name res…
shreyas-goenka Aug 19, 2026
32d7d98
Merge remote-tracking branch 'origin/main' into isaac/pr6052-fixes
shreyas-goenka Aug 19, 2026
d019275
acceptance: record the deployment-history variant for three tests fro…
shreyas-goenka Aug 19, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
55 changes: 52 additions & 3 deletions acceptance/bin/print_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,15 @@
ADD_PREFIX = "/"
NEGATE_PREFIX = "^/"

# What --nostamp deletes. A job create sends the deployment block at the top level, an
# update nests it under new_settings.
STAMP_FIELDS = [
"deployment.deployment_id",
"deployment.version_id",
"new_settings.deployment.deployment_id",
"new_settings.deployment.version_id",
]


def read_json_many(s):
result = []
Expand Down Expand Up @@ -123,7 +132,13 @@ def read_json_many(s):
assert result == [{"method": "GET"}, {"method": "POST"}], result


def filter_requests(requests, path_filters, include_get, should_sort, unique=False, method_filter=None):
# DMS_PATH is the deployment metadata service's prefix; see filter_requests.
DMS_PATH = "/api/2.0/bundle"


def filter_requests(
requests, path_filters, include_get, should_sort, unique=False, method_filter=None, include_dms=False
):
"""Filter requests based on method and path filters."""
positive_filters = []
negative_filters = []
Expand All @@ -136,6 +151,13 @@ def filter_requests(requests, path_filters, include_get, should_sort, unique=Fal
else:
sys.exit(f"Unrecognized filter: {f!r}")

# Deployment-history requests carry the resource key in the path
# (.../operations/jobs.foo), so a filter like //jobs matches them too and every test
# that records one resource type would pick these up in the recording run. Excluded
# unless --dms asks for them.
if not include_dms:
negative_filters.append(DMS_PATH)

filtered_requests = []
for req in requests:
if method_filter:
Expand Down Expand Up @@ -178,11 +200,27 @@ def filter_requests(requests, path_filters, include_get, should_sort, unique=Fal
return filtered_requests


def del_path(body, field):
"""Delete field from body. A dotted field descends into nested objects, e.g.
deployment.version_id removes only that key from the deployment block."""
*parents, leaf = field.split(".")
for name in parents:
body = body.get(name)
if not isinstance(body, dict):
return
body.pop(leaf, None)


def main():
parser = argparse.ArgumentParser()
parser.add_argument("path_filters", nargs="*", help="Path substring filters")
parser.add_argument("-v", "--verbose", action="store_true", help="Enable diagnostic messages")
parser.add_argument("--get", action="store_true", help="Include GET requests (excluded by default)")
parser.add_argument(
"--dms",
action="store_true",
help="Include deployment-history requests (excluded by default; see filter_requests)",
)
parser.add_argument("--keep", action="store_true", help="Keep out.requests.json file after processing")
parser.add_argument("--sort", action="store_true", help="Sort requests before output")
parser.add_argument(
Expand Down Expand Up @@ -210,10 +248,19 @@ def main():
"--del-body, which edits the parsed JSON body, this drops a field of the request "
"record itself, e.g. raw_body for a binary upload payload.",
)
parser.add_argument(
"--nostamp",
action="store_true",
help="Drop the deployment stamp (deployment_id, version_id) from job and pipeline "
"bodies, so a test asserts the same requests whether or not deployment history "
"recording is on. Shorthand for the --del-body fields it implies.",
)
parser.add_argument("--fname", default="out.requests.txt")
args = parser.parse_args()

del_body_fields = [field for group in args.del_body for field in group.split(",")]
if args.nostamp:
del_body_fields += STAMP_FIELDS
del_fields = [field for group in args.del_field for field in group.split(",")]

test_tmp_dir = os.environ.get("TEST_TMP_DIR")
Expand All @@ -232,13 +279,15 @@ def main():
return

requests = read_json_many(data)
filtered_requests = filter_requests(requests, args.path_filters, args.get, args.sort, args.unique, args.method)
filtered_requests = filter_requests(
requests, args.path_filters, args.get, args.sort, args.unique, args.method, args.dms
)

for req in filtered_requests:
body = req.get("body")
if isinstance(body, dict):
for field in del_body_fields:
body.pop(field, None)
del_path(body, field)
for field in del_fields:
req.pop(field, None)
if args.verbose:
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ src/train.py

=== both code_source_paths point into the bundle .air_snapshots, command_paths rewritten, deps on environments spec

>>> print_requests.py --sort --del-field raw_body //.air_snapshots/ //jobs/create
>>> print_requests.py --nostamp --sort --del-field raw_body //.air_snapshots/ //jobs/create
{
"method": "POST",
"path": "/api/2.0/workspace-files/import-file/Workspace/Users/[USERNAME]/.bundle/ai-runtime-test/default/files/.air_snapshots/[SNAPSHOT].tar.gz",
Expand Down Expand Up @@ -114,7 +114,7 @@ Updated jobs.train
Files: 4 uploaded, 1 deleted
Resources: 0 created, 1 changed, 0 deleted, 0 unchanged

>>> print_requests.py --sort --del-field raw_body //.air_snapshots/
>>> print_requests.py --nostamp --sort --del-field raw_body //.air_snapshots/
{
"method": "POST",
"path": "/api/2.0/workspace-files/import-file/Workspace/Users/[USERNAME]/.bundle/ai-runtime-test/default/files/.air_snapshots/[SNAPSHOT].tar.gz",
Expand Down
6 changes: 3 additions & 3 deletions acceptance/bundle/ai_runtime_task/local_code_source/script
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ trace list_code_snapshot.py
title "both code_source_paths point into the bundle .air_snapshots, command_paths rewritten, deps on environments spec\n"
# --del-field raw_body drops the binary tarball upload payload (kept readable). Filters
# use a leading // so Git Bash on Windows does not path-convert them. --keep is not
# passed, so print_requests.py consumes out.requests.txt.
trace print_requests.py --sort --del-field raw_body '//.air_snapshots/' '//jobs/create'
# passed, so print_requests.py --nostamp consumes out.requests.txt.
trace print_requests.py --nostamp --sort --del-field raw_body '//.air_snapshots/' '//jobs/create'

title "re-planning unchanged code is a no-op (no changes)\n"
trace $CLI bundle plan

title "editing a file changes the snapshot hash (content-addressed name changes)\n"
update_file.py src/train.py 'print("training")' 'print("training v2")'
trace $CLI bundle deploy
trace print_requests.py --sort --del-field raw_body '//.air_snapshots/'
trace print_requests.py --nostamp --sort --del-field raw_body '//.air_snapshots/'

title "destroy removes the deployed bundle (including the synced snapshots)\n"
trace $CLI bundle destroy --auto-approve
Expand Down
1 change: 1 addition & 0 deletions acceptance/bundle/apps/app_yaml/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions acceptance/bundle/apps/compute_size/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions acceptance/bundle/apps/delete_deleting/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions acceptance/bundle/apps/git_source/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions acceptance/bundle/apps/job_permissions/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions acceptance/bundle/apps/value_from_warning/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions acceptance/bundle/artifacts/build_and_files/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions acceptance/bundle/artifacts/glob_exact_whl/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions acceptance/bundle/artifacts/globs_in_files/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions acceptance/bundle/artifacts/globs_invalid/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions acceptance/bundle/artifacts/issue_3109/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions acceptance/bundle/artifacts/nil_artifacts/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions acceptance/bundle/artifacts/shell/bash/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions acceptance/bundle/artifacts/shell/basic/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions acceptance/bundle/artifacts/shell/cmd/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions acceptance/bundle/artifacts/shell/default/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions acceptance/bundle/artifacts/shell/err-bash/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions acceptance/bundle/artifacts/shell/err-sh/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions acceptance/bundle/artifacts/shell/invalid/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions acceptance/bundle/artifacts/shell/sh/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions acceptance/bundle/artifacts/whl_dbfs/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions acceptance/bundle/artifacts/whl_dynamic/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions acceptance/bundle/artifacts/whl_dynamic/script
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ cp -r $TESTDIR/../whl_explicit/my_test_code .
mkdir prebuilt
cp -r $TESTDIR/../whl_prebuilt_multiple/dist/lib/other_test_code-0.0.1-py3-none-any.whl prebuilt

trace $CLI bundle validate -o json | jq .artifacts
trace $CLI bundle validate -o json | nostamp | jq .artifacts

$CLI bundle plan -o json > out.plan_create.$DATABRICKS_BUNDLE_ENGINE.json
$CLI bundle plan -o json | nostamp > out.plan_create.$DATABRICKS_BUNDLE_ENGINE.json
trace $CLI bundle deploy

title "There are 2 original wheels and 2 patched ones"
Expand All @@ -25,7 +25,7 @@ rm out.requests.txt

title "Updating the local wheel and deploying again\n"
touch my_test_code/src/new_module.py
$CLI bundle plan -o json > out.plan_update.$DATABRICKS_BUNDLE_ENGINE.json
$CLI bundle plan -o json | nostamp > out.plan_update.$DATABRICKS_BUNDLE_ENGINE.json
trace $CLI bundle deploy

title "Verify contents, it should now have new_module.py"
Expand Down
1 change: 1 addition & 0 deletions acceptance/bundle/artifacts/whl_explicit/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions acceptance/bundle/artifacts/whl_implicit/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ trace $CLI bundle deploy
trace find.py --expect 1 whl

title "Expecting 1 wheel in libraries section in /jobs/create"
trace jq -s '.[] | select(.path=="/api/2.2/jobs/create") | .body' out.requests.txt
trace jq -s '.[] | select(.path=="/api/2.2/jobs/create") | .body' out.requests.txt | nostamp

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

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions acceptance/bundle/artifacts/whl_multiple/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions acceptance/bundle/artifacts/whl_no_cleanup/out.test.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion acceptance/bundle/artifacts/whl_via_environment_key/script
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ trace $CLI bundle deploy
trace find.py --expect 1 whl

title "Expecting 1 wheel in environments section in /jobs/create"
trace jq -s '.[] | select(.path=="/api/2.2/jobs/create") | .body' out.requests.txt
trace jq -s '.[] | select(.path=="/api/2.2/jobs/create") | .body' out.requests.txt | nostamp

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

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading