eclipse-che / che

Kubernetes based Cloud Development Environments for Enterprise Teams
http://eclipse.org/che
Eclipse Public License 2.0
6.99k stars 1.19k forks source link

Dashboard is incorrectly representing devfile sizes if defined in GiB #14096

Closed ScrewTSW closed 5 years ago

ScrewTSW commented 5 years ago

Describe the bug

When using the latest version of the devfile registry, the images which are using GiB in their meta.yaml instead of MiB are being rounded up to 0GiB by the frontend.

Che version

Steps to reproduce

Open create-workspace tab Look for Java Springboot or Java MySQL The required size is 0Gi

Expected behavior

Dashboard will correctly represent the devfile required size

Runtime

Screenshots

image

Installation method

Environment

amisevsk commented 5 years ago

Workaround PR: https://github.com/eclipse/che-devfile-registry/pull/70

ibuziuk commented 5 years ago

PR with workaround was merged - https://github.com/eclipse/che-devfile-registry/pull/70 moving to 7.1.0

ibuziuk commented 5 years ago

Pointer to the UD code that does conversion https://github.com/eclipse/che/blob/0e06a2b57fff4b55d8a38c300cf8a8a910dfae23/dashboard/src/app/workspaces/create-workspace/devfile-selector/devfile-selector.html#L59

ScrewTSW commented 5 years ago

Confirmed fixed. closing.