ReasonH / springboot-web-service

Spring Boot와 AWS로 구현하는 웹 서비스
0 stars 0 forks source link

Codedeploy 실패 #2

Closed ReasonH closed 4 years ago

ReasonH commented 4 years ago

image

(Travis log, 배포 실패 확인)

image

(AWS console에서 트리거된 문제)

ReasonH commented 4 years ago

해결

/var/log/aws/codedeploy-agent 의 log 확인 결과 다음 로그 발견

[Aws::CodeDeployCommand::Client 200 0.019753 0 retries] put_host_command_complete(command_status:"Failed",diagnostics:{format:"JSON",payload:"{\"error_code\":5,\"script_name\":\"\",\"message\":\"The CodeDeploy agent did not find an AppSpec file within the unpacked revision directory at revision-relative path \\"appspec.yml\\"....생략

appspec.yml 경로 및 오타 확인 후 수정