Best of GitLab β€” 2024

  1. 1
    Article
    Avatar of developertechDeveloper TechΒ·2y

    GitLab is reportedly up for sale

    GitLab is reportedly considering a sale, with interest from multiple buyers including cloud monitoring firm Datadog. The company, valued at approximately $8 billion, is a significant player in software development with over 30 million registered users. GitLab faces competitive pressures from rivals like Microsoft and has seen its shares fall 16% this year. The potential sale is part of a broader trend of M&A activity in the tech sector, driven by the need to expand service offerings.

  2. 2
    Article
    Avatar of spaceliftSpaceliftΒ·2y

    How to Create a CI/CD Pipeline with Docker [Tutorial]

    The article discusses how to combine Docker and CI/CD in order to automate build, test, and deployment tasks within the software delivery lifecycle. It covers the use of Docker for running CI/CD pipeline jobs and for building and deploying Docker images. The article provides a tutorial on creating a CI/CD pipeline with Docker using GitLab as an example, and also includes some best practices for using Docker in CI/CD.

  3. 3
    Article
    Avatar of gitlabGitLabΒ·2y

    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.

  4. 4
    Article
    Avatar of hnHacker NewsΒ·2y

    sourcebot-dev/sourcebot: Blazingly fast code search 🏎️ Deployed as a single Docker image πŸ“¦ Search million+ lines of code in your GitHub and GitLab repositories πŸͺ„ MIT licensed βœ…

    Sourcebot is a fast code indexing and search tool built on the zoekt engine, deployable with a single Docker command. It supports multi-repo searches, including both public and private repositories on GitHub and GitLab. The setup involves creating configuration files and handling authentication tokens for private repositories. Sourcebot offers a modern web interface with features like syntax highlighting and vim-style navigation. Users can disable telemetry by setting the appropriate environment variables.

  5. 5
    Article
    Avatar of gitlabGitLabΒ·1y

    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.

  6. 6
    Video
    Avatar of christianlempaChristian LempaΒ·2y

    Automate GitLab + Terraform (state file, and more)

    Chris J shares insights on automating his self-hosted GitLab platform using Terraform. He highlights two key integrations: managing GitLab resources with the Terraform provider and using GitLab as a backend for Terraform state files. The post also touches on cyber security using Wasa, a security platform. Chris demonstrates setting up projects, managing resources, and ensuring security through proper handling of sensitive information. The tutorial aims to simplify infrastructure management and enhance DevOps practices in a home lab setting.

  7. 7
    Article
    Avatar of gitguardianGitGuardianΒ·1y

    How to Handle Secrets in CI

    Learn the importance of securely handling secrets in CI/CD pipelines and explore different methods for managing them. The post covers why storing secrets as plain text is risky and offers two primary solutions: using the CI/CD system's secrets feature and leveraging secret managers with short-lived tokens via OpenID Connect (OIDC). Detailed instructions are given for integrating these practices with GitHub Actions, GitLab CI, and AWS services.

  8. 8
    Article
    Avatar of gitlabGitLabΒ·2y

    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.

  9. 9
    Article
    Avatar of communityCommunity PicksΒ·2y

    Mastering GitLab CI/CD with Advanced Configuration Techniques

    The post provides advanced configuration techniques for mastering GitLab CI/CD. It covers the structure and key elements of the .gitlab-ci.yml file, including stages, jobs, and scripts, along with Docker integration. It also highlights best practices like modular configuration and security measures, as well as advanced features such as dynamic environment management and conditional job execution. Continuous learning and integration of new tools are emphasized to refine deployment strategies and improve automation.

  10. 10
    Article
    Avatar of gitlabGitLabΒ·2y

    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.

  11. 11
    Article
    Avatar of gitlabGitLabΒ·2y

    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.

  12. 12
    Article
    Avatar of gitlabGitLabΒ·2y

    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.

  13. 13
    Article
    Avatar of spaceliftSpaceliftΒ·2y

    Writing .gitlab-ci.yml File with Examples [Tutorial]

    Learn how to write a .gitlab-ci.yml file to configure CI/CD pipelines in GitLab. Understand the main keywords used, the purpose of the file, and the flexibility it provides for automating your DevOps processes.

  14. 14
    Article
    Avatar of gitlabGitLabΒ·2y

    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.

  15. 15
    Article
    Avatar of communityCommunity PicksΒ·2y

    Install GitLab Using Docker Compose

    A detailed guide on installing GitLab using Docker Compose, with a focus on setting up Traefik as a reverse proxy to handle cryptographic certificates from Let’s Encrypt. The tutorial includes prerequisites such as having a server with Ubuntu Server 22.04 LTS, Docker Engine, Docker Compose, and OpenSSH installed. It walks through network creation, repository cloning, environment configuration, and steps to start GitLab and register GitLab Runner for CI/CD jobs, and also explains how to access the GitLab and Traefik control panels.

  16. 16
    Article
    Avatar of collectionsCollectionsΒ·2y

    A Step-by-Step Guide to Deploying React App using GitLab CI/CD on AWS EC2

    A guide to deploying a React app on AWS EC2 using GitLab CI/CD, including steps for setting up an EC2 instance, configuring the instance, uploading the application code, accessing the deployed application, and securing server credentials.

  17. 17
    Article
    Avatar of PrismicPrismicΒ·2y

    GitLab vs. GitHub: Which is Better in 2024?

    Comparison of GitHub and GitLab, two cloud-based Git platforms. Covers their similarities, differences, and recommendations for specific use cases.

  18. 18
    Article
    Avatar of mlnewsMachine Learning NewsΒ·2y

    Top Artificial Intelligence AI Courses from GitLab

    GitLab offers AI courses that empower developers to optimize workflows and enhance software development efficiency using AI features like code suggestions, vulnerability explanations, and DevSecOps automation.

  19. 19
    Video
    Avatar of christianlempaChristian LempaΒ·2y

    Self-host your own Git platform! // GitLab

    Christian explains how to self-host your GitLab platform, highlighting the benefits such as privacy, data control, and learning opportunities. He walks through the setup process using Docker, discusses system requirements, and shares tips for managing resources effectively. The guide includes practical advice on configuring SSL certificates, setting up SSH ports, and utilizing project management features in GitLab. It also emphasizes the importance of foundational skills like Git for IT professionals.

  20. 20
    Article
    Avatar of gitlabGitLabΒ·2y

    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.

  21. 21
    Article
    Avatar of infoqInfoQΒ·2y

    CI/CD Beyond YAML

    The post discusses the evolution and scalability issues of using YAML for CI/CD systems, exemplified through the experiences of two entities, Bart and Lisa. Bart's approach with multiple YAML files becomes unwieldy as system complexity grows, leading to developer frustration and inefficiencies. Lisa's approach, presented as a superior method, avoids YAML by using tools like Dagger and focuses on local-first development to improve modularity, speed, and debugging capabilities. Airbyte implemented Lisa's approach, resulting in significant cost and performance improvements while simplifying the CI/CD process.

  22. 22
    Article
    Avatar of spaceliftSpaceliftΒ·2y

    How to Manage Terraform State with GitLab [Tutorial]

    Learn how to manage Terraform state with GitLab CI/CD. GitLab provides version control and collaboration features for Terraform state files, ensuring consistency and integrity of your infrastructure. Discover the benefits and best practices of using GitLab for managing Terraform state.

  23. 23
    Article
    Avatar of infosecwriteupsInfoSec Write-upsΒ·2y

    Real World GitLab Account Take Over

    An attacker managed to exploit a vulnerability in GitLab, taking over accounts of a company that provides VoIP solutions, including government organizations, banks, and telecom providers. The post describes the reconnaissance process, the GitLab enumeration, the specific vulnerability (CVE-2023-7028), and the exploitation process. The attacker harvested email addresses of the company's employees to carry out the account takeover. Once inside, they gained access to all company projects and extracted API keys and credentials.