我正在为从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).
我不知道怎么了。