Task 2 @rioschala#

What’s a pipeline? CI/CD 🔄️#

In order to talk about pipelines, it’s important to understand elements related to CI/CD. First, in general terms CI/CD relates to a continuous process of collaboration towards the creation of software where many people need to participate in. In overall, we need to keep into account two elements.

  1. Small changes to main (using MR)

  2. Continuous and automatic deployment (Live site goes after every MR)

Infographic about CD/CI

Source#

Why is this important?#

When it comes to software development, I consider this methodology aims to focus all progress into one main lane where all can access the information, preview changes, and continue working on other features and issues.

What happened in my pipeline?🚩#

Pipeline rioschala

Source#

What do I see?

  • Actions to check the site structure

  • Create a VENV

  • Detect problems with elements such as fonts (Roboto is missing)

  • Read and write on some files

  • Finish the job

Pipeline stages

Source#

gitlab-ci.yml#

This document is the one in charge to set the policies that define the pipeline process. In this one, python version is defined PyPI - Python Version. Then, a VENV is created in order to build the site. Pipfile is read and all packages get updated.

Site is built and integrated after that into main.

MR Comments#

As an active member, it’s important to contribute to the active development of the project. That’s why, as developer, I get to comment on multiple MR from users to suggest, edit and improve changes from their branches.

Comments examples on MR from users

Source#