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

CHE-12918 add checks for incompatible factories #13446

Merged
merged 1 commit into from
May 31, 2019
Merged

CHE-12918 add checks for incompatible factories #13446

merged 1 commit into from
May 31, 2019

Conversation

olexii4
Copy link
Contributor

@olexii4 olexii4 commented May 30, 2019

Signed-off-by: Oleksii Orel oorel@redhat.com

What does this PR do?

Show an error message in the case with incompatible CHE 6 factory. Reject incompatible factories resolving.

What issues does this PR fix or reference?

#12918

Screenshot from 2019-05-30 10-40-46
Screenshot from 2019-05-30 10-38-52
Screenshot from 2019-05-30 10-38-09

Signed-off-by: Oleksii Orel oorel@redhat.com

@olexii4
Copy link
Contributor Author

olexii4 commented May 30, 2019

@slemeur WDYT?

@slemeur
Copy link
Contributor

slemeur commented May 30, 2019

LGTM

@slemeur slemeur closed this May 30, 2019
@slemeur slemeur reopened this May 30, 2019
@olexii4
Copy link
Contributor Author

olexii4 commented May 30, 2019

ci-test

@che-bot
Copy link
Contributor

che-bot commented May 30, 2019

Results of automated E2E tests of Eclipse Che Multiuser on OCP:
Build details
Test report
docker image: eclipseche/che-server:13446
https://github.com/orgs/eclipse/teams/eclipse-che-qa please check this report.

@skabashnyuk
Copy link
Contributor

@olexii4 Does this pr make all persistent factories incompatible because they are not using devfile?

@olexii4
Copy link
Contributor Author

olexii4 commented May 31, 2019

@skabashnyuk No, it doesn't persistent all factories as incompatible. Only factories which include a CHE 6 workspace(with installers)

@olexii4
Copy link
Contributor Author

olexii4 commented May 31, 2019

@skabashnyuk Should I add devfile checks as a mandatory for both objects(workspace and factory)? Could you write an algorithm to check CHE 7 compatible workspaces and factories?

@skabashnyuk
Copy link
Contributor

I think it should be a check of the existence of a devfile object in the workspace and factory objects.
At this moment we have it for workspaces https://github.com/eclipse/che/blob/master/wsmaster/che-core-api-workspace-shared/src/main/java/org/eclipse/che/api/workspace/shared/dto/WorkspaceDto.java#L32 but we don't have it for factories. We are planning to introduce it as part of #13423

@ashumilova
Copy link
Contributor

This particular issue is about detecting "Che6" factories and notifying the user about them, as part of deprecation process. When devfile is introduced as part of the factory object, then we need to adjust following changes. But that fact doesn't block following PR to be merged. And for some period we will still be allowing to use workspaces with config.

Signed-off-by: Oleksii Orel <oorel@redhat.com>
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.

6 participants