Continuous Integration (CI) and Continuous Deployment (CD) – The Foundation
CI (Continuous Integration) ensures automatic build and testing of code upon every commit. CD (Continuous Delivery/Deployment) automates the deployment of code to various environments after successful test completion.
Components of a CI/CD Pipeline
- kubectl set image deployment/myapp app=myapp:$CI_COMMIT_SHA
https://myapp.com
GitHub Actions for Docker
GitHub Actions for Kubernetes
- name: Configure kubectl
uses: azure/k8s-set-context@v1
Frequently asked questions
What is a SARIF file?
A SARIF (Static Analysis Results Interchange Format) file is a standard format for sharing static analysis results, allowing tools to exchange data effectively.
What is Blue-Green Deployment?
Blue-Green deployment involves running two identical production environments. After testing the new environment, traffic is switched over to it, providing a fast and reliable rollback option.
How are multiple production servers managed?
Multiple production servers are created identically. A new version is deployed to one server for testing; if successful, the traffic is gradually shifted to this updated server.
▶ Try it live
Everything above runs in your browser — open Hash Function Avalanche Visualizer and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.