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

Can't update Che 7 in Minishift to use newer devfile registry #13676

Closed
nickboldt opened this issue Jul 2, 2019 · 5 comments
Closed

Can't update Che 7 in Minishift to use newer devfile registry #13676

nickboldt opened this issue Jul 2, 2019 · 5 comments
Assignees
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Milestone

Comments

@nickboldt
Copy link
Contributor

nickboldt commented Jul 2, 2019

Description

Out of the box latest Che 7 RC2+ (eclipse/che-server:nightly) references a devfile registry without default projects, in https://che-devfile-registry.openshift.io/devfiles/

Supposedly this is fixed in master (and in prod preview):

https://che-devfile-registry.prod-preview.openshift.io/devfiles/angular/devfile.yaml

But even if I change my Che's config map to use:

CHE_WORKSPACE_DEVFILE__REGISTRY__URL: 'https://che-devfile-registry.prod-preview.openshift.io/'

I still get workspaces created from stacks w/o projects in them.

So... I tried building the devfile registry from source as per

https://github.com/eclipse/che-devfile-registry/blob/master/README.md#build-eclipse-che-devfile-registry-docker-image

and deployed to my minishift, then updated the config to use the locally deployed registry:

CHE_WORKSPACE_DEVFILE__REGISTRY__URL: 'http://che-devfile-registry-che.192.168.99.112.nip.io/'

But I still can't get stacks w/ projects in them OOTB.

Reproduction Steps

Follow these steps:

https://github.com/redhat-developer/codeready-workspaces/blob/master/devdoc/building/che7-minishift-deployment.adoc

Then switch to a different devfile registry as noted above.

OS and version:

Minishift 1.34
Che 7 nightly deployed w/ chectl

Diagnostics:

@nickboldt
Copy link
Contributor Author

This might be a dupe / related to #13665

@nickboldt nickboldt added this to the 7.0.0 milestone Jul 2, 2019
@slemeur slemeur added the kind/bug Outline of a bug - must adhere to the bug report template. label Jul 3, 2019
@slemeur
Copy link
Contributor

slemeur commented Jul 3, 2019

Yes this is going to be fixed by #13665

@nickboldt
Copy link
Contributor Author

I think I was seeing this behaviour because of #13678 -- if we fix that one, this will likely be fixed too.

@ashumilova
Copy link
Contributor

@nickboldt was this fixed by merging this PR - #13825
can we close this one as well?

@nickboldt
Copy link
Contributor Author

Yes, this is no longer a problem using this version of che-server:

eclipse/che-server                             nightly             f895d15ed0b1        20 hours ago        362MB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

No branches or pull requests

4 participants