【问题标题】:Cannot deploy custom artifact to elasticbeanstalk and bypass git archiving无法将自定义工件部署到 elasticbeanstalk 并绕过 git 归档
【发布时间】:2018-04-19 07:32:04
【问题描述】:

我正在尝试将自定义 zip 文件部署到弹性 beantalk。我遵循了here 的指导方针,但在运行之后

eb deploy -v --debug

要获得详细的输出,我仍然可以看到使用 git 归档生成的 zip 而不是我的 zip config.yml 中的工件路径是绝对路径。

2018-04-19 10:23:52,476 (DEBUG) ebcli.lib.aws : Response: {'ApplicationVersions': [], 'ResponseMetadata': {'date': 'Thu, 19 Apr 2018 07:23:52 GMT', 'RequestId': '5d6d7dad-1a8c-48b0-9470-129cd39c2f09', 'RetryAttempts': 0, 'HTTPStatusCode': 200}}

2018-04-19 10:23:52,477(调试)ebcli.core.fileoperations:项目根目录位于:/home/ppe/git_src/ice

正在创建应用程序版本存档“app-2_0_4-15-gb03f-180419_102352”。 2018-04-19 10:23:52,478(调试)ebcli.core.fileoperations:项目根目录位于:/home/ppe/git_src/ice 2018-04-19 10:23:52,478(调试)ebcli.core.fileoperations:项目根目录位于:/home/ppe/git_src/ice

信息:使用 git archive HEAD 创建 zip

【问题讨论】:

    标签: amazon-web-services amazon-elastic-beanstalk ebcli


    【解决方案1】:

    看起来问题出在嵌套...我不小心将选项嵌套在全局下,因此它失败了

    【讨论】:

      猜你喜欢
      • 2015-07-20
      • 2021-10-26
      • 2013-11-05
      • 2020-08-28
      • 1970-01-01
      • 2022-12-16
      • 2019-10-15
      • 2015-08-02
      • 2017-04-24
      相关资源
      最近更新 更多