GitLab
GitLab logoGitLab · Feature trail

Performance Optimization

70 posts · Jun 2015 – Sep 2026

What this trail covers

GitLab CI/CD pipelines offer fine-grained permissions for job tokens, moving from Beta to General Availability. This enhancement allows maintainers to implement granular access controls for job tokens to API resources, adhering to the principle of least privilege. The initial release supports permissions for repositories, deployments, environments, jobs, packages, pipelines, releases, secure files, and Terraform state. This feature aims to reduce the attack surface, eliminate reliance on lon. This post details implementing continuous deployment with GitLab, focusing on artifact management strategies (versioning, retention, registry access), environment strategy, and deployment targets. It provides a step-by-step example for containerizing a simple HTML application, setting up a CI/CD pipeline with Docker, publishing to the GitLab Container Registry, and deploying to a virtual machine using SSH authentication. The pipeline includes stages for publishing, staging, and production deployments, with environment configuration for tracking.

All GitLab trails