Hey everyone! 👋
I've put together a complete end-to-end CI/CD setup using:
- ✅ AWS CodePipeline
- ✅ AWS CodeBuild
- ✅ S3 for hosting a static website
- ✅ Separate unit testing stage before build
If you're looking to test, build, and deploy your web app — automatically — using only AWS services, you’ll love this setup.
✅ What This Project Covers
📌 Step-by-step setup for
- Running unit tests with a dedicated unit-test CodeBuild stage
- Building your app (React, Angular, Vue, etc.)
- Deploying the built files to an S3 bucket (static website hosting)
- Automating it all with AWS CodePipeline
🔬 Unit Testing Before Build
I’ve added a separate CodeBuild project that:
- Runs your test framework
- Fails early if tests don't pass ✅
- Prevents broken code from moving to build or deploy stages
⚙️ Final Build & Deployment
Once tests pass, a second CodeBuild stage:
- Runs build
- Uploads the output (like dist/ or build/) to S3
- S3 serves your static website via public endpoint or CloudFront
📁 GitHub Repo (Step-by-Step Instructions):
🧠 Who Should Try This?
- Frontend developers deploying static apps
- DevOps engineers automating CI/CD pipelines
- Anyone exploring AWS CodeBuild, CodePipeline & S3!
🛠️ Tools Used
- AWS CodePipeline
- AWS CodeBuild
- AWS S3
- GitHub as source
💬 Feel free to clone the repo, try it out, and ask me anything! Let's build the right way — with testing, automation, and zero manual deploys. 🚀
Top comments (0)
Some comments may only be visible to logged-in visitors. Sign in to view all comments.