git aws.push
在使用 AWS-ElasticBeanstalk-CLI-2.6.0(需要 Ruby 的版本)时,我开始收到以下错误:
MacBook-Pro:apps-prd katia$ git aws.push
Counting objects: 18, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (17/17), done.
Writing objects: 100% (18/18), 126.20 KiB | 0 bytes/s, done.
Total 18 (delta 10), reused 4 (delta 1)
error: RPC failed; result=22, HTTP code = 400
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
我遇到了这个解决方案,它建议获取最新版本的 EB 命令行工具并重置它引用的所有位置。
在获得最近的 ASW CLI (2.6.4) 并重新配置后,我收到以下消息git aws.push
:
MacBook-Pro:apps-prd katia$ git aws.push
Updating the AWS Elastic Beanstalk environment eb-prescoapps-php-env...
Environment update initiated successfully.
但是,在每次提交之后部署我的应用程序大约需要 20-30 分钟(第 2 行和第 3 行之间的长时间姿势),而之前根据提交需要 1-3 分钟。
这是标准行为吗?是否部署了整个应用程序而不仅仅是提交的更改?有没有办法修复它?