Skip to content

GitLab

Containerize Vue 3 application with GitLab CI/CD

Introduction In this article, I will explain how I containerized my Vuetify + Vue 3 application with GitLab CI/CD. My goal was to deploy my application on Kubernetes. To achieve this, I need to: Quick overview: overall, the full project uses a micro-service architecture and runs on Kubernetes. The Vue 3 project only contains the UI, and we containerize it… 

How to delete a resource with the error: failed calling webhook

The original mistake In preparation of the GitLab essentials workshop, I’m using helm to deploy it. After a few tests, I wanted to clean up my cluster, and accidentally deleted the namespace before doing helm uninstall. As a result, the namespace got stuck in the “terminating” state… Troubleshooting Now the namespace is stuck, but why ? However, no resources seem… 

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… 

Connect a Kubernetes cluster to GitLab

To interact with a Kubernetes cluster during builds, deployments or other tasks in GitLab CI/CD, you need to install the GitLab agent on the cluster. This operation is very easy with GitLab ! The official documentation is available here Create a new cluster into GitLab 1 – In your project go to : Operate > Kubernetes Cluster and click on… 

Build and containerize an Angular application with GitLab CI/CD

To deploy an Angular application into Kubernetes, the application needs to be build, containerized and pushed into a container registry before the deployment. In this project, I want to: The project For this example, I have created an new GitLab project named “ci-project” and initialised an Angular application using angular-cli into the new repository. My Angular application has the same… 

Using WebHook’s from GitLab to execute external code and tools

by Alexandre Nestor Introduction WebHooks are HTTP callbacks that are triggered by events. In case of GitLab these can be events like pushing some code, or creating an issue, or pushing some comments. In this quick post I will explain how to add a WebHook to a project and how to execute some external code when a Gitlab event is… 

The 1st Day at KubeCon & CloudNativeCon 2023 in Amsterdam

The KubeCon around the Kubernetes technology was one of the events I dreamed to attend since I’m focusing on the CloudNative solutions. I had the great opportunity to attend the KubeCon & CloundNativeCon in Amsterdam with my colleague Benoît Entzmann. There is now CNCF-hosted Co-located events adding more topics and interesting sessions. This is community-driven, vendor-neutral events hosted and managed… 

GitLab Migration and Upgrade

I’ve worked with my mate Donovan Winter (we are called Thomson and Thompson!) on a very interesting project for one of our customer that’s worth sharing. They had an old version of GitLab (release 13.3.4) running in a pod in OpenShift and wanted to migrate it into a Virtual Machine under Rocky Linux 8. They then wanted to upgrade it… 

Run 2 specific GitLab Runners in local containers for CI/CD Pipeline

By testing GitLab CI/CD pipeline on my free SaaS GitLab account, I’ve explored the setup of specific GitLab Runner in containers on my local machine. For those who don’t want to use the shared runners of GitLab (it’s free but you still have to share your credit card details with GitLab!) or just want to do some tests and keep…