2015-11-06 90 views
0

试图开始使用此..IBM容器和DevOps管道

我创建了一个图像(Nodejs)并将其推送到Bluemix。在Bluemix中,我创建了一个容器并且工作正常。

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

现在..我应该把什么作为图像名称?我会认为这是我已经推动的形象,但也许不是。然后,我将它改为“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. 

所以,问题是......难道这个过程中建立一个新的形象第一次?如果是这样的话。为什么它不适用于不存在的图像名称?

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

任何指针赞赏....

干杯

+0

注:经过编译脚本... 大厦registry.ng.bluemix.net/jytestcontainer/test920:12 的“12”是内部版本 - 不记名。 – James

回答

1

这些sample scripts为我工作得很好。您可以在此公开sample中查看使用情况。

+0

谢谢何塞..将检查出并更新此线程.... – James