Check Pipeline

Check Frontend Pipeline

Proceed to push the buildspec.yml file to the GitHub repository.

Create CodeBuild Project

I have prepared 2 files, one file is create-tag.sh and one file is quick-tag.sh.

With quick-tag.sh, it will automatically increment the patch version (v1.0.0 → v1.0.1) and create a tag and push immediately. No additional input needed.

With create-tag.sh, it will allow you to enter an arbitrary version, check for uncommitted changes, validate version format, and display the tag URL after creation.

Proceed to run the file and check the pipeline.

Create CodeBuild Project

Create CodeBuild Project

Create CodeBuild Project

CodeBuild has automatically triggered and started running the Pipeline.

You can view the pipeline execution logs.

Create CodeBuild Project

Check SonarQube, in the Projects section, the Shopnow Frontend project is already available with Issues displayed.

Create CodeBuild Project

Create CodeBuild Project

Check ECR, in the Repositories section, the shopnow-frontend repository is already available with Images pushed up.

Create CodeBuild Project

Check Backend Pipeline

Proceed to push the buildspec.yml file to the GitHub repository.

Create CodeBuild Project

Proceed to create a tag and check the pipeline.

Create CodeBuild Project

Create CodeBuild Project

Check the CodeBuild Build logs.

Create CodeBuild Project

Check SonarQube, in the Projects section, the Shopnow Backend project is already available with Issues displayed.

Create CodeBuild Project

Create CodeBuild Project

Check ECR, in the Repositories section, the shopnow-backend repository is already available with Images pushed up.

Create CodeBuild Project

Thus, both pipelines have been successfully operational. For other Services, you can do the same following my guidance steps.