Creating a CodeCommit repository for microservices
In this section, we will create a CodeCommit repository that will be integrated with the CodeBuild and CodePipeline projects. We will also enable CodeGuru Reviewer on the repository to scan the source code. Perform the following steps:
- Go to CodeCommit and click on Create repository. Type
CatalogApp
in the Repository name field and provide an entry for the Description field. Also, select the Enable Amazon CodeGuru Reviewer for Java and Python checkbox, and then click on Create. - You will be redirected to the Repositories page. Select
HTTPS
under the Clone URL section, as illustrated in the following screenshot:
- Go to the Cloud9 editor terminal and paste the following command:
$ git clone https://git-codecommit.us-east-1.amazonaws.com/v1/repos/CatalogApp
- Now, clone the repository and copy
chapter-08
to theCatalogApp
folder, as follows...