-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Align upgrade_charm hook with install hook (#252)
* Reword update kernel message * Add schedule_build_runner_image to upgrade_charm * Add _set_reconcile_timer call to upgrade_charm * Remove download binary in install hook * Remove outdated code * Reword upgrading kernel msg * add integration test * extract common code into method * extract common code into method * Revert "Remove download binary in install hook" This reverts commit e8399b3. * Adjust idle period in integration test * lint * cleanup * Reword comment * Add _block_on_openstack_config to upgrade * improve integration test * Don't go into BlockedStatus on error * improve integration test * lint * add return type to is_upgrade_charm_event_emitted * lint * fix after merge * Remove _set_reconcile_timer in upgrade-charm hook * Move _set_reconcile_timers to common hook Also make image building conditional and move to common hook * Fix assert docstring * Fix lxd exists * Make build-lxd-image.sh executable * Assert that image has not been rebuilt in integration test * cleanup --------- Co-authored-by: Yanks Yoon <[email protected]> Co-authored-by: javierdelapuente <[email protected]>
- Loading branch information
1 parent
4f1d2ea
commit baa10e2
Showing
12 changed files
with
298 additions
and
64 deletions.
There are no files selected for viewing
Empty file.
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
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
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
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
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
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
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
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
Oops, something went wrong.