This PR fixes an issue causing the cluster creation wizard to crash whenever a template containing configuration for the single instance type is uploaded
Fixes #366
Changes
add e2e spec
add mapper to convert ComputeResources to flexible instance type format
refactor e2e to centralize config and login steps
Changelog entry
Fix cluster creation wizard failing when uploading a template created with the single instance type format (supported untile PC 3.2.0)
How Has This Been Tested?
manually, by importing a template and proceeding with the dry run
e2e spec
unit tests
References
PR Quality Checklist
[x] I added tests to new or existing code
[ ] I removed hardcoded strings and used our i18n solution instead (see here)
[ ] I made sure no sensitive info gets logged at any time in the codebase (see here) (e.g. no user info or details, no stacktraces, etc.)
[ ] I checked that infrastructure/update_infrastructure.sh runs without any error
[x] I checked that npm run build builds without any error
[x] I checked that clusters are listed correctly
[x] I checked that a new cluster can be created (config is produced and dry run passes)
[ ] I checked that login and logout work as expected
Description
This PR fixes an issue causing the cluster creation wizard to crash whenever a template containing configuration for the single instance type is uploaded
Fixes #366
Changes
Changelog entry
Fix cluster creation wizard failing when uploading a template created with the single instance type format (supported untile PC 3.2.0)
How Has This Been Tested?
References
PR Quality Checklist
i18n
solution instead (see here)npm run build
builds without any errorIn order to increase the likelihood of your contribution being accepted, please make sure you have read both the Contributing Guidelines and the Project Guidelines
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.