Build CI/CD pipeline on Symfony app using GitLab

Generally, we try to improve our way to work and realize our daily tasks, especially in software development. It is always important to improve not only the code quality (Click to read an article on how to analyze your Symfony code with sonarqube) but also the delivery process.

Why a CI/CD pipeline?

A CI/CD (Continuous Integration, Continuous Delivery) pipeline is a series of steps that must be performed in order to deliver a new version of software.

CI/CD pipeline

In general, a CI/CD pipeline has these stages:

  • build
  • Test
  • Release
  • Deploy
  • Validation and compliance

Here we’ll create a pipeline for a Symfony app so we don’t need to build our project.

#docker

Build CI/CD pipeline on Symfony app using GitLab