GitLab CI/CD – Artifacts

GitLab CI CD - Artifacts

This article explores GitLab CI/CD artifacts, detailing their definition, purpose in passing data between jobs and stages, common use cases like build outputs and test reports, and important considerations such as expiration policies and best practices for efficient pipeline management. Learn how to use artifacts to in your GitLab CI/CD pipeline. Understanding GitLab CI/CD Artifacts … Read more

GitLab CI/CD – Rules

GitLab CI/CD - Rules

In today’s blog post, we will discuss rules in .gitlab-ci.yml. GitLab CI/CD pipeline rules offer a highly flexible and intuitive way to manage conditional job execution, allowing your pipelines to adapt dynamically based on various factors like branch names, commit messages, file changes, and even the source of the pipeline trigger. Why rules? The Evolution … Read more

GitLab CI/CD – Variables

GitLab CI CD - Variables

In today’s blog post, we will learn variables in GitLab CI/CD pipeline. Specifically, what are variables? How to define variables in .gitlab-ci.yml, different types of variables in GitLab with examples. So without ant further delay, let us get started. What are Variables in GitLab CI/CD? Variables allow you to store and manage dynamic values that … Read more

GitLab CI/CD – Image

GitLab CI CD - Image

In today’s blog post, we will discuss image keyword in .gitlab-ci.yml file. Specifically, what is image keyword in .gitlab-ci.yml?, how to define image with example?, tips and best practices of using image in GitLab CI/CD pipeline. So without any further delay, let us get started. What is the image Keyword? The image keyword in your … Read more

GitLab CI/CD – Stages

GitLab CI CD - Stages

In today’s blog post, we will discuss stages keyword in .gitlab-ci.yml used to group multiple GitLab Ci/CD jobs. Specifically, we will learn what are stages?, How to define a stage in .gitlab-ci.yml with example, How jobs behave inside a stage, Tips and best practices while using stages, and will also cover most frequently asked questions … Read more

GitLab CI/CD – Script

GitLab CI CD - before_script, script, after_script

In today’s blog post, we will learn .gitlab-ci.yml file script keyword. In particular, what is before_script, script, and after_script keywords in .gitlab-ci.yml, how to define before_script, script, and after_script with example, comparison between before_script, script, and after_script blocks. The script block is used to define what action you want to perform in your GitLab CI/CD … Read more

GitLab CI/CD – .gitlab-ci.yml

GitLab CI CD - .gitlab-ci.yml

In today’s blog post, we will discuss .gitlab-ci.yml file used to define GitLab CI/CD pipeline. In particular, .gitlab-ci.yml syntax and structure, core components (keywords) of a .gitlab-ci.yml file, an example .gitlab-ci.yml file with most of the core components, and some best practices while using .gitlab-ci.yml. So without any further delay, let us get started. What … Read more