[{"data":1,"prerenderedAt":1207},["ShallowReactive",2],{"/blog/dockerizing-review-apps":3,"navigation-en-us":454,"banner-en-us":891,"footer-en-us":899,"blog-post-authors-en-us-Stephan Hochdörfer":1146,"blog-related-posts-en-us-dockerizing-review-apps":1162,"blog-share-wrapper-en-us":1187,"next-steps-en-us":1197},{"id":4,"title":5,"authors":6,"body":8,"category":426,"date":427,"description":428,"extension":429,"externalUrl":430,"faq":430,"featured":431,"heroImage":432,"hidePromo":431,"meta":433,"navigation":441,"path":442,"seo":443,"slug":447,"stem":448,"tags":449,"template":452,"updatedDate":430,"__hash__":453},"blogPosts/en-us/blog/dockerizing-review-apps.md","Dockerizing GitLab Review Apps",[7],"Stephan Hochdörfer",{"type":9,"value":10,"toc":423},"minimark",[11,22,25,28,59,62,142,145,148,255,258,261,301,304,307,372,375,380,393,405,419],[12,13,14,15,21],"p",{},"Last year GitLab introduced the ",[16,17,20],"a",{"href":18,"rel":19},"https://docs.gitlab.com/ci/review_apps/",[],"Review Apps"," feature. Review Apps are app environments that are created dynamically every time you push a new branch up to GitLab. As a bonus point the app environments are automatically deleted when the branch is deleted. Since we moved to using Docker for quite a few of our projects I was keen on figuring out how to combine Docker and the GitLab Review Apps functionality as the documentation only mentions NGINX as a way to run Review Apps. As it turns out, it is rather simple to deploy Docker containers as a Review App.",[12,23,24],{},"In our scenario the GitLab Runner for building the Docker image and the GitLab Runner for \"running\" the Review Apps make use of the shell executor, that way we do not have to deal with Docker-in-Docker issues. Besides installing the gitlab-ci-multi-runner package we also installed Docker and docker-compose.",[12,26,27],{},"First of all, we define two build stages in the .gitlab-ci.yml file – the build and deploy stage:",[29,30,35],"pre",{"className":31,"code":32,"language":33,"meta":34,"style":34},"language-html shiki shiki-themes github-light","stages:\n  - build\n  - deploy\n","html","",[36,37,38,47,53],"code",{"__ignoreMap":34},[39,40,43],"span",{"class":41,"line":42},"line",1,[39,44,46],{"class":45},"sgsFI","stages:\n",[39,48,50],{"class":41,"line":49},2,[39,51,52],{"class":45},"  - build\n",[39,54,56],{"class":41,"line":55},3,[39,57,58],{"class":45},"  - deploy\n",[12,60,61],{},"The build stage is defined like this:",[29,63,65],{"className":31,"code":64,"language":33,"meta":34,"style":34},"build:\n  tags:\n    - php7\n  stage: build\n  script:\n    - echo \"Building the app\"\n    - composer.phar install\n    - docker build -t myproject/myapp .\n    - docker tag myproject/myapp:latest \\\n      registry.loc/myproject/myapp:$CI_COMMIT_REF_NAME\n    - docker push registry.loc/myproject/myapp:$CI_COMMIT_REF_NAME\n  only:\n  - master\n",[36,66,67,72,77,82,88,94,100,106,112,118,124,130,136],{"__ignoreMap":34},[39,68,69],{"class":41,"line":42},[39,70,71],{"class":45},"build:\n",[39,73,74],{"class":41,"line":49},[39,75,76],{"class":45},"  tags:\n",[39,78,79],{"class":41,"line":55},[39,80,81],{"class":45},"    - php7\n",[39,83,85],{"class":41,"line":84},4,[39,86,87],{"class":45},"  stage: build\n",[39,89,91],{"class":41,"line":90},5,[39,92,93],{"class":45},"  script:\n",[39,95,97],{"class":41,"line":96},6,[39,98,99],{"class":45},"    - echo \"Building the app\"\n",[39,101,103],{"class":41,"line":102},7,[39,104,105],{"class":45},"    - composer.phar install\n",[39,107,109],{"class":41,"line":108},8,[39,110,111],{"class":45},"    - docker build -t myproject/myapp .\n",[39,113,115],{"class":41,"line":114},9,[39,116,117],{"class":45},"    - docker tag myproject/myapp:latest \\\n",[39,119,121],{"class":41,"line":120},10,[39,122,123],{"class":45},"      registry.loc/myproject/myapp:$CI_COMMIT_REF_NAME\n",[39,125,127],{"class":41,"line":126},11,[39,128,129],{"class":45},"    - docker push registry.loc/myproject/myapp:$CI_COMMIT_REF_NAME\n",[39,131,133],{"class":41,"line":132},12,[39,134,135],{"class":45},"  only:\n",[39,137,139],{"class":41,"line":138},13,[39,140,141],{"class":45},"  - master\n",[12,143,144],{},"This will create the Docker image and push it to our Sonatype Nexus instance which serves as a private Docker registry for us. As you can see I make use of the $CI_COMMIT_REF_NAME variable when tagging the Docker image. That way, we end up with a Docker image per branch. Downside: you cannot use characters in the branch name which are no valid Docker version identifiers. I still need to figure out a fix for this.",[12,146,147],{},"The deploy stage consists of two jobs: one for deploying the container, the other for undeploying the container:",[29,149,151],{"className":31,"code":150,"language":33,"meta":34,"style":34},"deploy_dev:\n  tags:\n    - dev\n  stage: deploy\n  variables:\n    GIT_STRATEGY: none\n  script:\n    - echo \"Deploy to dev.loc\"\n    - docker pull registry.loc/myproject/myapp:$CI_COMMIT_REF_NAME\n    - docker stop reviewapp-demo-$CI_COMMIT_REF_NAME || true\n    - docker rm reviewapp-demo-$CI_COMMIT_REF_NAME || true\n    - docker run -d -P -l traefik.enable=true \\\n      -l traefik.frontend.rule=Host:reviewapp.dev.loc \\\n      -l traefik.protocol=http --name reviewapp-demo-$CI_COMMIT_REF_NAME \\\n      registry.loc/myproject/myapp:$CI_COMMIT_REF_NAME\n  environment:\n    name: dev\n    url: http://reviewapp.dev.loc\n  only:\n  - master\n",[36,152,153,158,162,167,172,177,182,186,191,196,201,206,211,216,222,227,233,239,245,250],{"__ignoreMap":34},[39,154,155],{"class":41,"line":42},[39,156,157],{"class":45},"deploy_dev:\n",[39,159,160],{"class":41,"line":49},[39,161,76],{"class":45},[39,163,164],{"class":41,"line":55},[39,165,166],{"class":45},"    - dev\n",[39,168,169],{"class":41,"line":84},[39,170,171],{"class":45},"  stage: deploy\n",[39,173,174],{"class":41,"line":90},[39,175,176],{"class":45},"  variables:\n",[39,178,179],{"class":41,"line":96},[39,180,181],{"class":45},"    GIT_STRATEGY: none\n",[39,183,184],{"class":41,"line":102},[39,185,93],{"class":45},[39,187,188],{"class":41,"line":108},[39,189,190],{"class":45},"    - echo \"Deploy to dev.loc\"\n",[39,192,193],{"class":41,"line":114},[39,194,195],{"class":45},"    - docker pull registry.loc/myproject/myapp:$CI_COMMIT_REF_NAME\n",[39,197,198],{"class":41,"line":120},[39,199,200],{"class":45},"    - docker stop reviewapp-demo-$CI_COMMIT_REF_NAME || true\n",[39,202,203],{"class":41,"line":126},[39,204,205],{"class":45},"    - docker rm reviewapp-demo-$CI_COMMIT_REF_NAME || true\n",[39,207,208],{"class":41,"line":132},[39,209,210],{"class":45},"    - docker run -d -P -l traefik.enable=true \\\n",[39,212,213],{"class":41,"line":138},[39,214,215],{"class":45},"      -l traefik.frontend.rule=Host:reviewapp.dev.loc \\\n",[39,217,219],{"class":41,"line":218},14,[39,220,221],{"class":45},"      -l traefik.protocol=http --name reviewapp-demo-$CI_COMMIT_REF_NAME \\\n",[39,223,225],{"class":41,"line":224},15,[39,226,123],{"class":45},[39,228,230],{"class":41,"line":229},16,[39,231,232],{"class":45},"  environment:\n",[39,234,236],{"class":41,"line":235},17,[39,237,238],{"class":45},"    name: dev\n",[39,240,242],{"class":41,"line":241},18,[39,243,244],{"class":45},"    url: http://reviewapp.dev.loc\n",[39,246,248],{"class":41,"line":247},19,[39,249,135],{"class":45},[39,251,253],{"class":41,"line":252},20,[39,254,141],{"class":45},[12,256,257],{},"When this code is run it will simply pull the latest image from the private Docker registry and run it. Since the gitlab-runner user will push the image to the registry the user needs an account there and needs to be authenticated against the registry. I could not find a way how to configure the registry credentials via the .gitlab.yml file, so I ssh'ed into the boxes and manually run a \"docker login registry.loc\" for the gitlab-runner user. Currently we do not have many servers - virtual machines in our case - so that approach is fine, but does not scale in the future.",[12,259,260],{},"When running the container we set a fixed name for the container. That way, we can easily stop it when it comes to the undeploy job. We also define some Traefik labels as we use Traefik in front of the docker daemon to route the requests. Traefik itself runs in a container as well. The Traefik container is launched like this:",[29,262,264],{"className":31,"code":263,"language":33,"meta":34,"style":34},"docker run -d --restart=always -p 8080:8080 -p 80:80 -p 443:443 \\\n-l traefik.enable=false --name=traefik \\\n-v /var/run/docker.sock:/var/run/docker.sock \\\n-v /etc/traefik/traefik.toml:/etc/traefik/traefik.toml \\\n-v /etc/traefik/ssl/cert.key:/etc/traefik/ssl/cert.key \\\n-v /etc/traefik/ssl/cert.pem:/etc/traefik/ssl/cert.pem \\\ntraefik\n",[36,265,266,271,276,281,286,291,296],{"__ignoreMap":34},[39,267,268],{"class":41,"line":42},[39,269,270],{"class":45},"docker run -d --restart=always -p 8080:8080 -p 80:80 -p 443:443 \\\n",[39,272,273],{"class":41,"line":49},[39,274,275],{"class":45},"-l traefik.enable=false --name=traefik \\\n",[39,277,278],{"class":41,"line":55},[39,279,280],{"class":45},"-v /var/run/docker.sock:/var/run/docker.sock \\\n",[39,282,283],{"class":41,"line":84},[39,284,285],{"class":45},"-v /etc/traefik/traefik.toml:/etc/traefik/traefik.toml \\\n",[39,287,288],{"class":41,"line":90},[39,289,290],{"class":45},"-v /etc/traefik/ssl/cert.key:/etc/traefik/ssl/cert.key \\\n",[39,292,293],{"class":41,"line":96},[39,294,295],{"class":45},"-v /etc/traefik/ssl/cert.pem:/etc/traefik/ssl/cert.pem \\\n",[39,297,298],{"class":41,"line":102},[39,299,300],{"class":45},"traefik\n",[12,302,303],{},"We do not use any fancy Traefik configuration, just the defaults for the docker backend. Since the Review Apps server runs in our intranet and uses our intranet domain name we were not able to use the Let's Encrypt support built in Traefik. Instead, we were required to generate a self-signed SSL certificate and mount that in the Traefik container.",[12,305,306],{},"The undeploy job is the final piece of the puzzle. GitLab allows you to manually stop Review Apps by clicking a Pause button the GitLab UI. To undeploy a Review App we simply stop and remove the container by the defined name.",[29,308,310],{"className":31,"code":309,"language":33,"meta":34,"style":34},"undeploy_dev:\n  tags:\n    - dev\n  stage: deploy\n  variables:\n    GIT_STRATEGY: none\n  script:\n    - echo \"Remove review app from dev.loc\"\n    - docker stop reviewapp-demo-$CI_COMMIT_REF_NAME || true\n    - docker rm reviewapp-demo-$CI_COMMIT_REF_NAME || true\n  when: manual\n  environment:\n    name: dev\n    action: stop\n\n",[36,311,312,317,321,325,329,333,337,341,346,350,354,359,363,367],{"__ignoreMap":34},[39,313,314],{"class":41,"line":42},[39,315,316],{"class":45},"undeploy_dev:\n",[39,318,319],{"class":41,"line":49},[39,320,76],{"class":45},[39,322,323],{"class":41,"line":55},[39,324,166],{"class":45},[39,326,327],{"class":41,"line":84},[39,328,171],{"class":45},[39,330,331],{"class":41,"line":90},[39,332,176],{"class":45},[39,334,335],{"class":41,"line":96},[39,336,181],{"class":45},[39,338,339],{"class":41,"line":102},[39,340,93],{"class":45},[39,342,343],{"class":41,"line":108},[39,344,345],{"class":45},"    - echo \"Remove review app from dev.loc\"\n",[39,347,348],{"class":41,"line":114},[39,349,200],{"class":45},[39,351,352],{"class":41,"line":120},[39,353,205],{"class":45},[39,355,356],{"class":41,"line":126},[39,357,358],{"class":45},"  when: manual\n",[39,360,361],{"class":41,"line":132},[39,362,232],{"class":45},[39,364,365],{"class":41,"line":138},[39,366,238],{"class":45},[39,368,369],{"class":41,"line":218},[39,370,371],{"class":45},"    action: stop\n",[12,373,374],{},"Both the deploy_dev and the undeploy_dev job are bound by the tag \"dev\" to the dev server which hosts our docker instances. That way the docker instances will always start on the right server.",[376,377,379],"h2",{"id":378},"about-the-author","About the Author",[12,381,382,386,387,392],{},[16,383,7],{"href":384,"rel":385},"https://twitter.com/shochdoerfer",[]," currently holds the position of Head of Technology at ",[16,388,391],{"href":389,"rel":390},"https://www.bitexpert.de",[],"bitExpert AG",", a company specializing in software and mobile development. His primary focus is everything related to web development as well as automation techniques ranging from code generation to deployment automation.",[12,394,395],{},[396,397,398,399,404],"em",{},"This post was originally published on ",[16,400,403],{"href":401,"rel":402},"https://blog.bitexpert.de/blog/dockerizing-gitlab-review-apps/",[],"blog.bitexpert.de",".",[12,406,407,412,413,418],{},[16,408,411],{"href":409,"rel":410},"https://unsplash.com/@guibolduc?photo=uBe2mknURG4",[],"Cover image"," by ",[16,414,417],{"href":415,"rel":416},"https://unsplash.com/@guibolduc",[],"Guillaume Bolduc"," on Unsplash",[420,421,422],"style",{},"html pre.shiki code .sgsFI, html code.shiki .sgsFI{--shiki-default:#24292E}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":34,"searchDepth":49,"depth":49,"links":424},[425],{"id":378,"depth":49,"text":379},"engineering","2017-07-11","A GitLab user shows us how to deploy Docker containers as a Review App.","md",null,false,"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749680430/Blog/Hero%20Images/dockerizing-review-apps.jpg",{"excerpt":434},{"type":9,"value":435},[436],[12,437,14,438,21],{},[16,439,20],{"href":18,"rel":440},[],true,"/en-us/blog/dockerizing-review-apps",{"title":5,"description":428,"ogTitle":5,"ogDescription":428,"noIndex":431,"ogImage":432,"ogUrl":444,"ogSiteName":445,"ogType":446,"canonicalUrls":444},"https://about.gitlab.com/blog/dockerizing-review-apps","https://about.gitlab.com","article","dockerizing-review-apps","en-us/blog/dockerizing-review-apps",[450,451],"user stories","CI/CD","BlogPost","sroERHdIxTs56V4YwAHjYgQN33hndlYOkeGqP3aZnt4",{"logo":455,"freeTrial":460,"sales":465,"login":470,"items":475,"search":810,"minimal":842,"duo":861,"switchNav":870,"pricingDeployment":881},{"config":456},{"href":457,"dataGaName":458,"dataGaLocation":459},"/","gitlab logo","header",{"text":461,"config":462},"Get free trial",{"href":463,"dataGaName":464,"dataGaLocation":459},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com&glm_content=default-saas-trial/","free trial",{"text":466,"config":467},"Request a demo",{"href":468,"dataGaName":469,"dataGaLocation":459},"/request-a-demo/","sales",{"text":471,"config":472},"Sign in",{"href":473,"dataGaName":474,"dataGaLocation":459},"https://gitlab.com/users/sign_in/","sign in",[476,561,649,654,734,788],{"text":477,"left":441,"config":478,"menu":480},"Platform",{"dataNavLevelOne":479},"platform",{"type":481,"link":482,"columns":486,"feature":550},"lists",{"text":483,"config":484},"Explore the Platform",{"href":485,"dataGaName":479,"dataGaLocation":459},"/platform/",[487,509,532],{"title":488,"items":489},"DevOps",[490,494,499,504],{"text":451,"config":491},{"href":492,"dataGaLocation":459,"dataGaName":493},"/solutions/continuous-integration/","ci/cd",{"text":495,"config":496},"Source Code Management",{"href":497,"dataGaLocation":459,"dataGaName":498},"/solutions/source-code-management/","source code management",{"text":500,"config":501},"Agile Delivery",{"href":502,"dataGaLocation":459,"dataGaName":503},"/solutions/agile-delivery/","agile delivery",{"text":505,"config":506},"Artifact Management",{"href":507,"dataGaLocation":459,"dataGaName":508},"/artifact-central/","artifact management",{"title":510,"items":511},"Security & Governance",[512,517,522,527],{"text":513,"config":514},"Application Security Testing",{"href":515,"dataGaLocation":459,"dataGaName":516},"/solutions/application-security-testing/","application security testing",{"text":518,"config":519},"Governance & Compliance",{"href":520,"dataGaLocation":459,"dataGaName":521},"/solutions/software-compliance/","governance and compliance",{"text":523,"config":524},"Secrets Management",{"href":525,"dataGaLocation":459,"dataGaName":526},"/gitlab-secrets-manager/","secrets management",{"text":528,"config":529},"Supply Chain Security",{"href":530,"dataGaLocation":459,"dataGaName":531},"/solutions/supply-chain/","supply chain security",{"title":533,"items":534},"Agentic AI & Context",[535,540,545],{"text":536,"config":537},"Duo Agent Platform",{"href":538,"dataGaLocation":459,"dataGaName":539},"/gitlab-duo-agent-platform/","duo agent platform",{"text":541,"config":542},"Orbit Context Graph",{"href":543,"dataGaLocation":459,"dataGaName":544},"/gitlab-orbit/","orbit",{"text":546,"config":547},"Visibility & Measurement",{"href":548,"dataGaLocation":459,"dataGaName":549},"/solutions/visibility-measurement/","visibility and measurement",{"config":551,"title":554,"text":555,"link":556},{"background":552,"textColor":553},"url('https://res.cloudinary.com/about-gitlab-com/image/upload/v1790185102/o7dn32anqcb6z8dgd3as.jpg')","#000","GitLab Orbit is generally available","Higher agent accuracy, lower token cost",{"text":557,"config":558},"Read the announcement",{"href":559,"dataGaName":560,"dataGaLocation":459},"/blog/gitlab-orbit-ga/","orbit ga announcement",{"text":562,"left":441,"config":563,"menu":565},"Solutions",{"dataNavLevelOne":564},"solutions",{"type":481,"link":566,"columns":570,"feature":640},{"text":567,"config":568},"View all Solutions",{"href":569,"dataGaName":564,"dataGaLocation":459},"/solutions/",[571,589,607],{"title":572,"items":573},"Outcomes",[574,579,584],{"text":575,"config":576},"DevOps Modernization",{"href":577,"dataGaLocation":459,"dataGaName":578},"/assessments/devops-modernization-assessment/","devops modernization",{"text":580,"config":581},"Security Modernization",{"href":582,"dataGaLocation":459,"dataGaName":583},"/assessments/security-modernization-assessment/","security modernization",{"text":585,"config":586},"AI Modernization",{"href":587,"dataGaLocation":459,"dataGaName":588},"/assessments/ai-modernization-assessment/","ai modernization",{"title":590,"items":591},"By size",[592,597,602],{"text":593,"config":594},"Enterprise",{"href":595,"dataGaLocation":459,"dataGaName":596},"/enterprise/","enterprise",{"text":598,"config":599},"Small Business",{"href":600,"dataGaLocation":459,"dataGaName":601},"/small-business/","small business",{"text":603,"config":604},"Startups",{"href":605,"dataGaLocation":459,"dataGaName":606},"/solutions/startups/","startups",{"title":608,"items":609},"Industries",[610,615,620,625,630,635],{"text":611,"config":612},"Financial Services",{"href":613,"dataGaLocation":459,"dataGaName":614},"/solutions/finance/","financial services",{"text":616,"config":617},"Public Sector",{"href":618,"dataGaLocation":459,"dataGaName":619},"/solutions/public-sector/","public sector",{"text":621,"config":622},"Telecommunications",{"href":623,"dataGaLocation":459,"dataGaName":624},"/solutions/telecommunications/","telecommunications",{"text":626,"config":627},"Automotive",{"href":628,"dataGaLocation":459,"dataGaName":629},"/solutions/automotive/","automotive",{"text":631,"config":632},"Education",{"href":633,"dataGaLocation":459,"dataGaName":634},"/solutions/education/","education",{"text":636,"config":637},"Aerospace",{"href":638,"dataGaLocation":459,"dataGaName":639},"/solutions/aerospace/","aerospace",{"config":641,"title":642,"text":643,"link":644},{"background":552,"textColor":553},"GitLab Security Standard","Learn how to harden your software factory and let AI agents earn autonomy, without trading away security.",{"text":645,"config":646},"Explore the standard",{"href":647,"dataGaName":648,"dataGaLocation":459},"/gitlab-security-standard/","gitlab security standard",{"text":650,"config":651},"Pricing",{"href":652,"dataGaName":653,"dataGaLocation":459,"dataNavLevelOne":653},"/pricing/","pricing",{"text":655,"config":656,"menu":658},"Resources",{"dataNavLevelOne":657},"resources",{"type":481,"link":659,"columns":663,"feature":725},{"text":660,"config":661},"View all resources",{"href":662,"dataGaName":657,"dataGaLocation":459},"/resources/",[664,697],{"title":665,"items":666},"Discover",[667,672,677,682,687,692],{"text":668,"config":669},"Docs",{"href":670,"dataGaName":671,"dataGaLocation":459},"https://docs.gitlab.com/","docs",{"text":673,"config":674},"University",{"href":675,"dataGaName":676,"dataGaLocation":459},"https://university.gitlab.com/","university",{"text":678,"config":679},"Demo Series",{"href":680,"dataGaName":681,"dataGaLocation":459},"/gitlab-technical-demo-series/","demo series",{"text":683,"config":684},"Demo Hub",{"href":685,"dataGaName":686,"dataGaLocation":459},"/demo-hub/","demo hub",{"text":688,"config":689},"Services",{"href":690,"dataGaName":691,"dataGaLocation":459},"/services/","services",{"text":693,"config":694},"Well Architected",{"href":695,"dataGaName":696,"dataGaLocation":459},"/resources/well-architected/","well architected",{"title":698,"items":699},"Connect",[700,705,710,715,720],{"text":701,"config":702},"Blog",{"href":703,"dataGaName":704,"dataGaLocation":459},"/blog/","blog",{"text":706,"config":707},"Community",{"href":708,"dataGaName":709,"dataGaLocation":459},"/community/","community",{"text":711,"config":712},"Customers",{"href":713,"dataGaName":714,"dataGaLocation":459},"/customers/","customers",{"text":716,"config":717},"Partners",{"href":718,"dataGaName":719,"dataGaLocation":459},"/partners/","partners",{"text":721,"config":722},"Events",{"href":723,"dataGaName":724,"dataGaLocation":459},"/events/","events",{"config":726,"title":727,"text":728,"link":729},{"background":552,"textColor":553},"What’s new in GitLab","Stay updated with our latest features and improvements.",{"text":730,"config":731},"Read the latest",{"href":732,"dataGaName":733,"dataGaLocation":459},"/whats-new/","whats new",{"text":735,"config":736,"menu":738},"Company",{"dataNavLevelOne":737},"company",{"type":481,"columns":739},[740],{"items":741},[742,747,753,758,763,768,773,778,783],{"text":743,"config":744},"About",{"href":745,"dataGaName":746,"dataGaLocation":459},"/company/","about",{"text":748,"config":749,"footerGa":752},"Jobs",{"href":750,"dataGaName":751,"dataGaLocation":459},"/jobs/","jobs",{"dataGaName":751},{"text":754,"config":755},"Press",{"href":756,"dataGaName":757,"dataGaLocation":459},"/press/","press",{"text":759,"config":760},"Handbook",{"href":761,"dataGaName":762,"dataGaLocation":459},"https://handbook.gitlab.com/","handbook",{"text":764,"config":765},"Leadership",{"href":766,"dataGaName":767,"dataGaLocation":459},"/company/team/e-group/","leadership",{"text":769,"config":770},"Investor relations",{"href":771,"dataGaName":772,"dataGaLocation":459},"https://ir.gitlab.com/overview/default.aspx","investor relations",{"text":774,"config":775},"Trust Center",{"href":776,"dataGaName":777,"dataGaLocation":459},"/security/","trust center",{"text":779,"config":780},"AI Transparency Center",{"href":781,"dataGaName":782,"dataGaLocation":459},"/ai-transparency-center/","ai transparency center",{"text":784,"config":785},"Newsletter",{"href":786,"dataGaName":787,"dataGaLocation":459},"/company/contact/#contact-forms","newsletter",{"text":789,"config":790,"menu":791},"Contact us",{"dataNavLevelOne":737},{"type":481,"columns":792},[793],{"items":794},[795,800,805],{"text":796,"config":797},"Talk to sales",{"href":798,"dataGaName":799,"dataGaLocation":459},"/sales/","talk to sales",{"text":801,"config":802},"Support portal",{"href":803,"dataGaName":804,"dataGaLocation":459},"https://support.gitlab.com/hc/en-us","support portal",{"text":806,"config":807},"Customer portal",{"href":808,"dataGaName":809,"dataGaLocation":459},"https://customers.gitlab.com/customers/sign_in/","customer portal",{"close":811,"login":812,"suggestions":819},"Close",{"text":813,"link":814},"To search repositories and projects, login to",{"text":815,"config":816},"gitlab.com",{"href":473,"dataGaName":817,"dataGaLocation":818},"search login","search",{"text":820,"default":821},"Suggestions",[822,825,828,830,834,838],{"text":823,"config":824},"GitLab Duo Agent Platform",{"href":538,"dataGaName":823,"dataGaLocation":818},{"text":826,"config":827},"Code Suggestions (AI)",{"href":538,"dataGaName":826,"dataGaLocation":818},{"text":451,"config":829},{"href":492,"dataGaName":451,"dataGaLocation":818},{"text":831,"config":832},"GitLab on AWS",{"href":833,"dataGaName":831,"dataGaLocation":818},"/partners/technology-partners/aws/",{"text":835,"config":836},"GitLab on Google Cloud",{"href":837,"dataGaName":835,"dataGaLocation":818},"/partners/technology-partners/google-cloud-platform/",{"text":839,"config":840},"Why GitLab?",{"href":841,"dataGaName":839,"dataGaLocation":818},"/why-gitlab/",{"freeTrial":843,"mobileIcon":848,"desktopIcon":853,"secondaryButton":856},{"text":844,"config":845},"Start free trial",{"href":846,"dataGaName":464,"dataGaLocation":847},"https://gitlab.com/-/trials/new/","nav",{"altText":849,"config":850},"Gitlab Icon",{"src":851,"dataGaName":852,"dataGaLocation":847},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203874/jypbw1jx72aexsoohd7x.svg","gitlab icon",{"altText":849,"config":854},{"src":855,"dataGaName":852,"dataGaLocation":847},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203875/gs4c8p8opsgvflgkswz9.svg",{"text":857,"config":858},"Get Started",{"href":859,"dataGaName":860,"dataGaLocation":847},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/get-started/","get started",{"freeTrial":862,"mobileIcon":866,"desktopIcon":868},{"text":863,"config":864},"Learn more about GitLab Duo",{"href":538,"dataGaName":865,"dataGaLocation":847},"gitlab duo",{"altText":849,"config":867},{"src":851,"dataGaName":852,"dataGaLocation":847},{"altText":849,"config":869},{"src":855,"dataGaName":852,"dataGaLocation":847},{"button":871,"mobileIcon":876,"desktopIcon":878},{"text":872,"config":873},"/switch",{"href":874,"dataGaName":875,"dataGaLocation":847},"#contact","switch",{"altText":849,"config":877},{"src":851,"dataGaName":852,"dataGaLocation":847},{"altText":849,"config":879},{"src":880,"dataGaName":852,"dataGaLocation":847},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1773335277/ohhpiuoxoldryzrnhfrh.png",{"freeTrial":882,"mobileIcon":887,"desktopIcon":889},{"text":883,"config":884},"Back to pricing",{"href":652,"dataGaName":885,"dataGaLocation":847,"icon":886},"back to pricing","GoBack",{"altText":849,"config":888},{"src":851,"dataGaName":852,"dataGaLocation":847},{"altText":849,"config":890},{"src":855,"dataGaName":852,"dataGaLocation":847},{"title":892,"button":893,"config":897},"GitLab Orbit is generally available. Increase agent accuracy and lower token cost",{"text":557,"config":894},{"href":559,"dataGaName":895,"dataGaLocation":896},"orbit-ga-banner","global-banner",{"layout":898,"disabled":431},"release",{"data":900},{"text":901,"config":902,"items":907,"minimal":1135},"Git is a trademark of Software Freedom Conservancy and our use of 'GitLab' is under license",{"twitter":903,"facebook":904,"youtube":905,"linkedin":906},"https://twitter.com/gitlab","https://www.facebook.com/gitlab","https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg","https://www.linkedin.com/company/gitlab-com",[908,956,1015,1062,1103],{"title":650,"links":909,"subMenu":925},[910,915,920],{"text":911,"config":912},"View plans",{"href":652,"dataGaName":913,"dataGaLocation":914},"view plans","footer",{"text":916,"config":917},"Why Premium?",{"href":918,"dataGaName":919,"dataGaLocation":914},"/pricing/premium/","why premium",{"text":921,"config":922},"Why Ultimate?",{"href":923,"dataGaName":924,"dataGaLocation":914},"/pricing/ultimate/","why ultimate",[926],{"title":927,"links":928},"Contact Us",[929,932,934,936,941,946,951],{"text":930,"config":931},"Contact sales",{"href":798,"dataGaName":469,"dataGaLocation":914},{"text":801,"config":933},{"href":803,"dataGaName":804,"dataGaLocation":914},{"text":806,"config":935},{"href":808,"dataGaName":809,"dataGaLocation":914},{"text":937,"config":938},"Status",{"href":939,"dataGaName":940,"dataGaLocation":914},"https://status.gitlab.com/","status",{"text":942,"config":943},"Terms of use",{"href":944,"dataGaName":945,"dataGaLocation":914},"/terms/","terms of use",{"text":947,"config":948},"Privacy statement",{"href":949,"dataGaName":950,"dataGaLocation":914},"/privacy/","privacy statement",{"text":952,"config":953},"Cookie preferences",{"dataGaName":954,"dataGaLocation":914,"id":955,"isOneTrustButton":441},"cookie preferences","ot-sdk-btn",{"title":477,"links":957,"subMenu":973},[958,961,963,965,967,969],{"text":959,"config":960},"Explore the platform",{"href":485,"dataGaName":479,"dataGaLocation":914},{"text":536,"config":962},{"href":538,"dataGaName":539,"dataGaLocation":914},{"text":451,"config":964},{"href":492,"dataGaName":493,"dataGaLocation":914},{"text":541,"config":966},{"href":543,"dataGaName":544,"dataGaLocation":914},{"text":523,"config":968},{"href":525,"dataGaName":526,"dataGaLocation":914},{"text":970,"config":971},"Why GitLab",{"href":841,"dataGaName":972,"dataGaLocation":914},"why gitlab",[974],{"title":975,"links":976},"Topics",[977,981,986,990,995,1000,1005,1010],{"text":451,"config":978},{"href":979,"dataGaName":980,"dataGaLocation":914},"/topics/ci-cd/","cicd",{"text":982,"config":983},"GitOps",{"href":984,"dataGaName":985,"dataGaLocation":914},"/topics/gitops/","gitops",{"text":488,"config":987},{"href":988,"dataGaName":989,"dataGaLocation":914},"/topics/devops/","devops",{"text":991,"config":992},"Version Control",{"href":993,"dataGaName":994,"dataGaLocation":914},"/topics/version-control/","version control",{"text":996,"config":997},"DevSecOps",{"href":998,"dataGaName":999,"dataGaLocation":914},"/topics/devsecops/","devsecops",{"text":1001,"config":1002},"Cloud Native",{"href":1003,"dataGaName":1004,"dataGaLocation":914},"/topics/cloud-native/","cloud native",{"text":1006,"config":1007},"AI for Coding",{"href":1008,"dataGaName":1009,"dataGaLocation":914},"/topics/devops/ai-for-coding/","ai for coding",{"text":1011,"config":1012},"Agentic AI",{"href":1013,"dataGaName":1014,"dataGaLocation":914},"/topics/agentic-ai/","agentic ai",{"title":562,"links":1016},[1017,1020,1023,1026,1029,1032,1034,1036,1038,1040,1042,1045,1047,1050,1054,1058],{"text":1018,"config":1019},"DevOps modernization",{"href":577,"dataGaName":578,"dataGaLocation":914},{"text":1021,"config":1022},"Security modernization",{"href":582,"dataGaName":583,"dataGaLocation":914},{"text":1024,"config":1025},"AI modernization",{"href":587,"dataGaName":588,"dataGaLocation":914},{"text":1027,"config":1028},"Financial services",{"href":613,"dataGaName":614,"dataGaLocation":914},{"text":1030,"config":1031},"Public sector",{"href":618,"dataGaName":619,"dataGaLocation":914},{"text":621,"config":1033},{"href":623,"dataGaName":624,"dataGaLocation":914},{"text":626,"config":1035},{"href":628,"dataGaName":629,"dataGaLocation":914},{"text":631,"config":1037},{"href":633,"dataGaName":634,"dataGaLocation":914},{"text":636,"config":1039},{"href":638,"dataGaName":639,"dataGaLocation":914},{"text":593,"config":1041},{"href":595,"dataGaName":596,"dataGaLocation":914},{"text":1043,"config":1044},"Small business",{"href":600,"dataGaName":601,"dataGaLocation":914},{"text":603,"config":1046},{"href":605,"dataGaName":606,"dataGaLocation":914},{"text":982,"config":1048},{"href":1049,"dataGaName":985,"dataGaLocation":914},"/solutions/gitops/",{"text":1051,"config":1052},"Software composition analysis",{"href":530,"dataGaName":1053,"dataGaLocation":914},"software composition analysis",{"text":1055,"config":1056},"Value stream management",{"href":548,"dataGaName":1057,"dataGaLocation":914},"value stream management",{"text":1059,"config":1060},"All solutions",{"href":569,"dataGaName":1061,"dataGaLocation":914},"all solutions",{"title":655,"links":1063},[1064,1069,1074,1076,1078,1080,1082,1084,1086,1088,1090,1092,1094,1096,1099],{"text":1065,"config":1066},"Install",{"href":1067,"dataGaName":1068,"dataGaLocation":914},"/install/","install",{"text":1070,"config":1071},"Quick start guides",{"href":1072,"dataGaName":1073,"dataGaLocation":914},"/get-started/","quick setup checklists",{"text":668,"config":1075},{"href":670,"dataGaName":671,"dataGaLocation":914},{"text":673,"config":1077},{"href":675,"dataGaName":676,"dataGaLocation":914},{"text":678,"config":1079},{"href":680,"dataGaName":681,"dataGaLocation":914},{"text":683,"config":1081},{"href":685,"dataGaName":686,"dataGaLocation":914},{"text":688,"config":1083},{"href":690,"dataGaName":691,"dataGaLocation":914},{"text":701,"config":1085},{"href":703,"dataGaName":704,"dataGaLocation":914},{"text":706,"config":1087},{"href":708,"dataGaName":709,"dataGaLocation":914},{"text":711,"config":1089},{"href":713,"dataGaName":714,"dataGaLocation":914},{"text":716,"config":1091},{"href":718,"dataGaName":719,"dataGaLocation":914},{"text":721,"config":1093},{"href":723,"dataGaName":724,"dataGaLocation":914},{"text":784,"config":1095},{"href":786,"dataGaName":787,"dataGaLocation":914},{"text":1097,"config":1098},"What's new",{"href":732,"dataGaName":733,"dataGaLocation":914},{"text":1100,"config":1101},"All resources",{"href":662,"dataGaName":1102,"dataGaLocation":914},"all resources",{"title":735,"links":1104},[1105,1107,1109,1111,1113,1115,1117,1119,1121,1125,1130],{"text":743,"config":1106},{"href":745,"dataGaName":737,"dataGaLocation":914},{"text":748,"config":1108},{"href":750,"dataGaName":751,"dataGaLocation":914},{"text":754,"config":1110},{"href":756,"dataGaName":757,"dataGaLocation":914},{"text":759,"config":1112},{"href":761,"dataGaName":762,"dataGaLocation":914},{"text":764,"config":1114},{"href":766,"dataGaName":767,"dataGaLocation":914},{"text":769,"config":1116},{"href":771,"dataGaName":772,"dataGaLocation":914},{"text":774,"config":1118},{"href":776,"dataGaName":777,"dataGaLocation":914},{"text":779,"config":1120},{"href":781,"dataGaName":782,"dataGaLocation":914},{"text":1122,"config":1123},"Sustainability",{"href":1124,"dataGaName":1122,"dataGaLocation":914},"/sustainability/",{"text":1126,"config":1127},"Diversity, inclusion and belonging (DIB)",{"href":1128,"dataGaName":1129,"dataGaLocation":914},"/diversity-inclusion-belonging/","Diversity, inclusion and belonging",{"text":1131,"config":1132},"Modern Slavery Transparency Statement",{"href":1133,"dataGaName":1134,"dataGaLocation":914},"https://handbook.gitlab.com/handbook/legal/modern-slavery-act-transparency-statement/","modern slavery transparency statement",{"items":1136},[1137,1140,1143],{"text":1138,"config":1139},"Terms",{"href":944,"dataGaName":945,"dataGaLocation":914},{"text":1141,"config":1142},"Cookies",{"dataGaName":954,"dataGaLocation":914,"id":955,"isOneTrustButton":441},{"text":1144,"config":1145},"Privacy",{"href":949,"dataGaName":950,"dataGaLocation":914},[1147],{"id":1148,"title":1149,"body":430,"config":1150,"content":1152,"description":430,"extension":1156,"meta":1157,"navigation":441,"path":1158,"seo":1159,"stem":1160,"__hash__":1161},"blogAuthors/en-us/blog/authors/stephan-hochdrfer.yml","Stephan Hochdrfer",{"template":1151},"BlogAuthor",{"name":7,"config":1153},{"headshot":1154,"ctfId":1155},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749659488/Blog/Author%20Headshots/gitlab-logo-extra-whitespace.png","Stephan-Hochdrfer","yml",{},"/en-us/blog/authors/stephan-hochdrfer",{},"en-us/blog/authors/stephan-hochdrfer","B_7RWBVRwp-WOoMl9XFT5RjEVeug26EOyWD3Cme1aXg",[1163,1171,1179],{"title":1164,"description":1165,"heroImage":1166,"category":426,"date":1167,"authors":1168,"slug":1170,"externalUrl":430},"Two front doors: Module-level access in a Django GRC app","A technical deep-dive on restructuring a Django internal tool to support two distinct GitLab teams: Security Compliance and Internal Audit.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1750097663/Blog/Hero%20Images/Blog/Hero%20Images/Workflow%201800x945_2gQoQIbY9NvjLFpXtsxtXy_1750097663612.png","2026-10-05",[1169],"Donovan Felton","module-level-access-in-a-django-grc-app",{"title":1172,"description":1173,"heroImage":1174,"category":426,"date":1175,"authors":1176,"slug":1178,"externalUrl":430},"How GitLab reduced code-per-agentic-flow ratio by 45%","Learn how Flow Registry, a component-based framework that compiles YAML configurations into fully functional LangGraph flows, helped improve scalability and more.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1774465167/n5hlvrsrheadeccyr1oz.png","2026-09-22",[1177],"Mikolaj Wawrzyniak","how-gitlab-reduced-code-per-agentic-flow-ratio",{"title":1180,"description":1181,"heroImage":1182,"category":426,"date":1183,"authors":1184,"slug":1186,"externalUrl":430},"Co-Create: Building GitLab with our users","How GitLab users collaborated with us to build practical product improvements in the first half of 2026.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1750099203/Blog/Hero%20Images/Blog/Hero%20Images/blog-image-template-1800x945%20%2820%29_2bJGC5ZP3WheoqzlLT05C5_1750099203484.png","2026-09-10",[1185],"Isa Huerga","co-create-h1-2026",{"header":1188,"text":1189,"button":1193,"disclaimer":1196},"Start your free\n\n30-day GitLab trial\n",[1190,1191,1192],"GitLab Duo Agent Platform access","Try our most advanced features","Automate complex tasks with AI",{"text":461,"config":1194},{"href":1195,"dataGaName":464,"dataGaLocation":704},"https://gitlab.com/-/trials/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/blog/","No credit card required.",{"header":1198,"blurb":1199,"button":1200,"secondaryButton":1205},"Start building faster today","See what your team can do with the intelligent orchestration platform for DevSecOps.\n",{"text":1201,"config":1202},"Get your free trial",{"href":1203,"dataGaName":464,"dataGaLocation":1204},"https://gitlab.com/-/trial_registrations/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/","feature",{"text":930,"config":1206},{"href":798,"dataGaName":469,"dataGaLocation":1204},1794911775830]