Skip to content
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

Fix force flag not working for bundle destroy #434

Merged
merged 2 commits into from
Jun 19, 2023
Merged

Conversation

shreyas-goenka
Copy link
Contributor

@shreyas-goenka shreyas-goenka commented Jun 5, 2023

Changes

--force flag did not exist for bundle destroy. This PR adds that in.

Tests

manually tested. Now adding the --force flag hijacks the deploy lock on the target directory.

@shreyas-goenka shreyas-goenka changed the title Fix force flag not working for bundle destroy [WIP] Fix force flag not working for bundle destroy Jun 5, 2023
@shreyas-goenka shreyas-goenka changed the base branch from main to fix-destroy-unlock June 18, 2023 22:40
@shreyas-goenka shreyas-goenka changed the base branch from fix-destroy-unlock to main June 18, 2023 22:41
@shreyas-goenka shreyas-goenka changed the base branch from main to fix-destroy-unlock June 18, 2023 22:42
@shreyas-goenka shreyas-goenka changed the base branch from fix-destroy-unlock to main June 18, 2023 22:42
@shreyas-goenka
Copy link
Contributor Author

shreyas-goenka commented Jun 18, 2023

This PR together with #492 fixes bundle destroy

@shreyas-goenka shreyas-goenka changed the base branch from main to fix-destroy-unlock June 18, 2023 22:43
@shreyas-goenka shreyas-goenka changed the base branch from fix-destroy-unlock to main June 18, 2023 22:43
@shreyas-goenka shreyas-goenka changed the title [WIP] Fix force flag not working for bundle destroy Fix force flag not working for bundle destroy Jun 18, 2023
@shreyas-goenka shreyas-goenka merged commit 4a03265 into main Jun 19, 2023
4 checks passed
@shreyas-goenka shreyas-goenka deleted the fix-destroy-force branch June 19, 2023 10:31
@pietern pietern mentioned this pull request Jun 20, 2023
pietern added a commit that referenced this pull request Jun 20, 2023
## Changes

This version marks the first version available as public preview.

The minor bump to 200 better disambiguates between Databricks CLI "v1" (the Python version)
and this version, Databricks CLI "v2". The minor version of 0.100 may look lower than 0.17
to some, whereas 200 does not. This bump has no other significance.

CLI:
* Add filer.Filer implementation backed by the Files API ([#474](#474)).
* Add fs cp command ([#463](#463)).
* Correctly set ExactArgs if generated command has positional arguments ([#488](#488)).
* Do not use white color as string output ([#489](#489)).
* Update README to reflect public preview status ([#491](#491)).

Bundles:
* Fix force flag not working for bundle destroy ([#434](#434)).
* Fix locker unlock for destroy ([#492](#492)).
* Use better error assertions and clean up locker API ([#490](#490)).

Dependencies:
* Bump golang.org/x/mod from 0.10.0 to 0.11.0 ([#496](#496)).
* Bump golang.org/x/sync from 0.2.0 to 0.3.0 ([#495](#495)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants