ElasticBeanstalk/CodePipeline deployment code is no longer reflects most recent version

0

I have a CodePipeline with 3 stages source, build and deploy. The build stage basically runs some tests and outputs an artifact for the deploy stage. Deploy stage is using Elasticbeanstalk and Docker/Compose containers. Nothing fancy.

It used to work just fine for a month or so but we started having some weird issues like an email we removed from the codebase is still sending. After ssh-ing into the ec2 instance for the environment I found out that the code located in /var/app/current dates back to 3 weeks ago basically last time it was updated was on July 18th while I do make commits daily pretty much.

I checked the build artifact in S3 and confirmed that it has the most recent version of the code. What could be causing the code to not be updated?

Please note that I'm having this same problem on the development and production servers so it's replicable.

Mo
已提問 9 個月前檢視次數 73 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南