2016-07-21 13 views
0

を終了していない私は現在AWS フック appdeploy フックが

@ECHO OFF 
SET PATH=%PATH%; 
powershell -nologo -noprofile -command "ps PriceStreamerConsole -ErrorAction SilentlyContinue | kill -PassThru -Force" 
RD /S /Q C:\inetpub\wwwroot; 
MD C:\inetpub\wwwroot; 
powershell -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('c:\cfn\ebdata\source_bundle.zip', 'C:\inetpub\wwwroot'); }" 
cd "C:\inetpub\wwwroot" 
"C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe" /verbosity:quiet /t:"PriceStreamerConsole:Rebuild" 
"C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe" /verbosity:quiet /t:"PriceStreamerConsole:Rebuild" PriceStreamerConsole.sln 
START "" "C:\inetpub\wwwroot\PriceStreamerConsole\bin\Debug\PriceStreamerConsole.exe" 

私は、 "EBのデプロイ" を使用してローカルから展開してきたとき、私が手に制定:

Creating application version archive "app-f28f-160721_124638". 
Uploading: [##################################################] 100% Done... 
INFO: Environment update is starting.        
INFO: Deploying new version to instance(s).       

ERROR: Timed out while waiting for command to Complete. The timeout can be set using the --timeout option. 

答えて

1

あなたが使用してこれを行うことができますオプションの設定。オプションの設定は、ebextensionsを使用して指定できます。

.ebextensionsという名前のディレクトリにファイルを作成します。ファイルが.ebextensions/01-increase-timeout.configであるとします。ファイルの

内容は次のようになります。このファイルはYAMLフォーマットである

option_settings: 
    - namespace: aws:elasticbeanstalk:command 
     option_name: Timeout 
     value: 1000 

注意。 この後、このバージョンのソースコードで環境を更新することができます。