
CI/CD Fundamentals
Continuous Integration, Continuous Delivery, pipelines, build stages, artifacts, troubleshooting pipeline failures
1What is Continuous Integration (CI)?
What is Continuous Integration (CI)?
回答
Continuous Integration involves integrating code changes frequently into the main branch with automated validation. This allows for quick bug detection and maintains a stable codebase. Automated tests ensure that each commit doesn't break existing functionality.
2What is the main difference between Continuous Delivery and Continuous Deployment?
What is the main difference between Continuous Delivery and Continuous Deployment?
回答
Continuous Delivery prepares code for manual deployment to production after automated validation, while Continuous Deployment automatically deploys to production without human intervention. The former requires manual approval for production release, the latter fully automates the process to production.
3What is a CI/CD pipeline?
What is a CI/CD pipeline?
回答
A CI/CD pipeline is an automated sequence of steps that transforms source code into a deployable application. It orchestrates build, test, and deployment phases in a reproducible manner. Each step must succeed before moving to the next, ensuring the quality of the final deliverable.
What are the three main stages of a standard CI/CD pipeline?
What is an artifact in a CI/CD pipeline?
+15 面接問題