CI Pipeline Process
•• Trigger: Commit or Pull Request
• • Steps:
• - Setup agent
• - Install dependencies
• - Build code
• - Run automated tests
• - Generate artifact
• - Push to registry
6.
CI Runners &Environments
• • Jobs run on agents or runners
• • GitHub-hosted, Azure-hosted, or self-hosted
• • Environment consistency is key
• • Avoid manual processes for testing
7.
Security in CI
•• Shift-left approach: detect issues early
• • Use tools like CodeQL, secret scanning,
Dependabot
• • Public repos: free features
• • Private repos: enterprise features required
8.
Continuous Delivery (CD)
•• CD prepares production-ready code
• • Runs through multiple environments: Dev,
QA, Staging
• • Builds confidence via automated testing
• • Manual gates or approvals before
production