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.

Nessuna risposta

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande