-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't merge-in remote resources during depolyments #1432
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`check_running_resources` now pulls the remote state without modifying the bundle state, similar to how it was doing before. This avoids a problem when we fail to compute deployment metadata for a deleted job (which we shouldn't do in the first place) `deploy_then_remove_resources_test` now also deploys and deletes a job (in addition to a pipeline), which catches the error that this PR fixes.
pietern
approved these changes
May 15, 2024
pietern
approved these changes
May 15, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did the integration test not fail before this fix?
andrewnester
approved these changes
May 15, 2024
pietern
added a commit
that referenced
this pull request
May 22, 2024
CLI: * Add line about Docker installation to README.md ([#1363](#1363)). * Improve token refresh flow ([#1434](#1434)). Bundles: * Upgrade Terraform provider to v1.42.0 ([#1418](#1418)). * Upgrade Terraform provider to v1.43.0 ([#1429](#1429)). * Don't merge-in remote resources during deployments ([#1432](#1432)). * Remove dependency on `ConfigFilePath` from path translation mutator ([#1437](#1437)). * Add `merge.Override` transform ([#1428](#1428)). * Fixed panic when loading incorrectly defined jobs ([#1402](#1402)). * Add more tests for `merge.Override` ([#1439](#1439)). * Fixed seg fault when specifying environment key for tasks ([#1443](#1443)). * Fix conversion of zero valued scalar pointers to a dynamic value ([#1433](#1433)). Internal: * Don't hide commands of services that are already hidden ([#1438](#1438)). API Changes: * Renamed `lakehouse-monitors` command group to `quality-monitors`. * Added `apps` command group. * Renamed `csp-enablement` command group to `compliance-security-profile`. * Renamed `esm-enablement` command group to `enhanced-security-monitoring`. * Added `databricks vector-search-indexes scan-index` command. OpenAPI commit 7eb5ad9a2ed3e3f1055968a2d1014ac92c06fe92 (2024-05-21) Dependency updates: * Bump golang.org/x/text from 0.14.0 to 0.15.0 ([#1419](#1419)). * Bump golang.org/x/oauth2 from 0.19.0 to 0.20.0 ([#1421](#1421)). * Bump golang.org/x/term from 0.19.0 to 0.20.0 ([#1422](#1422)). * Bump github.com/databricks/databricks-sdk-go from 0.39.0 to 0.40.1 ([#1431](#1431)). * Bump github.com/fatih/color from 1.16.0 to 1.17.0 ([#1441](#1441)). * Bump github.com/hashicorp/terraform-json from 0.21.0 to 0.22.1 ([#1440](#1440)). * Bump github.com/hashicorp/terraform-exec from 0.20.0 to 0.21.0 ([#1442](#1442)). * Update Go SDK to v0.41.0 ([#1445](#1445)).
Merged
github-merge-queue bot
pushed a commit
that referenced
this pull request
May 22, 2024
CLI: * Add line about Docker installation to README.md ([#1363](#1363)). * Improve token refresh flow ([#1434](#1434)). Bundles: * Upgrade Terraform provider to v1.42.0 ([#1418](#1418)). * Upgrade Terraform provider to v1.43.0 ([#1429](#1429)). * Don't merge-in remote resources during deployments ([#1432](#1432)). * Remove dependency on `ConfigFilePath` from path translation mutator ([#1437](#1437)). * Add `merge.Override` transform ([#1428](#1428)). * Fixed panic when loading incorrectly defined jobs ([#1402](#1402)). * Add more tests for `merge.Override` ([#1439](#1439)). * Fixed seg fault when specifying environment key for tasks ([#1443](#1443)). * Fix conversion of zero valued scalar pointers to a dynamic value ([#1433](#1433)). Internal: * Don't hide commands of services that are already hidden ([#1438](#1438)). API Changes: * Renamed `lakehouse-monitors` command group to `quality-monitors`. * Added `apps` command group. * Renamed `csp-enablement` command group to `compliance-security-profile`. * Renamed `esm-enablement` command group to `enhanced-security-monitoring`. * Added `databricks vector-search-indexes scan-index` command. OpenAPI commit 7eb5ad9a2ed3e3f1055968a2d1014ac92c06fe92 (2024-05-21) Dependency updates: * Bump golang.org/x/text from 0.14.0 to 0.15.0 ([#1419](#1419)). * Bump golang.org/x/oauth2 from 0.19.0 to 0.20.0 ([#1421](#1421)). * Bump golang.org/x/term from 0.19.0 to 0.20.0 ([#1422](#1422)). * Bump github.com/databricks/databricks-sdk-go from 0.39.0 to 0.40.1 ([#1431](#1431)). * Bump github.com/fatih/color from 1.16.0 to 1.17.0 ([#1441](#1441)). * Bump github.com/hashicorp/terraform-json from 0.21.0 to 0.22.1 ([#1440](#1440)). * Bump github.com/hashicorp/terraform-exec from 0.20.0 to 0.21.0 ([#1442](#1442)). * Update Go SDK to v0.41.0 ([#1445](#1445)).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
check_running_resources
now pulls the remote state without modifying the bundle state, similar to how it was doing before. This avoids a problem when we fail to compute deployment metadata for a deleted job (which we shouldn't do in the first place)deploy_then_remove_resources_test
now also deploys and deletes a job (in addition to a pipeline), which catches the error that this PR fixes.Tests
Unit and integ tests