In the second series of the Aws DevOps, We will see how we can use Code Build for compiling and building our code. Build Process in Aws Code Build works in a different way. Following are the steps that are required for building the code.
More to Come, Happy Learning
- Source code is checked out from the codeCommit Repository. Different SCM like GitHub or S3 bucket can be integrated with the CodeBuild.
- CodeBuild service is based on buildspec.yml file. This file contains some commands to run during the build phases like install, pre-build,post-build etc. The file needs to be in the ROOT of the project folder and have to be committed to the repository.
- If we don’t have buildspec.yml ,we can directly use maven command to build the code.
- Once the build is completed, the artifacts will be stored in the S3 bucket.
- Notifications can be configured using the “Simple Notification Service ( SNS )” for obtaining the build results.
Search for the Aws CodeBuild tool and select the tool to see the below screen. fill the details based on your requirement,
Save and move to the next page,
When we click on the start Build, it will give options to configure as,
Once we fill the necessary details and click the start build, the build will run and the artifacts will be available in the s3 bucket that we configured.
More to Come, Happy Learning
Hello my loved one! I want to say that this article is amazing, nice written and come with approximately all vital
ReplyDeleteinfos. I would like to look extra posts like this .
Thanks for sharing valuable information. Your blogs were helpful to AWS learners. I
ReplyDeleterequest to update the blog through step-by-step. Also, find the AWS news at
AWS Online Course