I am trying to use AWS CodeBuild for building my code from github. These are the steps I followed so far,
- 1) Created a windows docker image with all the pre-req software needed (git, npm, node.js etc) and pushed to Amazon ECS.
2)Created a project in AWS CodeBuild using
a) github as the source (What to build)
b) docker image created in Step 1 (How to build)
I setup buildspec.yml as below:
env:
#variables: #parameter-store: phases: #install: #pre_build: build: commands: - git clone https://github.com/OrgName/RepName.git "c:\www\localfolder" #post_build: #artifacts: #files:
But this is always failing during DOWNLOAD_SOURCE STEP saying "CodeBuild is experiencing Issues"
Please suggest how to setup buildspec.yml for github clone\fetch\checkout purpose.
Thanks.