<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/sources/gitlab/best-of/2024" -->

---
title: Best GitLab posts of 2024 | daily.dev
description: The most upvoted GitLab posts of 2024, curated by the daily.dev community.
canonical: https://daily.dev/sources/gitlab/best-of/2024
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/gitlab/best-of/2024
og:type: website
og:site_name: daily.dev
og:title: Best GitLab posts of 2024 | daily.dev
og:description: The most upvoted GitLab posts of 2024, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of GitLab — 2024

1. 1  
[](/posts/guide-to-rest-api-ovzaep6ud "Guide to REST API")  
[![gitlab's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/3720ce340ca4435daef529abbf361b69)](/sources/[source]/best-of/[year])  
7m read time • Oct 18, 2024  
### Guide to REST API  
REST API, a framework based on REST architecture, allows applications to communicate with each other. Key principles include client-server decoupling, uniform interface, statelessness, and cacheable data, leading to versatile and lightweight solutions. Benefits include flexibility, portability, and scalability. Security challenges can be addressed with TLS encryption, robust authentication, and request management. GitLab offers extensive REST API support for efficient integration and automation.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/ce6bd94888ab0aef2374ad3a98b7f149?_a=AQAEuiZ)  
41
2. 2  
[](/posts/how-to-deploy-a-php-app-using-gitlab-s-cloud-run-integration-nkmytmpo2 "How to deploy a PHP app using GitLab's Cloud Run integration")  
[![gitlab's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/3720ce340ca4435daef529abbf361b69)](/sources/[source]/best-of/[year])  
3m read time • Dec 10, 2024  
### How to deploy a PHP app using GitLab's Cloud Run integration  
GitLab simplifies the process of deploying PHP applications to Google Cloud Platform using Google Cloud Run. This guide covers setting up a new project in GitLab, creating a service account via Google Cloud integration, configuring Cloud Run, adding new endpoints, and cleaning up resources to avoid charges. The method leverages GitLab CI for seamless integration and deployment.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/8c862e28cd531744a309df61a738ec7b?_a=AQAEuj9)  
23
3. 3  
[](/posts/tutorial-how-to-set-up-your-first-gitlab-ci-cd-component-flaipuvr1 "Tutorial: How to set up your first GitLab CI/CD component")  
[![gitlab's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/3720ce340ca4435daef529abbf361b69)](/sources/[source]/best-of/[year])  
5m read time • Nov 13, 2024  
### Tutorial: How to set up your first GitLab CI/CD component  
This post provides a tutorial on setting up a GitLab CI/CD component to deploy Python scripts. It covers the prerequisites, including basic knowledge of Python and GitLab CI, and guides you through the creation of a Python script using the ArgParse library. The tutorial includes details on creating a template YAML file for the CI/CD component, configuring inputs, and utilizing them in the component. Furthermore, it explains how to include and use the component in the \`.gitlab-ci.yml\` file of your project. Additionally, the post touches on interacting with the GitLab API by using the GitLab Python library.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/6bf22e1e870d9c21767a616d588e15da?_a=AQAEuj9)  
21
4. 4  
[](/posts/build-an-ml-app-pipeline-with-gitlab-model-registry-using-mlflow-ytiuszofd "Build an ML app pipeline with GitLab Model Registry using MLflow")  
[![gitlab's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/3720ce340ca4435daef529abbf361b69)](/sources/[source]/best-of/[year])  
6m read time • Sep 17, 2024  
### Build an ML app pipeline with GitLab Model Registry using MLflow  
This tutorial guides you through setting up an MLOps pipeline using GitLab Model Registry and MLflow. It explains the importance of MLOps in managing and automating machine learning models' lifecycle, highlighting GitLab's features like version control, CI/CD pipelines, and collaboration tools. The tutorial includes instructions for setting up environment variables, training and logging models, registering successful candidates, and deploying an ML app using Docker.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/6bf22e1e870d9c21767a616d588e15da?_a=AQAEuiZ)  
19
5. 5  
[](/posts/faq-gitlab-ci-cd-catalog-m5jmrvxnp "FAQ: GitLab CI/CD Catalog")  
[![gitlab's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/3720ce340ca4435daef529abbf361b69)](/sources/[source]/best-of/[year])  
5m read time • Aug 01, 2024  
### FAQ: GitLab CI/CD Catalog  
The GitLab CI/CD Catalog enhances software development by enabling users to discover, reuse, and contribute CI/CD components. Available starting from GitLab 17.0, the catalog supports version control, composite components, and multiple input types. It can be used both on GitLab.com and self-managed instances. Testing strategies include using $CI\_COMMIT\_SHA and child pipelines. Users can create private components, clone public repos, and prevent job name collisions using dynamic names. Documentation and best practices are essential for effective usage.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/722b6c34fa492e2f06c675ff40b19a9a?_a=AQAEuiZ)  
18
6. 6  
[](/posts/building-a-gitlab-ci-cd-pipeline-for-a-monorepo-the-easy-way-v4hihbxfe "Building a GitLab CI/CD pipeline for a monorepo the easy way")  
[![gitlab's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/3720ce340ca4435daef529abbf361b69)](/sources/[source]/best-of/[year])  
5m read time • Jul 30, 2024  
### Building a GitLab CI/CD pipeline for a monorepo the easy way  
Monorepos host multiple application codes within a single GitLab repository, and configuring CI/CD pipelines for each application used to be complex. Without extending hidden jobs, GitLab 16.4 introduces a new approach with \`include\` and \`rules:changes\`, simplifying pipeline configuration and reducing redundancy. This update allows for independent application pipelines that trigger based on changes to specific directory source codes.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/6bf22e1e870d9c21767a616d588e15da?_a=AQAEuiZ)  
16
7. 7  
[](/posts/best-practices-to-keep-secrets-out-of-gitlab-repositories-buq4btptc "Best practices to keep secrets out of GitLab repositories")  
[![gitlab's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/3720ce340ca4435daef529abbf361b69)](/sources/[source]/best-of/[year])  
3m read time • Nov 01, 2024  
### Best practices to keep secrets out of GitLab repositories  
To protect against accidental exposure of credentials in GitLab repositories, it is important to set your GitLab projects and groups to private by default, securely store secrets with encryption tools, and enable GitLab's secret detection capabilities. In case of accidental credential exposure, reset and revoke the exposed credentials immediately and review access logs for any suspicious activity.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/666f390af137baff504dbf5fc4b37d0d?_a=AQAEuj9)  
14
8. 8  
[](/posts/introducing-ci-cd-steps-a-programming-language-for-devsecops-automation-qfmyvcoeh "Introducing CI/CD Steps, a programming language for DevSecOps automation")  
[![gitlab's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/3720ce340ca4435daef529abbf361b69)](/sources/[source]/best-of/[year])  
7m read time • Aug 06, 2024  
### Introducing CI/CD Steps, a programming language for DevSecOps automation  
GitLab introduces CI/CD Steps, an experimental programming language designed for DevSecOps automation. This new language aims to simplify the creation of complex automation workflows by allowing for modularity and reuse of CI jobs. Key features include the ability to define inputs and outputs for CI/CD jobs, reusability of steps across different pipelines, and the potential for simplifying and optimizing complex workflows. The GitLab team encourages community involvement and feedback as they evolve this feature.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/22a929622f2019da70902dcc5038be9f?_a=AQAEuiZ)  
11

[See all GitLab archives](/sources/gitlab/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/sources/gitlab/best-of/2024#page","url":"https://daily.dev/sources/gitlab/best-of/2024","name":"Best GitLab Posts of 2024","description":"The most upvoted GitLab posts of 2024, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/gitlab/best-of/2024#items","numberOfItems":8,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/guide-to-rest-api-ovzaep6ud","name":"Guide to REST API"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/how-to-deploy-a-php-app-using-gitlab-s-cloud-run-integration-nkmytmpo2","name":"How to deploy a PHP app using GitLab's Cloud Run integration"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/tutorial-how-to-set-up-your-first-gitlab-ci-cd-component-flaipuvr1","name":"Tutorial: How to set up your first GitLab CI/CD component"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/build-an-ml-app-pipeline-with-gitlab-model-registry-using-mlflow-ytiuszofd","name":"Build an ML app pipeline with GitLab Model Registry using MLflow"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/faq-gitlab-ci-cd-catalog-m5jmrvxnp","name":"FAQ: GitLab CI/CD Catalog"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/building-a-gitlab-ci-cd-pipeline-for-a-monorepo-the-easy-way-v4hihbxfe","name":"Building a GitLab CI/CD pipeline for a monorepo the easy way"},{"@type":"ListItem","position":7,"url":"https://daily.dev/posts/best-practices-to-keep-secrets-out-of-gitlab-repositories-buq4btptc","name":"Best practices to keep secrets out of GitLab repositories"},{"@type":"ListItem","position":8,"url":"https://daily.dev/posts/introducing-ci-cd-steps-a-programming-language-for-devsecops-automation-qfmyvcoeh","name":"Introducing CI/CD Steps, a programming language for DevSecOps automation"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Sources","item":"https://daily.dev/sources"},{"@type":"ListItem","position":3,"name":"GitLab","item":"https://daily.dev/sources/gitlab"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/gitlab/best-of"},{"@type":"ListItem","position":5,"name":"2024"}]}]}
```

