Comments (9)
Im having a issue where my deployment scrip is failing and i'm not sure why. When i use locate i can se that there are some files kept in the deployment-archive
/opt/codedeploy-agent/deployment-root/b0262369-...-4c44-ab6d-6ee70839a1ae/d-.../deployment-archive/deploy/scripts/ApplicationStop.sh
/opt/codedeploy-agent/deployment-root/b0262369-...-4c44-ab6d-6ee70839a1ae/d-.../deployment-archive/deploy/scripts/ApplicationStop.sh
/opt/codedeploy-agent/deployment-root/b0262369-...-4c44-ab6d-6ee70839a1ae/d-../deployment-archive/deploy/scripts/ApplicationStop.sh.
And these are Old deployments (failed attempts). I believe i've fixed my scrip issue but i don't know how to make the codedeploy agent use the new scripts from GitHub and not try to pick up from the old deployments. is there like a deployment-archive cache clear or something for this ?
from aws-codedeploy-agent.
from aws-codedeploy-agent.
Hi timgilbert,
max_revision is not documented anywhere? hmm -> http://docs.aws.amazon.com/codedeploy/latest/userguide/host-cleanup.html
The fix for #57 will be fixed in next release of the host agent.
from aws-codedeploy-agent.
I configured the :max_revisions: parameter to 3 and it continues to have 5 folders and going over the amount of space... currently the only thing that seems to work is to force the cleanup thru a hook.
Installed Packages
Name : codedeploy-agent
Arch : noarch
Version : 1.0
Release : 1.1352
Size : 16 M
Repo : installed
Summary : Provides the required files for CodeDeploy agent to run in EC2 instances
License : Amazon.com Internal
Description : CodeDeploy instance agent is responsible for doing the actual work of deploying software
: on an EC2 instance.
from aws-codedeploy-agent.
Hi,
The max_revisions works in the new agent releases and deletes the extra deployment revisions within a deployment group. It works when being set to an integer that is 1 or greater. If you have multiple deployment groups, each deployment group will honor the max_revisions separately.
Please let me know if you are still seeing problems.
Thank you
from aws-codedeploy-agent.
Will close this since the fix has been out for a while.
from aws-codedeploy-agent.
Team,
I have an issue with AWS Codedeploy Cache after completed the pipeline but it is taking old data.
How do I solve the issue over the Pipeline?
Could anyone help me, guys?
Thanks in advance.
from aws-codedeploy-agent.
But MySQL service everything has been deleted. I don't know why how it comes to the old data after completed the Pipeline.
Could you please help me on this issue
from aws-codedeploy-agent.
@manikarnam
Any updates or workaround on this issue ?
Besides the same Log error from a previous deployment, I'm getting this error message on the console:
The overall deployment failed because too many individual instances failed deployment, too few healthy instances are available for deployment, or some instances in your deployment group are experiencing problems.
PS. I did restart the agent
from aws-codedeploy-agent.
Related Issues (20)
- Windows Deployment Group logs should be in the log folder
- Code deploy falling very frequently HOT 1
- CodeDeplot Access denied when calling "codedeploy-commands.eu-central-1.amazonaws.com:443" HOT 1
- [Feature Request] Debian (12 Bookworm) support HOT 1
- [problem] CodeDeploy Agent systemd service bash-completion error
- [Error] AL2023 - max_revisions - Error deleting directories HOT 3
- CodeDeploy 'Downloading failed bundle.zip from s3 bucket' at "DownloadBundle" step HOT 1
- Service is running but with errors HOT 1
- Codedeploy failing randomly at Install not finding appspec.yml
- Switch to use s3 multipart download when fetching artifacts
- DownloadBundle deployment lifecycle events for troubleshooting UnknownError: execution expired HOT 1
- Failed deployment DownloadBundle events with error "No such file or directory - getcwd" HOT 1
- Add the CodeDeploy agent to the PATH HOT 1
- CodeDeploy agent support for RHEL 9 HOT 1
- Announcement: Releasing Agent 1.7.0 to all regions
- [Feature request] Deployments to ASG Warm pool instances using CodeDeploy lifecycle hooks HOT 1
- [feature] allow codeploy agent service with manual start on windows
- [Issue] : cron job not running as expected after CodeDeploy changes the code in EC2 using CodePipeline
- Install fails using SSM AWS-ConfigureAWSPackage on ARM
- Some request missing SNI field HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-codedeploy-agent.