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

[JUJU-1664] Add force, no-wait, destroy-storage params to app.destroy #714

Merged
merged 3 commits into from
Aug 19, 2022

Conversation

cderici
Copy link
Contributor

@cderici cderici commented Aug 18, 2022

Description

This PR adds the parameters force, no_wait and destroy_storage parameters to Application.destroy().

Fixes #645

QA Steps

tox -e integration -- tests/integration/test_application.py::test_app_destroy
tox -e integration -- tests/integration/test_application.py::test_app_remove_wait_flag

Notes & Discussion

Copy link
Contributor

@juanmanuel-tirado juanmanuel-tirado left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We must not set force and no-wait by default.

juju/application.py Show resolved Hide resolved
Copy link
Contributor

@juanmanuel-tirado juanmanuel-tirado left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG2M

@cderici
Copy link
Contributor Author

cderici commented Aug 19, 2022

/merge

@jujubot jujubot merged commit 4c49c1f into juju:master Aug 19, 2022
jujubot added a commit that referenced this pull request Oct 6, 2022
#739

## What's Changed

* Model name can now be accessed through model.name by @jack-w-shaw in #702
* [JUJU-1593] Fix `unit.run()` and update the old client codes by @cderici in #710
* Add py.typed marker by @sed-i in #709
* [JUJU-1664] Add force, no-wait, destroy-storage params to app.destroy by @cderici in #714
* snapcraft.io access should use https requests by @addyess in #715
* [JUJU-1680] Add issue and PR templates by @cderici in #718
* [JUJU-1681] Add --attach-storage parameter to model.deploy by @cderici in #720
* [JUJU-1706] Allow waiting for `wait_for_exact_units=0` by @cderici in #723
* [JUJU-1663] Drop Python 3.5 support from python-libjuju by @cderici in #722
* [JUJU-1671] Charmhub url from model config by @cderici in #724
* [JUJU-1733] Revisit unitrun example by @cderici in #725
* [JUJU-1800] Revise the `application.upgrade_charm()` (refresh) by @cderici in #729
* [JUJU-1893] Revisit `charmhub.info()` by @cderici in #737

[JUJU-1593]: https://warthogs.atlassian.net/browse/JUJU-1593?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[JUJU-1664]: https://warthogs.atlassian.net/browse/JUJU-1664?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[JUJU-1680]: https://warthogs.atlassian.net/browse/JUJU-1680?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[JUJU-1681]: https://warthogs.atlassian.net/browse/JUJU-1681?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[JUJU-1706]: https://warthogs.atlassian.net/browse/JUJU-1706?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[JUJU-1663]: https://warthogs.atlassian.net/browse/JUJU-1663?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[JUJU-1671]: https://warthogs.atlassian.net/browse/JUJU-1671?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
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.

Application.destroy() should have force, no_wait, destroy_storage options
3 participants