Skip to content

GitlabCI/CD

Building multi-architecture images with GitLab CI/CD

Building multi-architecture images become more and more useful. Indeed, many recent computers use ARM processors architecture. Examples include MacBooks using M(x) processors, and Amazon EC2 instances using AWS Graviton processors. However, the diversification of processor architectures adds a new level of complexity to the creation of container images. Indeed, the construction has to cope with different instruction sets. Docker buildx,… 

Share Gitlab agent to deploy microservices projects

In a microservice application, the code for each service has its own git repository. However, how do deploy without duplicating the Gitlab agents ? In Gitlab, you can share an agent between several projects to deploy the application on a Kubernetes cluster ! Define and configure the main project The main project contains the agent for deploying the application. It… 

Deploy an application with GitLab CI/CD

Following on from my previous article “Build and containerize an Angular application with GitLab CI/CD“, it’s now time to deploy this application. In this article, I will deploy the application on a Kubernetes cluster using Helm. Prerequisites Before starting, you need to: Preparing the project To prepare the project for deployment, I added a very basic Helm chart with only… 

Declaring environments in GitLab

Why do I need to declare environments in GitLab ? An environment can be linked to a pipeline step. For example, to define the target of a deployment. Create an environment 1. In the side menu, go to : Operate > Environments 2. Click on “New environment”, set the parameters 3. Environment List You can define several environments for a…