{"id":2292,"date":"2022-01-05T10:35:57","date_gmt":"2022-01-05T10:35:57","guid":{"rendered":"https:\/\/gitprotect.io\/blog\/?p=2292"},"modified":"2023-02-09T13:36:25","modified_gmt":"2023-02-09T13:36:25","slug":"gitlab-ci-cd-beginners-guide","status":"publish","type":"post","link":"https:\/\/gitprotect.io\/blog\/gitlab-ci-cd-beginners-guide\/","title":{"rendered":"GitLab CI\/CD &#8211; the Beginner&#8217;s Guide"},"content":{"rendered":"\n<p>We have distinguished several projects on the version control systems market for years. One of the main ones is undoubtedly GitLab, which has undergone such a significant metamorphosis that it is now presenting itself as a platform for DevOps. Is GitLab really such a platform? What is this whole GitLab CI\/CD, and why do you need it.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\" id=\"devops\">DevOps<\/h2>\n\n\n\n<p>Every day, in the IT world, we deal with more minor or more significant breakthroughs, discoveries, etc. There are several milestones in the history of IT development that know the so-called rules of the game. It is enough to mention the containers, whether Docker or Kubernetes or the currently loved cloud, to understand the author&#8217;s meaning here. Such a change was behind the rise of the DevOps movement, which was intended to connect the world of developers with the world of admins. It is worth knowing that a DevOps specialist is currently an IT handyman &#8211; he will write the code and will take care of the operation of the server itself. Of course, I allowed myself to make a joke here, but you have to admit that there is something to it.<\/p>\n\n\n\n<p>One of the main assumptions, as we have already established of the DevOps movement, was to connect the world of developers and administrators. In some ways, and on some levels, this has been achieved. A perfect example of this is GitLab, which has been developing its platform for production and project management for years. <strong>GitLab is currently not just a version control system but a complete software development product.<\/strong> This means that thanks to the provided tools, we will be able to plan, develop and analyze a given project.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/gitprotect.io\/git-backup-guide.html\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2021\/10\/gitbackup-guide.png\" alt=\"\" class=\"wp-image-2094\" width=\"435\" height=\"300\" srcset=\"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2021\/10\/gitbackup-guide.png 580w, https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2021\/10\/gitbackup-guide-300x207.png 300w, https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2021\/10\/gitbackup-guide-400x276.png 400w\" sizes=\"(max-width: 435px) 100vw, 435px\" \/><\/a><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"gitlab-ci-cd\">GitLab CI\/CD<\/h2>\n\n\n\n<p>GitLab&#8217;s approach to version control systems is quite different than, for example, GitHub. GitLab focuses on providing a comprehensive platform that is to help us in programming but also in planning and managing it. <strong>GitLab currently puts a lot of emphasis on the CI\/CD approach<\/strong>, but what does it really mean? In short, you could say that this is a continuous software development method, but it would not be entirely accurate. To completely understand this approach to creating projects, we need to dig into the CI\/CD acronym.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"continuous-integration\">Continuous Integration<\/h3>\n\n\n\n<p>GitLab perfectly understands that the code of a given product is often changed several dozen times a day. For this reason,<strong> GitLab provides us with tools that allow us to automate<\/strong>, and thus, for example, with each push to the repository, execute scripts that will build and test our application. It is a methodology known since the nineties that enables multiple changes in the code with the behavior of tests and compilations of the application. According to this approach, the project should be built and tested after each commit. This not only speeds up the work on a given project but also allows you to quickly diagnose problems such as the extended build or deployment time of the application itself or errors resulting from faulty code changes. The truth is that most programmers prefer to program rather than test code again and again, and the mere possibility of automating the tests for an application or a given module is a much-liked feature.<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p class=\"has-text-align-left\" style=\"font-size:22px\">Setting CI\/CD pipeline? Then don&#8217;t forget about backup. <strong>Secure your code with the first professional GitLab backup<\/strong>.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button align=&quot;center&quot;\"><a class=\"wp-block-button__link has-background wp-element-button\" href=\"https:\/\/gitprotect.io\/sign-up.html\" style=\"border-radius:50px;background-color:#ff0300\" target=\"_blank\" rel=\"noreferrer noopener\">Start 14 days free GitProtect trial<\/a><\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"continuous-delivery-and-continuous-deployment\">Continuous Delivery and Continuous Deployment<\/h3>\n\n\n\n<p>GitLab, along with the Continuous Integration methodology, implemented tools that allow us to carry out automatic deployment along with publication. However, not every team wants a given application to be automatically deployed and published, which is why GitLab allows you to choose the method of publication here:<br><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Continuous Delivery<\/strong>: every time the code is changed, our application is automatically deployed. After this action, the team gets the option of publishing, and this is an option that the user needs to perform manually. This means that it is the human who finally decides whether to publish a given deployment or not.<\/li>\n\n\n\n<li><strong>Continuous Deployment<\/strong>: this is precisely the same scenario as in the above approach, i.e., after each code commit, our project is automatically deployed. However, such deployment is also followed by an automatic publication that does not require any human response in this approach.<\/li>\n<\/ul>\n\n\n\n<p>Thanks to the use of CI\/CD, we can accelerate and fully control the project and its changes. Automatic tests and deployment are features that every team will appreciate. We all knew that deploying without tests means FIRE<strong>. <\/strong>Of course, we must not forget that we can always roll back, and using this approach does not force us to publish automatically. In short, we get a tool that will allow us to perform continuous integration.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/gitprotect.io\/sign-up.html\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2022\/03\/LinkedIn-ads-template-1024x536.png\" alt=\"Get free trial\" class=\"wp-image-2555\" width=\"512\" height=\"268\" srcset=\"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2022\/03\/LinkedIn-ads-template-1024x536.png 1024w, https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2022\/03\/LinkedIn-ads-template-300x157.png 300w, https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2022\/03\/LinkedIn-ads-template-768x402.png 768w, https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2022\/03\/LinkedIn-ads-template-400x209.png 400w, https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2022\/03\/LinkedIn-ads-template.png 1200w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/a><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"preparations\">Preparations<\/h2>\n\n\n\n<p><strong>GitLab enables CI\/CD functionality by default with each new project<\/strong>, but it should be mentioned here that we are not forced to use these features. I believe that the possibility of choice is very welcome nowadays and the possibility of turning off the CI \/ CD for a <a href=\"https:\/\/docs.gitlab.com\/ee\/ci\/enable_or_disable_ci.html#enable-cicd-in-a-project\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">given project<\/a>, or also for <a href=\"https:\/\/docs.gitlab.com\/ee\/administration\/cicd.html\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">all new ones<\/a>. However, once we decide that our project should be implemented in the continuous integration way, we only need to know if our project will be migrated from another CI\/CD tool (<a href=\"https:\/\/docs.gitlab.com\/ee\/ci\/migration\/circleci.html\" target=\"_blank\" rel=\"noreferrer noopener\">Migrating <\/a><a href=\"https:\/\/docs.gitlab.com\/ee\/ci\/migration\/circleci.html\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">f<\/a><a href=\"https:\/\/docs.gitlab.com\/ee\/ci\/migration\/circleci.html\" target=\"_blank\" rel=\"noreferrer noopener\">rom CircleCI <\/a>or <a href=\"https:\/\/docs.gitlab.com\/ee\/ci\/migration\/jenkins.html\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Migrating from Jenkins<\/a>), which is also an interesting issue, or maybe we are transforming our current project. There are a few prerequisites that we should meet before using GitLab CI\/CD:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Check if we have available runners. We can do it by going to Settings -&gt; CI\/CD and expanding Runners. We should find at least one runner with a green circle next to it &#8211; then we are ready to go. However, if, for some reason, we do not have active runners, we have to <a href=\"https:\/\/docs.gitlab.com\/runner\/install\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">download and install them<\/a>.<\/li>\n\n\n\n<li>Next, we need the CI\/CD configuration file. GitLab uses the well-known YAML language for this purpose. Here is a slight digression. YAML is a prevalent language for presenting data structured, but you have to be very careful when using it. The languages, as the name suggests, relies entirely on the structure. This means that one white space and the entire file are not validating. In the case of GitLab, in the .gitlab-ci.yml file, we will save all the instructions and automatic calls that we will use for a given project. An example of such a file:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>build-job:\n  stage: build\n  script:\necho \u201cHi, $GITLAB_USER_LOGIN\u201d\n\n  test-job:\n    stage: test\n    script:\necho \u201cXopero and even log4j isn\u2019t so scary!\u201d\n\n  deploy-prod:\n    stage: deploy\n    script:\necho \u201c$CI_COMMIT_BRANCH - deploy from branch\u201d\n<\/code><\/pre>\n\n\n\n<p>Of course, we can use variables and even entire scripts that run containers in the background. In the example above, we used $GITLAB_USER_LOGIN and $CI_COMMIT_BRANCH, which are so-called <a href=\"https:\/\/docs.gitlab.com\/ee\/ci\/variables\/index.html#predefined-cicd-variables\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">predefined variables<\/a>. We can also use ready-made templates <a href=\"https:\/\/docs.gitlab.com\/ee\/ci\/examples\/#cicd-templates\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">here<\/a>. More on variables, pipelines, and templates in the next post.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"summarizing\">Summarizing<\/h2>\n\n\n\n<p>GitLab CI\/CD is an excellent collection of tools for our projects&#8217; production, management, and continuous improvement. Automating tests and deployment of the project itself are the main advantages, but it should not be forgotten that there are other benefits associated with it. One of them is undoubtedly a large number of ready-made templates that we can use to accelerate the production of applications significantly. However, GitLab will not protect us from unforeseen events; this is what we can expect mainly from a good <a href=\"https:\/\/gitprotect.io\/gitlab.html\" target=\"_blank\" rel=\"noreferrer noopener\">GitLab backup<\/a>. We will be able to provide this crucial way to secure your data with GitProtect. Then, and only then you can truly focus on content management systems.<\/p>\n\n\n\n<p>What if your organization uses a different git platform provider? We are covering CI\/CD topics quite extensively, you can check our other article concerning <a href=\"https:\/\/gitprotect.io\/blog\/github-ci-cd-the-beginners-guide\/\" target=\"_blank\" rel=\"noreferrer noopener\">GitHub CI\/CD<\/a>. We are providing some vital suggestions and best practices.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have distinguished several projects on the version control systems market for years. One of the main ones is undoubtedly GitLab, which has undergone such a significant metamorphosis that it is now presenting itself as a platform for DevOps. Is GitLab really such a platform? What is this whole GitLab CI\/CD, and why do you need it.<\/p>\n","protected":false},"author":4,"featured_media":2294,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[70],"tags":[],"class_list":["post-2292","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gitlab","post--single"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>GitLab CI\/CD - the Beginner&#039;s Guide - Blog | GitProtect.io<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/gitprotect.io\/blog\/gitlab-ci-cd-beginners-guide\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"GitLab CI\/CD - the Beginner&#039;s Guide - Blog | GitProtect.io\" \/>\n<meta property=\"og:description\" content=\"We have distinguished several projects on the version control systems market for years. One of the main ones is undoubtedly GitLab, which has undergone such a significant metamorphosis that it is now presenting itself as a platform for DevOps. Is GitLab really such a platform? What is this whole GitLab CI\/CD, and why do you need it.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gitprotect.io\/blog\/gitlab-ci-cd-beginners-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog | GitProtect.io\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/XoperoSoftware\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-05T10:35:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-09T13:36:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2022\/01\/GitLab-ci-cd.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Michal Zbyl\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@GitProtectio\" \/>\n<meta name=\"twitter:site\" content=\"@GitProtectio\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michal Zbyl\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/gitprotect.io\/blog\/gitlab-ci-cd-beginners-guide\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/gitprotect.io\/blog\/gitlab-ci-cd-beginners-guide\/\"},\"author\":{\"name\":\"Michal Zbyl\",\"@id\":\"https:\/\/gitprotect.io\/blog\/#\/schema\/person\/52a5c06583d6cc6e418c1afb37653017\"},\"headline\":\"GitLab CI\/CD &#8211; the Beginner&#8217;s Guide\",\"datePublished\":\"2022-01-05T10:35:57+00:00\",\"dateModified\":\"2023-02-09T13:36:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/gitprotect.io\/blog\/gitlab-ci-cd-beginners-guide\/\"},\"wordCount\":1276,\"publisher\":{\"@id\":\"https:\/\/gitprotect.io\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/gitprotect.io\/blog\/gitlab-ci-cd-beginners-guide\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2022\/01\/GitLab-ci-cd.png\",\"articleSection\":[\"GitLab\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/gitprotect.io\/blog\/gitlab-ci-cd-beginners-guide\/\",\"url\":\"https:\/\/gitprotect.io\/blog\/gitlab-ci-cd-beginners-guide\/\",\"name\":\"GitLab CI\/CD - the Beginner's Guide - Blog | GitProtect.io\",\"isPartOf\":{\"@id\":\"https:\/\/gitprotect.io\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/gitprotect.io\/blog\/gitlab-ci-cd-beginners-guide\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/gitprotect.io\/blog\/gitlab-ci-cd-beginners-guide\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2022\/01\/GitLab-ci-cd.png\",\"datePublished\":\"2022-01-05T10:35:57+00:00\",\"dateModified\":\"2023-02-09T13:36:25+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/gitprotect.io\/blog\/gitlab-ci-cd-beginners-guide\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/gitprotect.io\/blog\/gitlab-ci-cd-beginners-guide\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/gitprotect.io\/blog\/gitlab-ci-cd-beginners-guide\/#primaryimage\",\"url\":\"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2022\/01\/GitLab-ci-cd.png\",\"contentUrl\":\"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2022\/01\/GitLab-ci-cd.png\",\"width\":1200,\"height\":600,\"caption\":\"GitLab CI\/CD\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/gitprotect.io\/blog\/gitlab-ci-cd-beginners-guide\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Strona g\u0142\u00f3wna\",\"item\":\"https:\/\/gitprotect.io\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"GitLab CI\/CD &#8211; the Beginner&#8217;s Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/gitprotect.io\/blog\/#website\",\"url\":\"https:\/\/gitprotect.io\/blog\/\",\"name\":\"GitProtect.io Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/gitprotect.io\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/gitprotect.io\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/gitprotect.io\/blog\/#organization\",\"name\":\"GitProtect.io\",\"url\":\"https:\/\/gitprotect.io\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/gitprotect.io\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2023\/05\/favicon-528x528-1.png\",\"contentUrl\":\"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2023\/05\/favicon-528x528-1.png\",\"width\":528,\"height\":528,\"caption\":\"GitProtect.io\"},\"image\":{\"@id\":\"https:\/\/gitprotect.io\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/XoperoSoftware\/\",\"https:\/\/x.com\/GitProtectio\",\"https:\/\/www.linkedin.com\/company\/xopero-software\/\",\"https:\/\/www.youtube.com\/channel\/UCiEnl6n0mIO6w7twccz-l2w\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/gitprotect.io\/blog\/#\/schema\/person\/52a5c06583d6cc6e418c1afb37653017\",\"name\":\"Michal Zbyl\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/gitprotect.io\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2023\/05\/michal-zbyl_avatar-96x96.jpg\",\"contentUrl\":\"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2023\/05\/michal-zbyl_avatar-96x96.jpg\",\"caption\":\"Michal Zbyl\"},\"url\":\"https:\/\/gitprotect.io\/blog\/author\/michal-zbyl\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"GitLab CI\/CD - the Beginner's Guide - Blog | GitProtect.io","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/gitprotect.io\/blog\/gitlab-ci-cd-beginners-guide\/","og_locale":"en_US","og_type":"article","og_title":"GitLab CI\/CD - the Beginner's Guide - Blog | GitProtect.io","og_description":"We have distinguished several projects on the version control systems market for years. One of the main ones is undoubtedly GitLab, which has undergone such a significant metamorphosis that it is now presenting itself as a platform for DevOps. Is GitLab really such a platform? What is this whole GitLab CI\/CD, and why do you need it.","og_url":"https:\/\/gitprotect.io\/blog\/gitlab-ci-cd-beginners-guide\/","og_site_name":"Blog | GitProtect.io","article_publisher":"https:\/\/www.facebook.com\/XoperoSoftware\/","article_published_time":"2022-01-05T10:35:57+00:00","article_modified_time":"2023-02-09T13:36:25+00:00","og_image":[{"width":1200,"height":600,"url":"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2022\/01\/GitLab-ci-cd.png","type":"image\/png"}],"author":"Michal Zbyl","twitter_card":"summary_large_image","twitter_creator":"@GitProtectio","twitter_site":"@GitProtectio","twitter_misc":{"Written by":"Michal Zbyl","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/gitprotect.io\/blog\/gitlab-ci-cd-beginners-guide\/#article","isPartOf":{"@id":"https:\/\/gitprotect.io\/blog\/gitlab-ci-cd-beginners-guide\/"},"author":{"name":"Michal Zbyl","@id":"https:\/\/gitprotect.io\/blog\/#\/schema\/person\/52a5c06583d6cc6e418c1afb37653017"},"headline":"GitLab CI\/CD &#8211; the Beginner&#8217;s Guide","datePublished":"2022-01-05T10:35:57+00:00","dateModified":"2023-02-09T13:36:25+00:00","mainEntityOfPage":{"@id":"https:\/\/gitprotect.io\/blog\/gitlab-ci-cd-beginners-guide\/"},"wordCount":1276,"publisher":{"@id":"https:\/\/gitprotect.io\/blog\/#organization"},"image":{"@id":"https:\/\/gitprotect.io\/blog\/gitlab-ci-cd-beginners-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2022\/01\/GitLab-ci-cd.png","articleSection":["GitLab"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/gitprotect.io\/blog\/gitlab-ci-cd-beginners-guide\/","url":"https:\/\/gitprotect.io\/blog\/gitlab-ci-cd-beginners-guide\/","name":"GitLab CI\/CD - the Beginner's Guide - Blog | GitProtect.io","isPartOf":{"@id":"https:\/\/gitprotect.io\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/gitprotect.io\/blog\/gitlab-ci-cd-beginners-guide\/#primaryimage"},"image":{"@id":"https:\/\/gitprotect.io\/blog\/gitlab-ci-cd-beginners-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2022\/01\/GitLab-ci-cd.png","datePublished":"2022-01-05T10:35:57+00:00","dateModified":"2023-02-09T13:36:25+00:00","breadcrumb":{"@id":"https:\/\/gitprotect.io\/blog\/gitlab-ci-cd-beginners-guide\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/gitprotect.io\/blog\/gitlab-ci-cd-beginners-guide\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/gitprotect.io\/blog\/gitlab-ci-cd-beginners-guide\/#primaryimage","url":"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2022\/01\/GitLab-ci-cd.png","contentUrl":"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2022\/01\/GitLab-ci-cd.png","width":1200,"height":600,"caption":"GitLab CI\/CD"},{"@type":"BreadcrumbList","@id":"https:\/\/gitprotect.io\/blog\/gitlab-ci-cd-beginners-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Strona g\u0142\u00f3wna","item":"https:\/\/gitprotect.io\/blog\/"},{"@type":"ListItem","position":2,"name":"GitLab CI\/CD &#8211; the Beginner&#8217;s Guide"}]},{"@type":"WebSite","@id":"https:\/\/gitprotect.io\/blog\/#website","url":"https:\/\/gitprotect.io\/blog\/","name":"GitProtect.io Blog","description":"","publisher":{"@id":"https:\/\/gitprotect.io\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/gitprotect.io\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/gitprotect.io\/blog\/#organization","name":"GitProtect.io","url":"https:\/\/gitprotect.io\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/gitprotect.io\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2023\/05\/favicon-528x528-1.png","contentUrl":"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2023\/05\/favicon-528x528-1.png","width":528,"height":528,"caption":"GitProtect.io"},"image":{"@id":"https:\/\/gitprotect.io\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/XoperoSoftware\/","https:\/\/x.com\/GitProtectio","https:\/\/www.linkedin.com\/company\/xopero-software\/","https:\/\/www.youtube.com\/channel\/UCiEnl6n0mIO6w7twccz-l2w"]},{"@type":"Person","@id":"https:\/\/gitprotect.io\/blog\/#\/schema\/person\/52a5c06583d6cc6e418c1afb37653017","name":"Michal Zbyl","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/gitprotect.io\/blog\/#\/schema\/person\/image\/","url":"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2023\/05\/michal-zbyl_avatar-96x96.jpg","contentUrl":"https:\/\/gitprotect.io\/blog\/wp-content\/uploads\/2023\/05\/michal-zbyl_avatar-96x96.jpg","caption":"Michal Zbyl"},"url":"https:\/\/gitprotect.io\/blog\/author\/michal-zbyl\/"}]}},"_links":{"self":[{"href":"https:\/\/gitprotect.io\/blog\/wp-json\/wp\/v2\/posts\/2292","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gitprotect.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gitprotect.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gitprotect.io\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/gitprotect.io\/blog\/wp-json\/wp\/v2\/comments?post=2292"}],"version-history":[{"count":8,"href":"https:\/\/gitprotect.io\/blog\/wp-json\/wp\/v2\/posts\/2292\/revisions"}],"predecessor-version":[{"id":3877,"href":"https:\/\/gitprotect.io\/blog\/wp-json\/wp\/v2\/posts\/2292\/revisions\/3877"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gitprotect.io\/blog\/wp-json\/wp\/v2\/media\/2294"}],"wp:attachment":[{"href":"https:\/\/gitprotect.io\/blog\/wp-json\/wp\/v2\/media?parent=2292"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gitprotect.io\/blog\/wp-json\/wp\/v2\/categories?post=2292"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gitprotect.io\/blog\/wp-json\/wp\/v2\/tags?post=2292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}