{"id":7919,"date":"2026-04-24T10:14:06","date_gmt":"2026-04-24T08:14:06","guid":{"rendered":"https:\/\/mybox.com\/help\/?post_type=manual_kb&#038;p=7919"},"modified":"2026-04-24T10:14:09","modified_gmt":"2026-04-24T08:14:09","slug":"ce-este-ci-cd","status":"publish","type":"manual_kb","link":"https:\/\/mybox.com\/help\/ro\/knowledgebase\/what-is-ci-cd\/","title":{"rendered":"Ce este CI\/CD?"},"content":{"rendered":"<div class=\"translation-block translation-block-merged\">\n<p class=\"wp-block-paragraph\" id=\"p-rc_7cbb011fb761490c-155\">CI\/CD (Continuous Integration \/ Continuous Deployment) is the backbone of modern software engineering.<sup><\/sup> It is an automated methodology that allows teams to build, test, and ship code changes with speed and reliability.<sup><\/sup> Instead of large, risky manual updates once every few months, CI\/CD enables a flow of small, low-risk improvements every day.<sup><\/sup><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the <strong>mybox<\/strong> environment, CI\/CD acts as your &#8220;automated factory.&#8221; While the <strong>mybox panel<\/strong> provides the infrastructure, the CI\/CD pipeline ensures that only high-quality, fully tested code is allowed to reach your production server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_86 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/what-is-ci-cd\/#Two_Core_Components\" >Two Core Components<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/what-is-ci-cd\/#Why_implement_CICD_at_mybox\" >Why implement CI\/CD at mybox?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/what-is-ci-cd\/#The_Modern_CICD_Pipeline_2026_Standards\" >The Modern CI\/CD Pipeline (2026 Standards)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/what-is-ci-cd\/#2026_Best_Practices_for_Infrastructure_Literacy\" >2026 Best Practices for Infrastructure Literacy<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/what-is-ci-cd\/#Summary\" >Summary<\/a><\/li><\/ul><\/nav><\/div>\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Two_Core_Components\"><\/span>Two Core Components<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<\/div>\n\n<div id=\"mybox-3935308677\" class=\"mybox-content mybox-entity-placement\"><div class=\"early-access-banner-inpost\">\r\n  <div class=\"banner-left-inpost\">\r\n    <div class=\"icon-box-inpost\">\r\n      <img decoding=\"async\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/02\/square-info-icon.svg\" alt=\"Info\">\r\n    <\/div>\r\n    <div class=\"text-box-inpost\">\r\n      <span class=\"label-inpost\"><span class=\"translation-block translation-block-banner-text\">Acces timpuriu<\/span><\/span>\r\n      <h4><span class=\"translation-block translation-block-banner-text\">Mai ave\u021bi nevoie de ajutor?<\/span><\/h4>\r\n      <p><span class=\"translation-block translation-block-banner-text\">Contacta\u021bi echipa noastr\u0103 de servicii pentru clien\u021bi.<\/span><\/p>\r\n    <\/div>\r\n  <\/div>\r\n\r\n  <div class=\"banner-right-inpost\">\r\n    <a href=\"https:\/\/panel.mybox.com\/helpdesk2\/v\/list\/\" class=\"banner-button-inpost\"><span class=\"translation-block translation-block-banner-text\">Trimite mesaj<\/span><\/a>\r\n  <\/div>\r\n<\/div><\/div>\n\n<div class=\"translation-block translation-block-merged\"><p class=\"wp-block-paragraph\" id=\"p-rc_7cbb011fb761490c-156\">The process is generally split into two distinct but connected phases:<sup><\/sup><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">1. Continuous Integration (CI)<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"p-rc_7cbb011fb761490c-157\">CI focuses on the &#8220;code&#8221; phase.<sup><\/sup> Every time a developer pushes a change to a repository (like GitHub or GitLab), the CI system automatically:<sup><\/sup><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Builds<\/strong> the application to ensure it compiles correctly.<\/li>\n\n\n\n<li><strong>Tests<\/strong> the code using unit and integration tests to catch bugs immediately.<\/li>\n\n\n\n<li><strong>Scans<\/strong> for security vulnerabilities or formatting issues.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">2. Continuous Delivery vs. Deployment (CD)<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"p-rc_7cbb011fb761490c-161\">This phase focuses on the &#8220;release&#8221; phase.<sup><\/sup><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Continuous Delivery:<\/strong> The code is automatically tested and prepared for production, but a human must click a &#8220;Deploy&#8221; button to go live.<\/li>\n\n\n\n<li><strong>Continuous Deployment:<\/strong> Every change that passes the CI tests is <strong>automatically<\/strong> deployed to the live production server without manual intervention.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_implement_CICD_at_mybox\"><\/span>Why implement CI\/CD at mybox?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Speed to Market:<\/strong> You can deploy new features or critical security patches to your <strong>mybox<\/strong> server in minutes rather than hours.<\/li>\n\n\n\n<li><strong>Zero-Downtime Reliability:<\/strong> Automated testing prevents &#8220;broken&#8221; code from ever reaching your users. If a test fails, the pipeline stops, protecting your production environment.<\/li>\n\n\n\n<li><strong>Reduced Human Error:<\/strong> Manual FTP uploads are prone to mistakes (forgetting a file, overwriting a config). CI\/CD scripts are exact and repeatable every single time.<\/li>\n\n\n\n<li><strong>Cost Efficiency:<\/strong> By catching bugs during the CI phase (when they are easy to fix), you save on the expensive recovery time required if a bug reaches production.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"The_Modern_CICD_Pipeline_2026_Standards\"><\/span>The Modern CI\/CD Pipeline (2026 Standards)<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A professional pipeline follows a specific lifecycle:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li><strong>Commit:<\/strong> A developer pushes code to a branch.<\/li>\n\n\n\n<li><strong>Build:<\/strong> The server installs dependencies and compiles assets.<\/li>\n\n\n\n<li><strong>Test:<\/strong> Unit, Integration, and E2E (End-to-End) tests run.<\/li>\n\n\n\n<li><strong>Staging:<\/strong> The code is deployed to a &#8220;mirror&#8221; of your production site for final review.<\/li>\n\n\n\n<li><strong>Production:<\/strong> The final artifact is deployed to your live <strong>mybox<\/strong> server.<\/li>\n\n\n\n<li><strong>Monitor:<\/strong> Post-deployment tools check for errors or performance drops.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2026_Best_Practices_for_Infrastructure_Literacy\"><\/span>2026 Best Practices for Infrastructure Literacy<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">To build a world-class pipeline, follow these updated standards:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Shift-Left Security:<\/strong> Integrate security scanning (SAST\/DAST) at the very start of the pipeline rather than at the end.<\/li>\n\n\n\n<li><strong>Build Once, Deploy Many:<\/strong> Create a single build &#8220;artifact&#8221; (like a Docker image) and use that same file for staging and production. This eliminates &#8220;it works on my machine&#8221; issues.<\/li>\n\n\n\n<li><strong>Progressive Delivery:<\/strong> Use <strong>Canary Releases<\/strong> or <strong>Feature Flags<\/strong> to roll out new features to only 5% of your users first. If no errors are detected, the system automatically expands to 100%.<\/li>\n\n\n\n<li><strong>Immutable Infrastructure:<\/strong> Use scripts to provision your environment. If a deployment fails, you don&#8217;t &#8220;fix&#8221; the server; you simply tear it down and redeploy the last stable version.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Summary\"><\/span>Summary<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">CI\/CD is more than just a set of tools; it is a culture of automation and quality. By connecting your repository to your <strong>mybox<\/strong> infrastructure via a CI\/CD pipeline, you transform your development process into a fast, secure, and highly predictable delivery engine.<\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"template":"","format":"standard","manualknowledgebasecat":[28],"manual_kb_tag":[242,283,1380,3496,4347,4364,5293,5657,6751],"class_list":["post-7919","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-others","manual_kb_tag-mybox","manual_kb_tag-mybox-panel","manual_kb_tag-best-practices","manual_kb_tag-security-patches","manual_kb_tag-docker","manual_kb_tag-4364","manual_kb_tag-github","manual_kb_tag-automated-testing","manual_kb_tag-teams"],"_links":{"self":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/7919","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/7919\/revisions"}],"predecessor-version":[{"id":7920,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/7919\/revisions\/7920"}],"wp:attachment":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/media?parent=7919"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manualknowledgebasecat?post=7919"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb_tag?post=7919"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}