在openshift上,optashift-employee-rostering的构建失败 [英] optashift-employee-rostering build fails on openshift

查看:84
本文介绍了在openshift上,optashift-employee-rostering的构建失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试构建 optashift-employee-rostering项目

我遵循了自述文件中的说明此存储库构建应用程序,但每次都会失败.当我在Windows 10上使用Docker和"oc.exe"工具在本地尝试时,它只是挂起,并且oc甚至无法打开openshift本地控制台(本地主机上的一个).

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).

我已经在openshift上创建了一个帐户(简化程序:US East(Virginia),用于个人学习和实验.) 当我在openshift在线上执行此操作时,构建失败,但没有告诉我原因. 以下是日志: http://pasted.co/47eed571

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

我如何将该应用程序部署到openshift或其他一些云(Google Cloud/Microsoft Azure等)

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

推荐答案

OpenShift Online(免费版本)的构建容器内存不足1GB,这不足以构建它(GWT编译需要更多空间).这将导致在GWT编译期间出现错误代码137.

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.

但是OpenShift Online足以运行它.

But OpenShift Online is enough to run it.

解决方法:使用./provision.sh deploy employee-rostering --binary在本地进行战争 如此处在自述文件中所述.我希望GWT和OpenShift将来会更好.

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.

这篇关于在openshift上,optashift-employee-rostering的构建失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆