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 に答える