-
Notifications
You must be signed in to change notification settings - Fork 57
Use upstream che 7 stacks as-is in rhche without any customizations #1347
Comments
also since che 6 gradle factory is pretty unusable atm it is a very good time to replace it with che 7 equivalent - #1344 |
Before proceeding much farther in this issue, we should clarify what the purpose and goal of redhat-devleoper/che-dockerfiles is going forward. We're currently using the upstream I've got some semi-working che7 maven and gradle stacks, but there seem to be some UID issues (user in dev machine is different from My current WIP is here |
What I would really like is that we just take existing images and reuse them as they are. It doesn't matter if it's for che.openshift.io, upstream or codeready worksapces: in all 3 platforms we want users to be able to run their stack without any modification and rebuild of the images. Now the challenge on OpenShift is that by default the containers are started as arbitrary users. In particular:
I think that problem 1. is mitigated by some OpenShift-ready images (e.g. the centos ones) but I haven't found any image that does the envsubst trick. As a consequence some applications will have issues. One example is That said I have tested a Che 7 Java-maven stack replacing the recipe image with |
👍
@l0rd currently should we use s2i based images for che 7 for now on che.openshift.io to avoid these issues or somehow try to contribute required fixes to the images used in upstream recipes? |
I think going with s2i images would be the right choice. And I would like to stress again that this is not a che.openshift.io specific issue. Che users and crw customers running on OpenShift will face this issue. |
Ok, I'll look into it more, thanks @l0rd and @ibuziuk. It looks like the current che-dev image is working becuase of its entrypoint |
Need to test upstream stacks as-is on che.openshift.io and do not override anything on rh-che: e.g centos/python-36-centos7:1 from https://github.com/sclorg
if image works we add new stack in rh-che, if it is not we open issue upstream |
Not sure if we need a new issue for that but, PR sent - #1414 |
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
@amisevsk I have added a list of acceptance criteria to the issue description (cc @slemeur). I may miss something so please update. I have splitted acceptance criteria in 2 because I believe that those could become 2 independent automated tests suites to use as PR checks on che-plugin-registry and (language servers / debug adapters repos?) |
@ibuziuk ok for me |
Closing in favor of #1434 |
Description:
PR eclipse-che/che#12898 fixes various issues with stacks in upstream Che. We should port those changes over to the fabric8 stacks.
List of che 7 stacks that should be available on che.openshift.io for GA:
Sub tasks:
also, we need to test all devfiles that would be available in the devfile registry:
Stack images Acceptance Criteria
These are the things that we should verify to validate a particular stack
Stack Language Servers Acceptance Criteria
The text was updated successfully, but these errors were encountered: