optashift-employee-rostering build fails on openshift

陌路散爱 提交于 2019-12-08 05:57:38

问题


Trying to build the optashift-employee-rostering project

I followed the instructions in the readme file to build the app from this repo, but it fails every time. When I try it locally on my Windows 10 with Docker and the "oc.exe" tool, it simply hangs and the oc fails to open even the openshift local console (the one on localhost).

I've created an account on openshift (Starter: US East (Virginia) For individual learning and experimenting.) When I do it in openshift online, it fails the build but doesn't tell me the reason. Here are the logs: http://pasted.co/47eed571

How can I deploy this app to openshift or to some other cloud (Google Cloud/Microsoft Azure etc.)


回答1:


OpenShift Online (= free edition) has less than 1GB of RAM for the build pods, which isn't enough to build it (GWT compilations needs more). That leads to error code 137 during GWT compilation.

But OpenShift Online is enough to run it.

Workaround: Build the war locally with ./provision.sh deploy employee-rostering --binary as explained here in the readme. I hope that GWT and OpenShift play along better in the future.



来源:https://stackoverflow.com/questions/49007076/optashift-employee-rostering-build-fails-on-openshift

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!