Day 51: Your CI/CD pipeline on AWS - Part 2 ๐ โ
On your journey of making a CI/CD pipeline on AWS with these tools, you completed AWS CodeCommit.
Next few days you'll learn these tools/services:
CodeBuild
CodeDeploy
CodePipeline
S3
What is CodeBuild?
- AWS CodeBuild is a fully managed build service in the cloud. CodeBuild compiles your source code, runs unit tests, and produces artifacts that are ready to deploy. CodeBuild eliminates the need to provision, manage, and scale your own build servers.
Task-01 :
Read about the Buildspec file for Codebuild.
create a simple index.html file in CodeCommit Repository
you have to build the index.html using the nginx server
Task-02 :
Add buildspec.yaml file to CodeCommit Repository and complete the build process.
As you can see that we have created the files index.html and buildspec.yml and the we need to commit the files.
Push the committed file to the remote repository to the code commit repository.
-
Verify this in the remote repository
Now, navigate to the code build section of aws to build projects.
Give details
Provide the repository from which the project will pull to the code
Provide the environment details
Verify the project build details and now start the code build
code build is in progress.
Now, you can see that project build is succeeded.
Now, you can see the details of the build phase.
Happy Learning :)
Mohammed Muqafamuddin.