0

试图从这个开始..

我创建了一个图像 (Nodejs) 并将其推送到 Bluemix。在 Bluemix 中,我创建了一个容器,这很有效。

然后我在 jazz 中创建了一个项目......并使用 DevOps 管道(IBM 容器服务)来构建应用程序。我想做的是自动化这个应用程序的构建和部署。

现在..我应该把什么作为图像名称?我会认为这是我已经推送的图像..但也许不是。然后我将其更改为“mynewapp”之类的东西,但这也不起作用。

使用现有图像时出现的错误是:(图像名称是 test920)不确定为什么它添加了标签 12...

The desired image repository name will be registry.ng.bluemix.net/jytestcontainer/test920:12
Initialization complete
Number of images: 0 and Image limit: 5
The number of images are less than the image limit
Init runtime of 3m 10s
total 12

Starting build script
No unit tests cases have been checked in
Building registry.ng.bluemix.net/jytestcontainer/test920:12
zipped tar size: 1185166
Posting 1185166 bytes... It may take a while...
Command failed with container cloud service
{
    "code": "IC5000E", 
    "description": **"Sorry, an error occurred on our side. Please reference the problem using the provided incident ID",** 
    "incident_id": "b4b88aeb12e5a4d9", 
    "name": "DefaultMessage", 
    "rc": "500", 
    "type": "General"
}

当我使用一个新的图像名称时——一个不存在的..我得到:

Building registry.ng.bluemix.net/jytestcontainer/**nodecontainer**:15
zipped tar size: 1185855
Posting 1185855 bytes... It may take a while...
Command failed with container cloud service
{
    "code": "IC5000E", 
    "description": "Sorry, an error occurred on our side. Please reference the problem using the provided incident ID", 
    "incident_id": "b520b2ea4a115bbd", 
    "name": "DefaultMessage", 
    "rc": "500", 
    "type": "General"
}
"ice build --pull --tag registry.ng.bluemix.net/jytestcontainer/nodecontainer:15 /home/jenkins/workspace/3f72adfe-59e3-b729-ef87-6316c8d67561/806f147e-9244-4b69-849e-abce3b0def1b" did not return successfully.

所以问题是......这个过程是否首先建立一个新的形象?如果是这样..为什么它不适用于不存在的图像名称?

如果它需要现有图像..为什么它使用不存在的标签?

任何指针表示赞赏....

干杯

4

1 回答 1

1

这些示例脚本对我来说很好用。您可以在此公开示例中查看用法。

于 2015-11-06T21:53:35.463 回答