首页 文章

在Redhat Openshift中获取汇编脚本失败错误构建应用程序

提问于
浏览
0

我是Redhat OpenShift 的新手,并试图部署节点应用程序(使用angularjs mysql)并遇到构建问题 .

使用 openshift 控制台创建的节点应用程序和高级选项指向私有存储库并链接已配置的密钥(ssh密钥到私有存储库) .

我的构建失败 "Assemble script failed" . 粘贴日志如下(来自控制台 - 混淆的私钥和值) .

不确定我是否遗漏了一些配置 . 感谢这方面的帮助 .

Cloning "ssh://username@bitbucket.org/username/my-app.git" ...
Commit: xxxxxxxxxxxxxxxxx (Fixed readme)
Author: Name <email>
Date:   Wed Sep 6 19:50:59 2017 -0700
Pulling image "docker- 
registry.default.svc:5000/openshift/nodejs@sha256:0000000000000" ...
---> Installing application source
---> Building your Node application from source
Current git config
url.https://github.com.insteadof=git@github.com: 
url.https://.insteadof=ssh:// 
url.https://github.com.insteadof=ssh://git@github.com 
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.url=ssh://username@bitbucket.org/username/my-app.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master
---> Installing dependencies
---> Using 'npm install -s --only=production' 
error: build error: non-zero (13) exit code from docker- 
registry.default.svc:5000/openshift/nodejs@sha256:0000000000000

请注意我的源代码托管在私有存储库上,并且每个日志上面显示openshift能够访问存储库并下载源代码 .

1 回答

  • 0

    谢谢格雷厄姆的指针 . 我重新创建了应用程序,这次在Web控制台上的高级选项中选择了1 GB(默认值为500 MB),之后我的构建工作正常 .

相关问题