在CI / CD Github(webhooks)上部署到AWS失败

时间:2020-05-25 21:50:12

标签: docker github amazon-ec2 continuous-integration continuous-deployment

我正在为从Github到AWS的Docker中的Wordpress堆栈做CI / CD。我有我的CodePipeline,并且工作流正在“源代码”和“构建”步骤中工作,但是部署失败,原因是:

Deployment completed, but with errors: During an aborted deployment, some instances may have deployed the new application version. To ensure all instances are running the same version, re-deploy the appropriate application version. Failed to deploy application. Unsuccessful command execution on instance id(s) 'i-0d474d15cf9d1f66b'. Aborting the operation. [Instance: i-0d474d15cf9d1f66b] Command failed on instance. An unexpected error has occurred [ErrorCode: 0000000001].

当我检查应用程序环境日志时,我得到:

Incorrect application version "code-pipeline-1590440852068-BuildArtifact-f90b1b39-4b30-4414-b0ae-d9f59df3b6b3" (deployment 13). Expected version "Sample Application" (deployment 1).

我不知道怎么了。

0 个答案:

没有答案