Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion NEXT_CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# NEXT CHANGELOG

## Release v1.3.0
## Release v1.2.1

### Notable Changes

### CLI

### Bundles
* direct: Fix updating the apps after the Go SDK upgrade ([#5444](https://github.com/databricks/cli/pull/5444))

### Dependency updates

Expand Down
4 changes: 2 additions & 2 deletions acceptance/bundle/resources/apps/lifecycle-started/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Deployment complete!
"description": "MY_APP_DESCRIPTION_2",
"name": "[UNIQUE_NAME]"
},
"update_mask": "description,budget_policy_id,usage_policy_id,resources,user_api_scopes,compute_size,compute_min_instances,compute_max_instances,git_repository,telemetry_export_destinations"
"update_mask": "description,budget_policy_id,usage_policy_id,resources,user_api_scopes,compute_size,git_repository,telemetry_export_destinations"
}
}

Expand All @@ -117,7 +117,7 @@ Deployment complete!
"description": "MY_APP_DESCRIPTION_3",
"name": "[UNIQUE_NAME]"
},
"update_mask": "description,budget_policy_id,usage_policy_id,resources,user_api_scopes,compute_size,compute_min_instances,compute_max_instances,git_repository,telemetry_export_destinations"
"update_mask": "description,budget_policy_id,usage_policy_id,resources,user_api_scopes,compute_size,git_repository,telemetry_export_destinations"
}
}
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"description": "MY_APP_DESCRIPTION",
"name": "myappname"
},
"update_mask": "description,budget_policy_id,usage_policy_id,resources,user_api_scopes,compute_size,compute_min_instances,compute_max_instances,git_repository,telemetry_export_destinations"
"update_mask": "description,budget_policy_id,usage_policy_id,resources,user_api_scopes,compute_size,git_repository,telemetry_export_destinations"
},
"method": "POST",
"path": "/api/2.0/apps/myappname/update"
Expand Down
4 changes: 2 additions & 2 deletions bundle/direct/dresources/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ var UpdateMaskFields = []string{
"resources",
"user_api_scopes",
"compute_size",
"compute_min_instances",
"compute_max_instances",
// "compute_min_instances", // TODO: add back when update APIs correctly support it
// "compute_max_instances", // TODO: add back when update APIs correctly support it
"git_repository",
"telemetry_export_destinations",
}
Expand Down
4 changes: 4 additions & 0 deletions bundle/direct/dresources/resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,10 @@ resources:
ignore_remote_changes:
- field: space # This field is not yet supported by Update APIs but exposed in the API spec. TODO: fix when update APIs supports it.
reason: managed
- field: compute_min_instances # This field does not work correctly in update_mask but exposed in the API spec. TODO: add back when update APIs correctly support it
reason: managed
- field: compute_max_instances # This field does not work correctly in update_mask but exposed in the API spec. TODO: add back when update APIs correctly support it
reason: managed

secret_scopes:
backend_defaults:
Expand Down
Loading