CI/CD pipelines for Python backend services using GitHub Actions.
This repository demonstrates a clean and maintainable CI/CD setup focused on fast feedback, reliability, and minimal operational overhead.
-
Pull Request
- Run unit tests
- Lint and format checks
- Fail fast on errors
-
Main Branch
- Build Docker image
- Push image to registry
- Deploy (real or simulated)
- GitHub Actions
- Docker
- Pytest
- Linting and formatting tools
- Keep pipelines readable
- Prefer convention over customization
- Fail early, deploy safely
- Secrets stored using GitHub Secrets
- No credentials committed to the repository
- Minimal permissions for CI jobs
- No complex release orchestration
- No multi-region deployments
- Full DevOps platform
- Custom runners or self-hosted infrastructure
- Canary deployments
- Rollback automation