In GitLab you can create a new project/repository not only through a user interface, but also from the command line. When you create a new local Git repository and then push it to GitLab, if this repository doesn’t exit there, the corresponding project for it will be created automatically. This short note shows how to […]
gitlab
GitLab CI/CD: Trigger Pipeline Manually & API
By default, GitLab CI/CD pipelines are executed automatically on pushing new commits to a repository and don’t require any intervention once created. However, there are also times when you need to trigger pipelines manually, without updating the project. In this note i will show how to trigger the GitLab CI/CD pipelines manually through the GitLab’s […]
GitLab CI/CD: Build Docker Image & Push to Registry
GitLab CI/CD can be used with Docker to build Docker images. For example, you can create a Docker image of your application and push it to a GitLab’s Container Registry. In this note i am showing an example of how to create a new repository in GitLab with a CI/CD pipeline that will be used […]
GitLab CI/CD: “Hello World” – Example
GitLab CI/CD is a part of GitLab that is used for continuous integration (CI), delivery (CD) and deployment (CD). With GitLab CI/CD, you can automatically build, test and publish your software with no third-party application or integration needed. In this note i am showing an example of how to create a new repository in GitLab […]
GitLab CI/CD: Print All Environment Variables
Environment variables are extremely useful as they bring a lot of flexibility to CI/CD jobs and pipelines in GitLab. There are some predefined variables that are available in every GitLab CI/CD pipeline and custom variables that can be defined in different ways. In this short note i will show how to list all the environment […]