-
Notifications
You must be signed in to change notification settings - Fork 107
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
Preservation of OS images when re-runnning 'epicli apply' #2329
Conversation
seriva
commented
May 18, 2021
•
edited
Loading
edited
- Implemented a mechanism to use the current OS images for every OS and not only the default we have defined for Ubuntu.
- Added option for preservation of OS images when re-runnning 'epicli apply' for existing cluster. In both cases a warning will be shown to preserve the images.
- Removed commented out validation command is we will not be implementing that anymore in Epicli.
/azp run |
/azp run |
Unit tests fail:
|
/azp run |
…nd not only the default we have defined for Ubuntu.
core/src/epicli/data/aws/defaults/infrastructure/cloud-os-image-defaults.yml
Outdated
Show resolved
Hide resolved
core/src/epicli/data/azure/defaults/infrastructure/cloud-os-image-defaults.yml
Outdated
Show resolved
Hide resolved
…os-image-defaults
Co-authored-by: to-bar <[email protected]>
Co-authored-by: to-bar <[email protected]>
Co-authored-by: to-bar <[email protected]>
Co-authored-by: to-bar <[email protected]>
…age-defaults.yml Co-authored-by: to-bar <[email protected]>
…e-defaults.yml Co-authored-by: to-bar <[email protected]>
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.
Shouldn't we update automated tests to ensure that os version didn't change in apply -> upgrade -> apply
scenario? @przemyslavic can you help here? Do we have any automated tests for this? Where should we update?
Unit tests are updated, as the automated tests, that is probably more a pipeline thing which I think @przemyslavic was already setting up? |
As discussed during the standup, unit tests should be sufficient here. A pipeline for testing the LTS version has already been created. |
core/src/epicli/cli/engine/providers/azure/InfrastructureBuilder.py
Outdated
Show resolved
Hide resolved
core/src/epicli/cli/engine/providers/aws/InfrastructureBuilder.py
Outdated
Show resolved
Hide resolved
Co-authored-by: to-bar <[email protected]>
Co-authored-by: to-bar <[email protected]>
…er.py Co-authored-by: to-bar <[email protected]>
Co-authored-by: to-bar <[email protected]>
/azp run |
…ergy#2329) - Implemented a mechanism to use the current OS images for every OS and not only the default we have defined for Ubuntu. - Added option for preservation of OS images when re-runnning 'epicli apply' for existing cluster. In both cases a warning will be shown to preserve the images. - Removed commented out validation command is we will not be implementing that anymore in Epicli.