βš™οΈπŸ€– Concept of CI and CD

2 Comments

Before you begin

🧠 Imagine of Deployment Process:

Image

🎯 Scenario:

1. βš™οΈ Manual Deployment Steps

  1. Add, commit, and push your code to the repository (GitLab).
  2. SSH into your server.
  3. Pull the source code to ensure it is up-to-date.
  4. Stop and restart the application.
  5. Conduct testing and verification.
  6. Follow additional steps as necessary. Image πŸ“‰ All these steps are handled by humans.

2. πŸš€ Auto Deployment Steps

  1. Add, commit, and push your code to the repository (GitLab).
  2. CI: will auto handle build images, test.
  3. CD: Will automatic deployment to server. Image πŸ“ˆ All these steps are handled by system (CI/CD).

πŸ§ͺ What is CI and CD?

Image

CI/CD Pipeline ensures that each code change, whether introducing new features or fixing bugs, seamlessly integrates into the existing application and deploys continuously and automatically for end-users. This automation streamlines development processes, promotes consistency, and speeds up the delivery of software innovations.

πŸ’‘ Understanding CI/CD Concepts

Image

βš™οΈ Continuous Integration (CI): Automates code integration from multiple developers into a shared repository, running tests to catch issues early. Image πŸš€ Continuous Deployment (CD): Automatically deploys every code change to production after passing tests. Image πŸ“¦ Continuous Delivery (CD): Ensures code is always in a deployable state but requires manual approval for production deployment.

⭐ Benefits

CI/CD benefits include faster time-to-market, improved code quality through automated testing, reduced risk of bugs and deployment failures, increased development team efficiency and collaboration.

Image

πŸ”₯ Popular CI/CD tools:

Image ⚑️ CI and CD is essential to know!!! Every company deploys software in an automated fashion using CI and CD.

Congratulations πŸ₯³πŸ™ŒπŸŽ‰

Image

πŸ† Conclusion

Now you have learned the basics of CI and CD. I hope you enjoy this article. If you have any questions, please leave your comment below πŸ’¬.

Cheer πŸ₯‚πŸ‘πŸΎ

πŸ‘‡ Last but not least

πŸ€– Continuous improvement is better than delayed perfection.

Phirakbot
Phirakbot commented

@e.khav: Of course, sir. Another one is cooking, and will be released asap.

e.khav
e.khav commented

Please sharing next article