{"id":7549,"date":"2021-03-23T08:21:29","date_gmt":"2021-03-23T08:21:29","guid":{"rendered":"https:\/\/prwatech.in\/blog\/?p=7549"},"modified":"2024-04-03T07:51:47","modified_gmt":"2024-04-03T07:51:47","slug":"introduction-beginner-friendly-introduction-to-gitlab-ci-cd","status":"publish","type":"post","link":"https:\/\/prwatech.in\/blog\/gitlab\/introduction-beginner-friendly-introduction-to-gitlab-ci-cd\/","title":{"rendered":"GitLab &#8211; CI-CD Introduction"},"content":{"rendered":"\r\n<h2><span data-sheets-root=\"1\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Beginner-Friendly Introduction to GitLab CI\/CD&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:513,&quot;3&quot;:{&quot;1&quot;:0},&quot;12&quot;:0}\">Beginner-Friendly Introduction to GitLab CI\/CD<\/span><\/h2>\r\n<p>&nbsp;<\/p>\r\n<p>Continuous Integration and Continuous development\/deployment is understood together as CI-CD<\/p>\r\n\r\n\r\n\r\n<p>GitLab CI (Continuous Integration) provider is an element of GitLab that builds and checks the software program on every occasion the developer pushes code to the application. GitLab CD (Continuous Deployment) is a software program provider that locations the changes of each code inside the production which results up in a day deployment of production.<\/p>\r\n\r\n\r\n\r\n<p><strong>What is a <a href=\"https:\/\/prwatech.in\/blog\/gitlab\/gitlab\/\">GitLab <\/a>CI-CD?<\/strong><\/p>\r\n\r\n\r\n\r\n<p>GitLab CI-CD is an effective device constructed into GitLab that lets in making use of Continuous Integration, Continuous Delivery, and Continuous Deployment to the software program without a third-party application or integration needed.<\/p>\r\n\r\n\r\n\r\n<p><strong>Why CI-CD is important?<\/strong><\/p>\r\n\r\n\r\n\r\n<p><strong>1<\/strong>.It\u2019s smooth to learn, use, and scalable.<\/p>\r\n\r\n\r\n\r\n<p><strong>2<\/strong>.It is a quicker gadget that may be for code deployment and development.<\/p>\r\n\r\n\r\n\r\n<p><strong>3.<\/strong>You can execute the roles quicker via way of means of putting in place your personal runner (it&#8217;s far a utility that methods the builds) with all dependencies that are pre-install.<\/p>\r\n\r\n\r\n\r\n<p><strong>4.<\/strong>GitLab CI answers are good value and stable that are very bendy in charges as most quantity because the system desires to run it.<\/p>\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n\r\n\r\n<h4><strong>What is CI-CD Pipeline?<\/strong><\/h4>\r\n\r\n\r\n\r\n<p>A CI\/CD pipeline automates software program shipping manner. The pipeline builds code, runs tests (CI), and it accurately deploys a new edition of the (CD) application. Automated pipelines eliminate manual errors, offer standardized comments loops to developers, and allow speedy product iterations.<\/p>\r\n\r\n\r\n\r\n<p><strong>CI\/CD pipeline elements<\/strong><\/p>\r\n\r\n\r\n\r\n<p>CI\/CD pipeline ought to sound like overhead, however, it isn\u2019t. Most \u00a0software application releases go through few following stages:<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"606\" height=\"287\" class=\"wp-image-7552\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/image-205.png\" alt=\"\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/image-205.png 606w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/image-205-300x142.png 300w\" sizes=\"auto, (max-width: 606px) 100vw, 606px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>Disappointment in each stage for the most part triggers a notice\u2014through email, slack, and so on\u2014to allow the responsible designers to quantify the reason. Something else, the complete group gets a warning when each independent arrangement to create.<\/p>\r\n\r\n\r\n\r\n<p><strong>Source stage<\/strong><\/p>\r\n\r\n\r\n\r\n<p>In most of the cases, a pipeline run is triggered by a\u00a0source code file\u00a0repository. A\u00a0modification\u00a0in code triggers a notification to the CI\/CD tool that\u00a0runs the corresponding pipeline.\u00a0Alternative\u00a0common triggers\u00a0embody\u00a0mechanically\u00a0scheduled\u00a0or user-initiated workflows,\u00a0additionally\u00a0as results of\u00a0alternative\u00a0pipelines.<\/p>\r\n\r\n\r\n\r\n<p><strong>Build stage<\/strong><\/p>\r\n\r\n\r\n\r\n<p>We integrate the supply code and its dependencies to construct a run-able instance of our product that we are able to probably deliver to our end users.\u00a0<\/p>\r\n\r\n\r\n\r\n<p>Failure to pass the construct level is a hallmark of essential trouble in a project\u2019s configuration, and it&#8217;s far great to deal with it immediately.<\/p>\r\n\r\n\r\n\r\n<h4><strong>Test stage<\/strong><\/h4>\r\n\r\n\r\n\r\n<p>In this part, we tend to run machine-driven tests to approve our code&#8217;s rightness and furthermore the conduct of our item. The\u00a0check\u00a0stage acts as\u00a0a security\u00a0internet\u00a0that stops\u00a0simply\u00a0reproducible\u00a0bugs from reaching the end-users<\/p>\r\n\r\n\r\n\r\n<p>The commitment of making tests falls on the architects. The best method to compose programmed tests is to attempt to do hence as we will in general compose new code in test-or conduct driven turn of events.<\/p>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<p><strong>What is need to use GitLab CI-CD?<\/strong><\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"606\" height=\"580\" class=\"wp-image-7553\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/image-206.png\" alt=\"\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/image-206.png 606w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/image-206-300x287.png 300w\" sizes=\"auto, (max-width: 606px) 100vw, 606px\" \/><\/figure>\r\n\r\n\r\n\r\n<p><strong>How to write a yaml file?<\/strong><\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"606\" height=\"606\" class=\"wp-image-7554\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/image-207.png\" alt=\"\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/image-207.png 606w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/image-207-300x300.png 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/image-207-150x150.png 150w\" sizes=\"auto, (max-width: 606px) 100vw, 606px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>Beginner-Friendly Introduction to GitLab CI\/CD &nbsp; Continuous Integration and Continuous development\/deployment is understood together as CI-CD GitLab CI (Continuous Integration) provider is an element of GitLab that builds and checks the software program on every occasion the developer pushes code to the application. GitLab CD (Continuous Deployment) is a software program provider that locations the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[654,1706],"tags":[834,838,708,760,759,758,836,757,837],"class_list":["post-7549","post","type-post","status-publish","format-standard","hentry","category-gitlab","category-gitlab-modules","tag-ci-cd-gitlab","tag-ci-cd-pipeline","tag-gitlab-ci-cd","tag-gitlab-continuous-delivery","tag-gitlab-continuous-integration","tag-gitlab-new-account","tag-gitlab-pipeline","tag-gitlab-repository","tag-pipelines-in-ci-cd"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Beginner-Friendly Introduction to GitLab CI\/CD - Prwatech<\/title>\n<meta name=\"description\" content=\"Master Beginner-Friendly Introduction to GitLab CI\/CD - Dive deep with our expert instructors and comprehensive curriculum.\" \/>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Beginner-Friendly Introduction to GitLab CI\/CD - Prwatech\" \/>\n<meta property=\"og:description\" content=\"Master Beginner-Friendly Introduction to GitLab CI\/CD - Dive deep with our expert instructors and comprehensive curriculum.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prwatech.in\/blog\/gitlab\/introduction-beginner-friendly-introduction-to-gitlab-ci-cd\/\" \/>\n<meta property=\"og:site_name\" content=\"Prwatech\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prwatech.in\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-03-23T08:21:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-03T07:51:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/image-205.png\" \/>\n<meta name=\"author\" content=\"Prwatech\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:site\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prwatech\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prwatech.in\/blog\/gitlab\/introduction-beginner-friendly-introduction-to-gitlab-ci-cd\/\",\"url\":\"https:\/\/prwatech.in\/blog\/gitlab\/introduction-beginner-friendly-introduction-to-gitlab-ci-cd\/\",\"name\":\"Beginner-Friendly Introduction to GitLab CI\/CD - Prwatech\",\"isPartOf\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prwatech.in\/blog\/gitlab\/introduction-beginner-friendly-introduction-to-gitlab-ci-cd\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prwatech.in\/blog\/gitlab\/introduction-beginner-friendly-introduction-to-gitlab-ci-cd\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/image-205.png\",\"datePublished\":\"2021-03-23T08:21:29+00:00\",\"dateModified\":\"2024-04-03T07:51:47+00:00\",\"author\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\"},\"description\":\"Master Beginner-Friendly Introduction to GitLab CI\/CD - Dive deep with our expert instructors and comprehensive curriculum.\",\"breadcrumb\":{\"@id\":\"https:\/\/prwatech.in\/blog\/gitlab\/introduction-beginner-friendly-introduction-to-gitlab-ci-cd\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prwatech.in\/blog\/gitlab\/introduction-beginner-friendly-introduction-to-gitlab-ci-cd\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/gitlab\/introduction-beginner-friendly-introduction-to-gitlab-ci-cd\/#primaryimage\",\"url\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/image-205.png\",\"contentUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/image-205.png\",\"width\":606,\"height\":287},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prwatech.in\/blog\/gitlab\/introduction-beginner-friendly-introduction-to-gitlab-ci-cd\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/prwatech.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"GitLab &#8211; CI-CD Introduction\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/prwatech.in\/blog\/#website\",\"url\":\"https:\/\/prwatech.in\/blog\/\",\"name\":\"Prwatech\",\"description\":\"Share Ideas, Start Something Good.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/prwatech.in\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\",\"name\":\"Prwatech\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"caption\":\"Prwatech\"},\"url\":\"https:\/\/prwatech.in\/blog\/author\/prwatech123\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Beginner-Friendly Introduction to GitLab CI\/CD - Prwatech","description":"Master Beginner-Friendly Introduction to GitLab CI\/CD - Dive deep with our expert instructors and comprehensive curriculum.","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Beginner-Friendly Introduction to GitLab CI\/CD - Prwatech","og_description":"Master Beginner-Friendly Introduction to GitLab CI\/CD - Dive deep with our expert instructors and comprehensive curriculum.","og_url":"https:\/\/prwatech.in\/blog\/gitlab\/introduction-beginner-friendly-introduction-to-gitlab-ci-cd\/","og_site_name":"Prwatech","article_publisher":"https:\/\/www.facebook.com\/prwatech.in\/","article_published_time":"2021-03-23T08:21:29+00:00","article_modified_time":"2024-04-03T07:51:47+00:00","og_image":[{"url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/image-205.png","type":"","width":"","height":""}],"author":"Prwatech","twitter_card":"summary_large_image","twitter_creator":"@Eduprwatech","twitter_site":"@Eduprwatech","twitter_misc":{"Written by":"Prwatech","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/prwatech.in\/blog\/gitlab\/introduction-beginner-friendly-introduction-to-gitlab-ci-cd\/","url":"https:\/\/prwatech.in\/blog\/gitlab\/introduction-beginner-friendly-introduction-to-gitlab-ci-cd\/","name":"Beginner-Friendly Introduction to GitLab CI\/CD - Prwatech","isPartOf":{"@id":"https:\/\/prwatech.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prwatech.in\/blog\/gitlab\/introduction-beginner-friendly-introduction-to-gitlab-ci-cd\/#primaryimage"},"image":{"@id":"https:\/\/prwatech.in\/blog\/gitlab\/introduction-beginner-friendly-introduction-to-gitlab-ci-cd\/#primaryimage"},"thumbnailUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/image-205.png","datePublished":"2021-03-23T08:21:29+00:00","dateModified":"2024-04-03T07:51:47+00:00","author":{"@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3"},"description":"Master Beginner-Friendly Introduction to GitLab CI\/CD - Dive deep with our expert instructors and comprehensive curriculum.","breadcrumb":{"@id":"https:\/\/prwatech.in\/blog\/gitlab\/introduction-beginner-friendly-introduction-to-gitlab-ci-cd\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prwatech.in\/blog\/gitlab\/introduction-beginner-friendly-introduction-to-gitlab-ci-cd\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/gitlab\/introduction-beginner-friendly-introduction-to-gitlab-ci-cd\/#primaryimage","url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/image-205.png","contentUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/image-205.png","width":606,"height":287},{"@type":"BreadcrumbList","@id":"https:\/\/prwatech.in\/blog\/gitlab\/introduction-beginner-friendly-introduction-to-gitlab-ci-cd\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/prwatech.in\/blog\/"},{"@type":"ListItem","position":2,"name":"GitLab &#8211; CI-CD Introduction"}]},{"@type":"WebSite","@id":"https:\/\/prwatech.in\/blog\/#website","url":"https:\/\/prwatech.in\/blog\/","name":"Prwatech","description":"Share Ideas, Start Something Good.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/prwatech.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3","name":"Prwatech","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","caption":"Prwatech"},"url":"https:\/\/prwatech.in\/blog\/author\/prwatech123\/"}]}},"_links":{"self":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/7549","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/comments?post=7549"}],"version-history":[{"count":11,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/7549\/revisions"}],"predecessor-version":[{"id":11243,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/7549\/revisions\/11243"}],"wp:attachment":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/media?parent=7549"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/categories?post=7549"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/tags?post=7549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}