git - AWS CodeDeploy can't find github tar link for private repository "could not download bundle" -
i setting aws codedeploy revision github private repository. tried using both aws codedeploy gui , aws deploy command. gui, follow instruction of page https://blogs.aws.amazon.com/application-management/post/tx33xkakurccw83/automatically-deploy-from-github-using-aws-codedeploy. typed in credential when connect github repository. have made sure appspec.yml file in root directory of repository. during deployment, kept getting following message.
could not download bundle @ 'https://api.github.com/repos/[groupname]/[repositoryname]/tarball/[commitid]' after 3 retries. server returned codes: 404 'not found'; 404 'not found'; 404 'not found'; 404 'not found'.
when tried doing wget on url, see same 404 return code.
mymachine$ wget https://api.github.com/repos/[groupname]/[repositoryname]/tarball/[commitid] --2016-02-06 00:26:13-- https://api.github.com/repos/[groupname]/[repositoryname]/tarball/[commitid] resolving api.github.com... 192.30.252.124 connecting api.github.com|192.30.252.124|:443... connected. http request sent, awaiting response... 404 not found 2016-02-06 00:26:14 error 404: not found.
i bit out of luck. guidance or appreciate.
github can return 404 when have not connected deployment group in codedeploy github account, or when connected account not have pull permissions. can try reconnecting github via codedeploy console deployment group? can follow instructions @ http://docs.aws.amazon.com/codedeploy/latest/userguide/github-integ.html#github-integ-behaviors-auth so.
Comments
Post a Comment