webfactory/create-aws-codedeploy-deployment

Could not download bundle error

ajtrichards opened this issue ยท 2 comments

Hi.I'm getting the following error messages when using this Action.

Run webfactory/create-aws-codedeploy-deployment@v0.1.0
๐ŸŽ‹ On branch 'uat', head commit COMMIT
๐Ÿ’ก Using appspec.yml -> branch_config 'uat' for branch 'uat'
๐ŸŽณ Using deployment group 'UAT'
โš™๏ธ Updated deployment group 'UAT'
๐Ÿšš๏ธ Created deployment d-MYDEPID โ€“ https://console.aws.amazon.com/codesuite/codedeploy/deployments/d-MYDEPID?region=eu-west-1
โฒ  Waiting for deployment d-MYDEPID to finish
##[error]๐Ÿ˜ฑ The deployment d-MYDEPID seems to have failed.

The error in Code Deploy is;

Could not download bundle at 'https://api.github.com/repos/EvaluAgent/MY_REPO/tarball/COMMIT' after 3 retries. Server returned codes: 404 'Not Found'; 404 'Not Found'; 404 'Not Found'; 404 'Not Found'.

Have I missed a step to create this tarball? I didn't see anything in the README that says about another step prior to deploy

Just guessing... did you connect the CodeDeploy application with your repository as described here?

https://docs.aws.amazon.com/codedeploy/latest/userguide/deployments-create-cli-github.html

DOH!!! I missed that step - although I was already connected. All working now!!