Bifalgorithm post

You push code to GitHub, how does that actually reach production? Once the code changes comes in, the CI pipeline starts. Tools like GitHub Actions and Jenkins. build the application and run the tests like security scans, code quality checks. If something breaks, the CI pipeline stops right there. Now if everything passes, the build produces something we can deploy. And this is called Artifact. For containerized application, that artifact is a Docker image. Now we need somewhere to store that image. So we push it to a container registry like Amazon ECR. That same image now moves through different environments. Development is where we test the application during development. a production environment where we verify the release before the real user sees it. The image stays same what changes configuration like database endpoints, environment variables, secrets and feature flags. Now CD take this validated artifact and move it towards production. Argo CD or Cloud Deploy handles the deployments. After deployment, we run smoke test to check did the survey start or main API responding. If it does not, we stop right there. gate. Maybe someone needs to approve it or there might be a security or policy check. We have something called as deployment strategies. First is rolling deploy. In this we replace the old instances gradually, not all at once. Now we watch what happens in production. We monitor things like error rate, latency, throughput, and even business metrics. Tools like Grafana, Datadog helps us to see these signals. If everything looks healthy, the deployment continues. But if something goes wrong, we stop and go back to the previous version. So CD can deploy that same image again.

You push code to GitHub, how does that actually reach production? Once the code changes comes in, the CI pipeline starts. Tools like GitHub Actions and Jenkins…

Ideas in this flowchart

  • Code Deployment Process
  • Code Push to GitHub
  • CI Pipeline Initiation
  • Build and Test
  • Build Application
  • Run Tests
  • Security Scans
  • Code Quality Checks
  • CI Pipeline Success
  • Artifact Production
  • Containerized Application
  • Docker Image Creation
  • Push to Container Registry
  • Environment Movement
  • Development Environment
  • Production Environment
  • Configuration Changes
  • CD Process
  • Deployment
  • Deployment Tools
  • Post-Deployment Tests
  • Approval and Checks
  • Deployment Strategies
  • Rolling Deploy
  • Production Monitoring
  • Monitor Metrics
  • Rollback on Failure
Feed/

You push code to GitHub, how does that actually reach production? Once the code changes comes in, the CI pipeline starts. Tools like GitHub Actions and Jenkins. build the application and run the tests like security scans, code quality checks. If something breaks, the CI pipeline stops right there. Now if everything passes, the build produces something we can deploy. And this is called Artifact. For containerized application, that artifact is a Docker image. Now we need somewhere to store that image. So we push it to a container registry like Amazon ECR. That same image now moves through different environments. Development is where we test the application during development. a production environment where we verify the release before the real user sees it. The image stays same what changes configuration like database endpoints, environment variables, secrets and feature flags. Now CD take this validated artifact and move it towards production. Argo CD or Cloud Deploy handles the deployments. After deployment, we run smoke test to check did the survey start or main API responding. If it does not, we stop right there. gate. Maybe someone needs to approve it or there might be a security or policy check. We have something called as deployment strategies. First is rolling deploy. In this we replace the old instances gradually, not all at once. Now we watch what happens in production. We monitor things like error rate, latency, throughput, and even business metrics. Tools like Grafana, Datadog helps us to see these signals. If everything looks healthy, the deployment continues. But if something goes wrong, we stop and go back to the previous version. So CD can deploy that same image again.

"You push code to GitHub, how does that actually reach production?"

👍
0
0 comments0 shares

Sign in to view and post comments.