[{"data":1,"prerenderedAt":1347},["ShallowReactive",2],{"/blog/building-build-images":3,"navigation-en-us":598,"banner-en-us":1033,"footer-en-us":1041,"blog-post-authors-en-us-Brendan O'Leary":1287,"blog-related-posts-en-us-building-build-images":1302,"blog-share-wrapper-en-us":1327,"next-steps-en-us":1337},{"id":4,"title":5,"authors":6,"body":8,"category":577,"date":578,"description":579,"extension":580,"externalUrl":581,"faq":581,"featured":582,"heroImage":583,"hidePromo":582,"meta":584,"navigation":241,"path":585,"seo":586,"slug":590,"stem":591,"tags":592,"template":596,"updatedDate":581,"__hash__":597},"blogPosts/en-us/blog/building-build-images.md","Getting [meta] with GitLab CI/CD: Building build images",[7],"Brendan O'Leary",{"type":9,"value":10,"toc":570},"minimark",[11,28,33,57,66,69,73,99,145,154,158,172,175,179,187,208,211,219,249,252,260,397,400,438,441,510,534,538,541,552,566],[12,13,14,18],"blockquote",{},[15,16,17],"p",{},"An alternative title for this post could have been:",[15,19,20,21,27],{},"I heard you liked Docker, so I put ",[22,23,26],"a",{"href":24,"rel":25},"https://hub.docker.com/_/docker/",[],"dind",".",[29,30,32],"h2",{"id":31},"getting-started","Getting started",[15,34,35,36,41,42,46,47,51,52,56],{},"It should be clear by now that I love building stuff with GitLab CI/CD. From\n",[22,37,40],{"href":38,"rel":39},"https://medium.com/gitlab-magazine/ci-cd-all-the-things-pihole-625a0ceaf12",[],"DNS","\nto ",[22,43,45],{"href":44},"/blog/introducing-auto-breakfast-from-gitlab/","breakfast"," GitLab CI/CD\noffers a pretty wide range. However, past those \"fun\" use cases, I also like\nto share some ",[48,49,50],"del",{},"best"," practices I have acquired during my years of using ",[22,53,55],{"href":54},"/solutions/continuous-integration/","GitLab\nCI/CD",", both for software and non-software projects alike.",[15,58,59,60,65],{},"I crossed out \"best\" above because I don't really like the term \"best practices.\" It\nimplies that there is only one right answer to a given question – which is the\nopposite of the point of computer science. Sure there are better and worse ways to\ndo something – but like many things in life, you have to find what works for\nyou. \"",[22,61,64],{"href":62,"rel":63},"https://www.amazon.com/Best-Camera-One-Thats-You/dp/0321684788",[],"The best camera is the one you have with you","\"\ncomes to mind when building CI/CD for projects. Something that works is better than something that's pretty.",[15,67,68],{},"But, enough of my digression, let's get to the practice I wanted to share in this\npost: Building build images as part of the build process. Yes, it is precisely as meta as it sounds.",[29,70,72],{"id":71},"why","Why?",[15,74,75,76,81,82,87,88,93,94,98],{},"Often when building a particular project, you may have several unique build dependencies.\nIn many languages, package managers solve for the majority if not all of these\ndependencies – at least for build time (think ",[22,77,80],{"href":78,"rel":79},"https://www.npmjs.com",[],"npm",", ",[22,83,86],{"href":84,"rel":85},"https://rubygems.org/",[],"RubyGems",",\n",[22,89,92],{"href":90,"rel":91},"https://maven.apache.org/what-is-maven.html",[],"Maven","). However, when we are building and\ndeploying (CI/",[95,96,97],"strong",{},"CD"," let's remember) from a machine that is not our own, that may not\nbe enough. There may be a few dependencies we might need from elsewhere.",[15,100,101,102,107,108,113,114,117,118,81,123,87,128,133,134,107,139,144],{},"The language libraries themselves are one such dependency – to build Java I'm going to need\nthe JDK or JRE. To build Node, I'll need... well Node, etc. In a Docker-based environment,\nthose languages and dependencies typically have an official image on Docker\nHub (",[22,103,106],{"href":104,"rel":105},"https://hub.docker.com/_/oracle-serverjre-8",[],"JRE from Oracle"," or\n",[22,109,112],{"href":110,"rel":111},"https://hub.docker.com/_/node",[],"Node from Node.js"," for instance). Assume, however, that\nI may need a few other things not included in ",[95,115,116],{},"either"," those official Docker images or\nthe package manager I'm using. For instance, maybe I need a CLI tool for\ndeploy (",[22,119,122],{"href":120,"rel":121},"https://aws.amazon.com/cli/",[],"AWS",[22,124,127],{"href":125,"rel":126},"https://devcenter.heroku.com/articles/heroku-cli",[],"Heroku",[22,129,132],{"href":130,"rel":131},"https://firebase.google.com/docs/cli",[],"Firebase",", etc.). We also might need a testing\nframework or tool like ",[22,135,138],{"href":136,"rel":137},"https://www.seleniumhq.org",[],"Selenium",[22,140,143],{"href":141,"rel":142},"https://developers.google.com/web/updates/2017/04/headless-chrome",[],"headless Chrome",".\nOr I may need other tools for packaging, testing, or deployment.",[15,146,147,148,153],{},"Sometimes there is a Docker image on Docker Hub for these combinations – or some of\nthem – but not always a maintained version. One easy solution to this could be to\njust run the install of the tools before every job that needs it. This can\neven be \"automated\" using something like\nthe ",[22,149,152],{"href":150,"rel":151},"https://docs.gitlab.com/ci/yaml/#before_script-and-after_script",[],"before_script"," syntax.\nHowever, this adds time to our pipeline and seems inefficient: Is there a better way?",[29,155,157],{"id":156},"enter-the-gitlab-docker-registry","Enter the GitLab Docker registry",[15,159,160,161,165,166,171],{},"Since GitLab is a single application for the entire ",[22,162,164],{"href":163},"/topics/devops/","DevOps"," lifecycle – it actually\nships out of the box with a built-in\n",[22,167,170],{"href":168,"rel":169},"https://docs.gitlab.com/user/packages/container_registry/",[],"Docker registry",".\nThis can be a useful tool when deploying code in a containerized environment. We can\nbuild our application into a container and send it off into Kubernetes or some\nother Docker orchestrator.",[15,173,174],{},"However, I also see this registry as an opportunity to save time in my\npipeline (and save round trips to Docker hub and back every time). For builds that require\nsome of these extra dependencies, I like to build a \"build\" Docker image.\nThat way, I have an image with all of those baked right in. Then, as part of my\npipeline, I can build the image at the start (only when changes are made or every time).\nAnd the rest of the pipeline can consume that image as the base image.",[29,176,178],{"id":177},"putting-it-in-practice","Putting it in practice",[15,180,181,182,27],{},"For example, let's see what it looks like to build a simple Docker image to use with\ndeploying to ",[22,183,186],{"href":184,"rel":185},"https://firebase.google.com/",[],"Google Firebase",[15,188,189,190,194,195,199,200,204,205],{},"Firebase is a \"backend as a service\" tool that provides a database, authentication,\nand other services across platforms (web, iOS, and Android). It also includes web hosting\nand several other items that can be deployed through ",[22,191,193],{"href":130,"rel":192},[],"a CLI",".\nThis tool makes getting started really easy. You can deploy the whole stack with\n",[196,197,198],"code",{},"firebase deploy."," Alternatively, you can deploy a part (like ",[22,201,203],{"href":202},"/topics/serverless/","serverless"," functions)\nwith a command like ",[196,206,207],{},"firebase deploy --only functions.",[15,209,210],{},"Making this work in a CI/CD world requires a few extra steps though. We'll need a Node\nDocker image that has the firebase CLI in it, so let's make a simple Dockerfile to do that.",[12,212,213],{},[15,214,215,216],{},"Putting this Dockerfile in ",[196,217,218],{},".meta/Dockerfile",[220,221,226],"pre",{"className":222,"code":223,"language":224,"meta":225,"style":225},"language-dockerfile shiki shiki-themes github-light","FROM node:10\n\nRUN npm install -g firebase-tools\n","dockerfile","",[196,227,228,236,243],{"__ignoreMap":225},[229,230,233],"span",{"class":231,"line":232},"line",1,[229,234,235],{},"FROM node:10\n",[229,237,239],{"class":231,"line":238},2,[229,240,242],{"emptyLinePlaceholder":241},true,"\n",[229,244,246],{"class":231,"line":245},3,[229,247,248],{},"RUN npm install -g firebase-tools\n",[15,250,251],{},"Next, I'll add a job to the front of my pipeline.",[12,253,254],{},[15,255,256,257],{},"Added to the front of my ",[196,258,259],{},".gitlab-ci.yml",[220,261,265],{"className":262,"code":263,"language":264,"meta":225,"style":225},"language-yaml shiki shiki-themes github-light","meta-build-image:\n  image: docker:stable\n  services:\n    - docker:dind\n  stage: prepare\n  script:\n    - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY\n    - cd .meta\n    - docker build -t $CI_REGISTRY/group/project/buildimage:latest .\n    - docker push $CI_REGISTRY/group/project/buildimage:latest\n  only:\n    refs:\n      - main\n    changes:\n      - .meta/Dockerfile\n\n","yaml",[196,266,267,277,289,296,305,316,324,332,340,348,356,364,372,381,389],{"__ignoreMap":225},[229,268,269,273],{"class":231,"line":232},[229,270,272],{"class":271},"shJU0","meta-build-image",[229,274,276],{"class":275},"sgsFI",":\n",[229,278,279,282,285],{"class":231,"line":238},[229,280,281],{"class":271},"  image",[229,283,284],{"class":275},": ",[229,286,288],{"class":287},"sYBdl","docker:stable\n",[229,290,291,294],{"class":231,"line":245},[229,292,293],{"class":271},"  services",[229,295,276],{"class":275},[229,297,299,302],{"class":231,"line":298},4,[229,300,301],{"class":275},"    - ",[229,303,304],{"class":287},"docker:dind\n",[229,306,308,311,313],{"class":231,"line":307},5,[229,309,310],{"class":271},"  stage",[229,312,284],{"class":275},[229,314,315],{"class":287},"prepare\n",[229,317,319,322],{"class":231,"line":318},6,[229,320,321],{"class":271},"  script",[229,323,276],{"class":275},[229,325,327,329],{"class":231,"line":326},7,[229,328,301],{"class":275},[229,330,331],{"class":287},"docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY\n",[229,333,335,337],{"class":231,"line":334},8,[229,336,301],{"class":275},[229,338,339],{"class":287},"cd .meta\n",[229,341,343,345],{"class":231,"line":342},9,[229,344,301],{"class":275},[229,346,347],{"class":287},"docker build -t $CI_REGISTRY/group/project/buildimage:latest .\n",[229,349,351,353],{"class":231,"line":350},10,[229,352,301],{"class":275},[229,354,355],{"class":287},"docker push $CI_REGISTRY/group/project/buildimage:latest\n",[229,357,359,362],{"class":231,"line":358},11,[229,360,361],{"class":271},"  only",[229,363,276],{"class":275},[229,365,367,370],{"class":231,"line":366},12,[229,368,369],{"class":271},"    refs",[229,371,276],{"class":275},[229,373,375,378],{"class":231,"line":374},13,[229,376,377],{"class":275},"      - ",[229,379,380],{"class":287},"main\n",[229,382,384,387],{"class":231,"line":383},14,[229,385,386],{"class":271},"    changes",[229,388,276],{"class":275},[229,390,392,394],{"class":231,"line":391},15,[229,393,377],{"class":275},[229,395,396],{"class":287},".meta/Dockerfile\n",[15,398,399],{},"Let's break down that job:",[401,402,403,414,420,428],"ol",{},[404,405,406,407,410,411],"li",{},"We use the ",[196,408,409],{},"docker:stable"," image and a service of ",[196,412,413],{},"docker:dind",[404,415,416,417],{},"The stage is my first stage called ",[196,418,419],{},"prepare",[404,421,422,423,27],{},"In the script, we login to the GitLab registry with the built-in variables and build the\nimage. For more details see the ",[22,424,427],{"href":425,"rel":426},"https://docs.gitlab.com/ci/docker/using_docker_build/",[],"GitLab documentation for building Docker images",[404,429,430,431,434,435,437],{},"We only run this on ",[196,432,433],{},"main"," and only when the ",[196,436,218],{}," changes. This makes\nsure we are specific about when we change the Docker image. We could also use the\ncommit hash or other methods here to make the image more fungible.",[15,439,440],{},"Now, in further jobs down the pipeline, I can use the latest build of the Docker image like this:",[220,442,444],{"className":262,"code":443,"language":264,"meta":225,"style":225},"firestore:\n  image: registry.gitlab.com/group/project/buildimage\n  stage: deploy 🚢🇮🇹\n  script:\n    - firebase deploy --only firestore\n  only:\n    changes:\n      - .firebase-config/firestore.rules\n      - .firebase-config/firestore.indexes.json\n\n",[196,445,446,453,462,471,477,484,490,496,503],{"__ignoreMap":225},[229,447,448,451],{"class":231,"line":232},[229,449,450],{"class":271},"firestore",[229,452,276],{"class":275},[229,454,455,457,459],{"class":231,"line":238},[229,456,281],{"class":271},[229,458,284],{"class":275},[229,460,461],{"class":287},"registry.gitlab.com/group/project/buildimage\n",[229,463,464,466,468],{"class":231,"line":245},[229,465,310],{"class":271},[229,467,284],{"class":275},[229,469,470],{"class":287},"deploy 🚢🇮🇹\n",[229,472,473,475],{"class":231,"line":298},[229,474,321],{"class":271},[229,476,276],{"class":275},[229,478,479,481],{"class":231,"line":307},[229,480,301],{"class":275},[229,482,483],{"class":287},"firebase deploy --only firestore\n",[229,485,486,488],{"class":231,"line":318},[229,487,361],{"class":271},[229,489,276],{"class":275},[229,491,492,494],{"class":231,"line":326},[229,493,386],{"class":271},[229,495,276],{"class":275},[229,497,498,500],{"class":231,"line":334},[229,499,377],{"class":275},[229,501,502],{"class":287},".firebase-config/firestore.rules\n",[229,504,505,507],{"class":231,"line":342},[229,506,377],{"class":275},[229,508,509],{"class":287},".firebase-config/firestore.indexes.json\n",[15,511,512,513,518,519,522,523,528,529,27],{},"In this job, we only run the job if something about\nthe ",[22,514,517],{"href":515,"rel":516},"https://firebase.google.com/docs/firestore",[],"Firestore"," (the database from Firebase)\nconfiguration changes. And when it does, we run the ",[196,520,521],{},"firestore deploy"," command in CI. I\nalso added a token for deploy as a ",[22,524,527],{"href":525,"rel":526},"https://docs.gitlab.com/ci/variables/",[],"GitLab CI/CD variable","\nbased off the Firebase documentation\nfor ",[22,530,533],{"href":531,"rel":532},"https://firebase.google.com/docs/cli#admin-commands",[],"using firebase with CI",[29,535,537],{"id":536},"summary","Summary",[15,539,540],{},"In the end, this helps speed up pipelines by ensuring that you have a custom-built build\nimage that you control. You don't have to rely on unstable or unmaintained Docker Hub\nimages or even have a Docker Hub account yourself to get started.",[15,542,543,544,547,548,27],{},"To learn more about GitLab CI/CD you can ",[22,545,546],{"href":54},"read the GitLab website","\nor the CI/CD docs. Also, there's a lot more to\nlearn about the ",[22,549,551],{"href":168,"rel":550},[],"GitLab Docker registry",[15,553,554,555,560,561,27],{},"Cover image by ",[22,556,559],{"href":557,"rel":558},"https://unsplash.com/@markusspiske?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText",[],"Hack Capital"," on ",[22,562,565],{"href":563,"rel":564},"https://unsplash.com/search/photos/build?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText",[],"Unsplash",[567,568,569],"style",{},"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);}html pre.shiki code .shJU0, html code.shiki .shJU0{--shiki-default:#22863A}html pre.shiki code .sgsFI, html code.shiki .sgsFI{--shiki-default:#24292E}html pre.shiki code .sYBdl, html code.shiki .sYBdl{--shiki-default:#032F62}",{"title":225,"searchDepth":238,"depth":238,"links":571},[572,573,574,575,576],{"id":31,"depth":238,"text":32},{"id":71,"depth":238,"text":72},{"id":156,"depth":238,"text":157},{"id":177,"depth":238,"text":178},{"id":536,"depth":238,"text":537},"engineering","2019-08-28","Let's talk about building build images with GitLab CI/CD. The power of Docker as a build platform is unleashed when you get meta.","md",null,false,"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749678567/Blog/Hero%20Images/building-blocks.jpg",{},"/en-us/blog/building-build-images",{"title":5,"description":579,"ogTitle":5,"ogDescription":579,"noIndex":582,"ogImage":583,"ogUrl":587,"ogSiteName":588,"ogType":589,"canonicalUrls":587},"https://about.gitlab.com/blog/building-build-images","https://about.gitlab.com","article","building-build-images","en-us/blog/building-build-images",[593,594,595],"CI/CD","kubernetes","tutorial","BlogPost","lXGdzLEqaNGvbIC3qUzfSeL_oALa_9r5OIGmdzZ0SQI",{"logo":599,"freeTrial":604,"sales":609,"login":614,"items":619,"search":952,"minimal":984,"duo":1003,"switchNav":1012,"pricingDeployment":1023},{"config":600},{"href":601,"dataGaName":602,"dataGaLocation":603},"/","gitlab logo","header",{"text":605,"config":606},"Get free trial",{"href":607,"dataGaName":608,"dataGaLocation":603},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com&glm_content=default-saas-trial/","free trial",{"text":610,"config":611},"Request a demo",{"href":612,"dataGaName":613,"dataGaLocation":603},"/request-a-demo/","sales",{"text":615,"config":616},"Sign in",{"href":617,"dataGaName":618,"dataGaLocation":603},"https://gitlab.com/users/sign_in/","sign in",[620,703,791,796,876,930],{"text":621,"left":241,"config":622,"menu":624},"Platform",{"dataNavLevelOne":623},"platform",{"type":625,"link":626,"columns":630,"feature":692},"lists",{"text":627,"config":628},"Explore the Platform",{"href":629,"dataGaName":623,"dataGaLocation":603},"/platform/",[631,651,674],{"title":164,"items":632},[633,636,641,646],{"text":593,"config":634},{"href":54,"dataGaLocation":603,"dataGaName":635},"ci/cd",{"text":637,"config":638},"Source Code Management",{"href":639,"dataGaLocation":603,"dataGaName":640},"/solutions/source-code-management/","source code management",{"text":642,"config":643},"Agile Delivery",{"href":644,"dataGaLocation":603,"dataGaName":645},"/solutions/agile-delivery/","agile delivery",{"text":647,"config":648},"Artifact Management",{"href":649,"dataGaLocation":603,"dataGaName":650},"/artifact-central/","artifact management",{"title":652,"items":653},"Security & Governance",[654,659,664,669],{"text":655,"config":656},"Application Security Testing",{"href":657,"dataGaLocation":603,"dataGaName":658},"/solutions/application-security-testing/","application security testing",{"text":660,"config":661},"Governance & Compliance",{"href":662,"dataGaLocation":603,"dataGaName":663},"/solutions/software-compliance/","governance and compliance",{"text":665,"config":666},"Secrets Management",{"href":667,"dataGaLocation":603,"dataGaName":668},"/gitlab-secrets-manager/","secrets management",{"text":670,"config":671},"Supply Chain Security",{"href":672,"dataGaLocation":603,"dataGaName":673},"/solutions/supply-chain/","supply chain security",{"title":675,"items":676},"Agentic AI & Context",[677,682,687],{"text":678,"config":679},"Duo Agent Platform",{"href":680,"dataGaLocation":603,"dataGaName":681},"/gitlab-duo-agent-platform/","duo agent platform",{"text":683,"config":684},"Orbit Context Graph",{"href":685,"dataGaLocation":603,"dataGaName":686},"/gitlab-orbit/","orbit",{"text":688,"config":689},"Visibility & Measurement",{"href":690,"dataGaLocation":603,"dataGaName":691},"/solutions/visibility-measurement/","visibility and measurement",{"config":693,"title":696,"text":697,"link":698},{"background":694,"textColor":695},"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":699,"config":700},"Read the announcement",{"href":701,"dataGaName":702,"dataGaLocation":603},"/blog/gitlab-orbit-ga/","orbit ga announcement",{"text":704,"left":241,"config":705,"menu":707},"Solutions",{"dataNavLevelOne":706},"solutions",{"type":625,"link":708,"columns":712,"feature":782},{"text":709,"config":710},"View all Solutions",{"href":711,"dataGaName":706,"dataGaLocation":603},"/solutions/",[713,731,749],{"title":714,"items":715},"Outcomes",[716,721,726],{"text":717,"config":718},"DevOps Modernization",{"href":719,"dataGaLocation":603,"dataGaName":720},"/assessments/devops-modernization-assessment/","devops modernization",{"text":722,"config":723},"Security Modernization",{"href":724,"dataGaLocation":603,"dataGaName":725},"/assessments/security-modernization-assessment/","security modernization",{"text":727,"config":728},"AI Modernization",{"href":729,"dataGaLocation":603,"dataGaName":730},"/assessments/ai-modernization-assessment/","ai modernization",{"title":732,"items":733},"By size",[734,739,744],{"text":735,"config":736},"Enterprise",{"href":737,"dataGaLocation":603,"dataGaName":738},"/enterprise/","enterprise",{"text":740,"config":741},"Small Business",{"href":742,"dataGaLocation":603,"dataGaName":743},"/small-business/","small business",{"text":745,"config":746},"Startups",{"href":747,"dataGaLocation":603,"dataGaName":748},"/solutions/startups/","startups",{"title":750,"items":751},"Industries",[752,757,762,767,772,777],{"text":753,"config":754},"Financial Services",{"href":755,"dataGaLocation":603,"dataGaName":756},"/solutions/finance/","financial services",{"text":758,"config":759},"Public Sector",{"href":760,"dataGaLocation":603,"dataGaName":761},"/solutions/public-sector/","public sector",{"text":763,"config":764},"Telecommunications",{"href":765,"dataGaLocation":603,"dataGaName":766},"/solutions/telecommunications/","telecommunications",{"text":768,"config":769},"Automotive",{"href":770,"dataGaLocation":603,"dataGaName":771},"/solutions/automotive/","automotive",{"text":773,"config":774},"Education",{"href":775,"dataGaLocation":603,"dataGaName":776},"/solutions/education/","education",{"text":778,"config":779},"Aerospace",{"href":780,"dataGaLocation":603,"dataGaName":781},"/solutions/aerospace/","aerospace",{"config":783,"title":784,"text":785,"link":786},{"background":694,"textColor":695},"GitLab Security Standard","Learn how to harden your software factory and let AI agents earn autonomy, without trading away security.",{"text":787,"config":788},"Explore the standard",{"href":789,"dataGaName":790,"dataGaLocation":603},"/gitlab-security-standard/","gitlab security standard",{"text":792,"config":793},"Pricing",{"href":794,"dataGaName":795,"dataGaLocation":603,"dataNavLevelOne":795},"/pricing/","pricing",{"text":797,"config":798,"menu":800},"Resources",{"dataNavLevelOne":799},"resources",{"type":625,"link":801,"columns":805,"feature":867},{"text":802,"config":803},"View all resources",{"href":804,"dataGaName":799,"dataGaLocation":603},"/resources/",[806,839],{"title":807,"items":808},"Discover",[809,814,819,824,829,834],{"text":810,"config":811},"Docs",{"href":812,"dataGaName":813,"dataGaLocation":603},"https://docs.gitlab.com/","docs",{"text":815,"config":816},"University",{"href":817,"dataGaName":818,"dataGaLocation":603},"https://university.gitlab.com/","university",{"text":820,"config":821},"Demo Series",{"href":822,"dataGaName":823,"dataGaLocation":603},"/gitlab-technical-demo-series/","demo series",{"text":825,"config":826},"Demo Hub",{"href":827,"dataGaName":828,"dataGaLocation":603},"/demo-hub/","demo hub",{"text":830,"config":831},"Services",{"href":832,"dataGaName":833,"dataGaLocation":603},"/services/","services",{"text":835,"config":836},"Well Architected",{"href":837,"dataGaName":838,"dataGaLocation":603},"/resources/well-architected/","well architected",{"title":840,"items":841},"Connect",[842,847,852,857,862],{"text":843,"config":844},"Blog",{"href":845,"dataGaName":846,"dataGaLocation":603},"/blog/","blog",{"text":848,"config":849},"Community",{"href":850,"dataGaName":851,"dataGaLocation":603},"/community/","community",{"text":853,"config":854},"Customers",{"href":855,"dataGaName":856,"dataGaLocation":603},"/customers/","customers",{"text":858,"config":859},"Partners",{"href":860,"dataGaName":861,"dataGaLocation":603},"/partners/","partners",{"text":863,"config":864},"Events",{"href":865,"dataGaName":866,"dataGaLocation":603},"/events/","events",{"config":868,"title":869,"text":870,"link":871},{"background":694,"textColor":695},"What’s new in GitLab","Stay updated with our latest features and improvements.",{"text":872,"config":873},"Read the latest",{"href":874,"dataGaName":875,"dataGaLocation":603},"/whats-new/","whats new",{"text":877,"config":878,"menu":880},"Company",{"dataNavLevelOne":879},"company",{"type":625,"columns":881},[882],{"items":883},[884,889,895,900,905,910,915,920,925],{"text":885,"config":886},"About",{"href":887,"dataGaName":888,"dataGaLocation":603},"/company/","about",{"text":890,"config":891,"footerGa":894},"Jobs",{"href":892,"dataGaName":893,"dataGaLocation":603},"/jobs/","jobs",{"dataGaName":893},{"text":896,"config":897},"Press",{"href":898,"dataGaName":899,"dataGaLocation":603},"/press/","press",{"text":901,"config":902},"Handbook",{"href":903,"dataGaName":904,"dataGaLocation":603},"https://handbook.gitlab.com/","handbook",{"text":906,"config":907},"Leadership",{"href":908,"dataGaName":909,"dataGaLocation":603},"/company/team/e-group/","leadership",{"text":911,"config":912},"Investor relations",{"href":913,"dataGaName":914,"dataGaLocation":603},"https://ir.gitlab.com/overview/default.aspx","investor relations",{"text":916,"config":917},"Trust Center",{"href":918,"dataGaName":919,"dataGaLocation":603},"/security/","trust center",{"text":921,"config":922},"AI Transparency Center",{"href":923,"dataGaName":924,"dataGaLocation":603},"/ai-transparency-center/","ai transparency center",{"text":926,"config":927},"Newsletter",{"href":928,"dataGaName":929,"dataGaLocation":603},"/company/contact/#contact-forms","newsletter",{"text":931,"config":932,"menu":933},"Contact us",{"dataNavLevelOne":879},{"type":625,"columns":934},[935],{"items":936},[937,942,947],{"text":938,"config":939},"Talk to sales",{"href":940,"dataGaName":941,"dataGaLocation":603},"/sales/","talk to sales",{"text":943,"config":944},"Support portal",{"href":945,"dataGaName":946,"dataGaLocation":603},"https://support.gitlab.com/hc/en-us","support portal",{"text":948,"config":949},"Customer portal",{"href":950,"dataGaName":951,"dataGaLocation":603},"https://customers.gitlab.com/customers/sign_in/","customer portal",{"close":953,"login":954,"suggestions":961},"Close",{"text":955,"link":956},"To search repositories and projects, login to",{"text":957,"config":958},"gitlab.com",{"href":617,"dataGaName":959,"dataGaLocation":960},"search login","search",{"text":962,"default":963},"Suggestions",[964,967,970,972,976,980],{"text":965,"config":966},"GitLab Duo Agent Platform",{"href":680,"dataGaName":965,"dataGaLocation":960},{"text":968,"config":969},"Code Suggestions (AI)",{"href":680,"dataGaName":968,"dataGaLocation":960},{"text":593,"config":971},{"href":54,"dataGaName":593,"dataGaLocation":960},{"text":973,"config":974},"GitLab on AWS",{"href":975,"dataGaName":973,"dataGaLocation":960},"/partners/technology-partners/aws/",{"text":977,"config":978},"GitLab on Google Cloud",{"href":979,"dataGaName":977,"dataGaLocation":960},"/partners/technology-partners/google-cloud-platform/",{"text":981,"config":982},"Why GitLab?",{"href":983,"dataGaName":981,"dataGaLocation":960},"/why-gitlab/",{"freeTrial":985,"mobileIcon":990,"desktopIcon":995,"secondaryButton":998},{"text":986,"config":987},"Start free trial",{"href":988,"dataGaName":608,"dataGaLocation":989},"https://gitlab.com/-/trials/new/","nav",{"altText":991,"config":992},"Gitlab Icon",{"src":993,"dataGaName":994,"dataGaLocation":989},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203874/jypbw1jx72aexsoohd7x.svg","gitlab icon",{"altText":991,"config":996},{"src":997,"dataGaName":994,"dataGaLocation":989},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203875/gs4c8p8opsgvflgkswz9.svg",{"text":999,"config":1000},"Get Started",{"href":1001,"dataGaName":1002,"dataGaLocation":989},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/get-started/","get started",{"freeTrial":1004,"mobileIcon":1008,"desktopIcon":1010},{"text":1005,"config":1006},"Learn more about GitLab Duo",{"href":680,"dataGaName":1007,"dataGaLocation":989},"gitlab duo",{"altText":991,"config":1009},{"src":993,"dataGaName":994,"dataGaLocation":989},{"altText":991,"config":1011},{"src":997,"dataGaName":994,"dataGaLocation":989},{"button":1013,"mobileIcon":1018,"desktopIcon":1020},{"text":1014,"config":1015},"/switch",{"href":1016,"dataGaName":1017,"dataGaLocation":989},"#contact","switch",{"altText":991,"config":1019},{"src":993,"dataGaName":994,"dataGaLocation":989},{"altText":991,"config":1021},{"src":1022,"dataGaName":994,"dataGaLocation":989},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1773335277/ohhpiuoxoldryzrnhfrh.png",{"freeTrial":1024,"mobileIcon":1029,"desktopIcon":1031},{"text":1025,"config":1026},"Back to pricing",{"href":794,"dataGaName":1027,"dataGaLocation":989,"icon":1028},"back to pricing","GoBack",{"altText":991,"config":1030},{"src":993,"dataGaName":994,"dataGaLocation":989},{"altText":991,"config":1032},{"src":997,"dataGaName":994,"dataGaLocation":989},{"title":1034,"button":1035,"config":1039},"GitLab Orbit is generally available. Increase agent accuracy and lower token cost",{"text":699,"config":1036},{"href":701,"dataGaName":1037,"dataGaLocation":1038},"orbit-ga-banner","global-banner",{"layout":1040,"disabled":582},"release",{"data":1042},{"text":1043,"config":1044,"items":1049,"minimal":1276},"Git is a trademark of Software Freedom Conservancy and our use of 'GitLab' is under license",{"twitter":1045,"facebook":1046,"youtube":1047,"linkedin":1048},"https://twitter.com/gitlab","https://www.facebook.com/gitlab","https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg","https://www.linkedin.com/company/gitlab-com",[1050,1098,1156,1203,1244],{"title":792,"links":1051,"subMenu":1067},[1052,1057,1062],{"text":1053,"config":1054},"View plans",{"href":794,"dataGaName":1055,"dataGaLocation":1056},"view plans","footer",{"text":1058,"config":1059},"Why Premium?",{"href":1060,"dataGaName":1061,"dataGaLocation":1056},"/pricing/premium/","why premium",{"text":1063,"config":1064},"Why Ultimate?",{"href":1065,"dataGaName":1066,"dataGaLocation":1056},"/pricing/ultimate/","why ultimate",[1068],{"title":1069,"links":1070},"Contact Us",[1071,1074,1076,1078,1083,1088,1093],{"text":1072,"config":1073},"Contact sales",{"href":940,"dataGaName":613,"dataGaLocation":1056},{"text":943,"config":1075},{"href":945,"dataGaName":946,"dataGaLocation":1056},{"text":948,"config":1077},{"href":950,"dataGaName":951,"dataGaLocation":1056},{"text":1079,"config":1080},"Status",{"href":1081,"dataGaName":1082,"dataGaLocation":1056},"https://status.gitlab.com/","status",{"text":1084,"config":1085},"Terms of use",{"href":1086,"dataGaName":1087,"dataGaLocation":1056},"/terms/","terms of use",{"text":1089,"config":1090},"Privacy statement",{"href":1091,"dataGaName":1092,"dataGaLocation":1056},"/privacy/","privacy statement",{"text":1094,"config":1095},"Cookie preferences",{"dataGaName":1096,"dataGaLocation":1056,"id":1097,"isOneTrustButton":241},"cookie preferences","ot-sdk-btn",{"title":621,"links":1099,"subMenu":1115},[1100,1103,1105,1107,1109,1111],{"text":1101,"config":1102},"Explore the platform",{"href":629,"dataGaName":623,"dataGaLocation":1056},{"text":678,"config":1104},{"href":680,"dataGaName":681,"dataGaLocation":1056},{"text":593,"config":1106},{"href":54,"dataGaName":635,"dataGaLocation":1056},{"text":683,"config":1108},{"href":685,"dataGaName":686,"dataGaLocation":1056},{"text":665,"config":1110},{"href":667,"dataGaName":668,"dataGaLocation":1056},{"text":1112,"config":1113},"Why GitLab",{"href":983,"dataGaName":1114,"dataGaLocation":1056},"why gitlab",[1116],{"title":1117,"links":1118},"Topics",[1119,1123,1128,1131,1136,1141,1146,1151],{"text":593,"config":1120},{"href":1121,"dataGaName":1122,"dataGaLocation":1056},"/topics/ci-cd/","cicd",{"text":1124,"config":1125},"GitOps",{"href":1126,"dataGaName":1127,"dataGaLocation":1056},"/topics/gitops/","gitops",{"text":164,"config":1129},{"href":163,"dataGaName":1130,"dataGaLocation":1056},"devops",{"text":1132,"config":1133},"Version Control",{"href":1134,"dataGaName":1135,"dataGaLocation":1056},"/topics/version-control/","version control",{"text":1137,"config":1138},"DevSecOps",{"href":1139,"dataGaName":1140,"dataGaLocation":1056},"/topics/devsecops/","devsecops",{"text":1142,"config":1143},"Cloud Native",{"href":1144,"dataGaName":1145,"dataGaLocation":1056},"/topics/cloud-native/","cloud native",{"text":1147,"config":1148},"AI for Coding",{"href":1149,"dataGaName":1150,"dataGaLocation":1056},"/topics/devops/ai-for-coding/","ai for coding",{"text":1152,"config":1153},"Agentic AI",{"href":1154,"dataGaName":1155,"dataGaLocation":1056},"/topics/agentic-ai/","agentic ai",{"title":704,"links":1157},[1158,1161,1164,1167,1170,1173,1175,1177,1179,1181,1183,1186,1188,1191,1195,1199],{"text":1159,"config":1160},"DevOps modernization",{"href":719,"dataGaName":720,"dataGaLocation":1056},{"text":1162,"config":1163},"Security modernization",{"href":724,"dataGaName":725,"dataGaLocation":1056},{"text":1165,"config":1166},"AI modernization",{"href":729,"dataGaName":730,"dataGaLocation":1056},{"text":1168,"config":1169},"Financial services",{"href":755,"dataGaName":756,"dataGaLocation":1056},{"text":1171,"config":1172},"Public sector",{"href":760,"dataGaName":761,"dataGaLocation":1056},{"text":763,"config":1174},{"href":765,"dataGaName":766,"dataGaLocation":1056},{"text":768,"config":1176},{"href":770,"dataGaName":771,"dataGaLocation":1056},{"text":773,"config":1178},{"href":775,"dataGaName":776,"dataGaLocation":1056},{"text":778,"config":1180},{"href":780,"dataGaName":781,"dataGaLocation":1056},{"text":735,"config":1182},{"href":737,"dataGaName":738,"dataGaLocation":1056},{"text":1184,"config":1185},"Small business",{"href":742,"dataGaName":743,"dataGaLocation":1056},{"text":745,"config":1187},{"href":747,"dataGaName":748,"dataGaLocation":1056},{"text":1124,"config":1189},{"href":1190,"dataGaName":1127,"dataGaLocation":1056},"/solutions/gitops/",{"text":1192,"config":1193},"Software composition analysis",{"href":672,"dataGaName":1194,"dataGaLocation":1056},"software composition analysis",{"text":1196,"config":1197},"Value stream management",{"href":690,"dataGaName":1198,"dataGaLocation":1056},"value stream management",{"text":1200,"config":1201},"All solutions",{"href":711,"dataGaName":1202,"dataGaLocation":1056},"all solutions",{"title":797,"links":1204},[1205,1210,1215,1217,1219,1221,1223,1225,1227,1229,1231,1233,1235,1237,1240],{"text":1206,"config":1207},"Install",{"href":1208,"dataGaName":1209,"dataGaLocation":1056},"/install/","install",{"text":1211,"config":1212},"Quick start guides",{"href":1213,"dataGaName":1214,"dataGaLocation":1056},"/get-started/","quick setup checklists",{"text":810,"config":1216},{"href":812,"dataGaName":813,"dataGaLocation":1056},{"text":815,"config":1218},{"href":817,"dataGaName":818,"dataGaLocation":1056},{"text":820,"config":1220},{"href":822,"dataGaName":823,"dataGaLocation":1056},{"text":825,"config":1222},{"href":827,"dataGaName":828,"dataGaLocation":1056},{"text":830,"config":1224},{"href":832,"dataGaName":833,"dataGaLocation":1056},{"text":843,"config":1226},{"href":845,"dataGaName":846,"dataGaLocation":1056},{"text":848,"config":1228},{"href":850,"dataGaName":851,"dataGaLocation":1056},{"text":853,"config":1230},{"href":855,"dataGaName":856,"dataGaLocation":1056},{"text":858,"config":1232},{"href":860,"dataGaName":861,"dataGaLocation":1056},{"text":863,"config":1234},{"href":865,"dataGaName":866,"dataGaLocation":1056},{"text":926,"config":1236},{"href":928,"dataGaName":929,"dataGaLocation":1056},{"text":1238,"config":1239},"What's new",{"href":874,"dataGaName":875,"dataGaLocation":1056},{"text":1241,"config":1242},"All resources",{"href":804,"dataGaName":1243,"dataGaLocation":1056},"all resources",{"title":877,"links":1245},[1246,1248,1250,1252,1254,1256,1258,1260,1262,1266,1271],{"text":885,"config":1247},{"href":887,"dataGaName":879,"dataGaLocation":1056},{"text":890,"config":1249},{"href":892,"dataGaName":893,"dataGaLocation":1056},{"text":896,"config":1251},{"href":898,"dataGaName":899,"dataGaLocation":1056},{"text":901,"config":1253},{"href":903,"dataGaName":904,"dataGaLocation":1056},{"text":906,"config":1255},{"href":908,"dataGaName":909,"dataGaLocation":1056},{"text":911,"config":1257},{"href":913,"dataGaName":914,"dataGaLocation":1056},{"text":916,"config":1259},{"href":918,"dataGaName":919,"dataGaLocation":1056},{"text":921,"config":1261},{"href":923,"dataGaName":924,"dataGaLocation":1056},{"text":1263,"config":1264},"Sustainability",{"href":1265,"dataGaName":1263,"dataGaLocation":1056},"/sustainability/",{"text":1267,"config":1268},"Diversity, inclusion and belonging (DIB)",{"href":1269,"dataGaName":1270,"dataGaLocation":1056},"/diversity-inclusion-belonging/","Diversity, inclusion and belonging",{"text":1272,"config":1273},"Modern Slavery Transparency Statement",{"href":1274,"dataGaName":1275,"dataGaLocation":1056},"https://handbook.gitlab.com/handbook/legal/modern-slavery-act-transparency-statement/","modern slavery transparency statement",{"items":1277},[1278,1281,1284],{"text":1279,"config":1280},"Terms",{"href":1086,"dataGaName":1087,"dataGaLocation":1056},{"text":1282,"config":1283},"Cookies",{"dataGaName":1096,"dataGaLocation":1056,"id":1097,"isOneTrustButton":241},{"text":1285,"config":1286},"Privacy",{"href":1091,"dataGaName":1092,"dataGaLocation":1056},[1288],{"id":1289,"title":1290,"body":581,"config":1291,"content":1293,"description":581,"extension":1296,"meta":1297,"navigation":241,"path":1298,"seo":1299,"stem":1300,"__hash__":1301},"blogAuthors/en-us/blog/authors/brendan-oleary.yml","Brendan Oleary",{"template":1292},"BlogAuthor",{"name":7,"config":1294},{"headshot":225,"ctfId":1295},"brendan","yml",{},"/en-us/blog/authors/brendan-oleary",{},"en-us/blog/authors/brendan-oleary","IkXVLft77WlFK-Vgo210ZM3Io_PCcrXnYzkBCzx153k",[1303,1311,1319],{"title":1304,"description":1305,"heroImage":1306,"category":577,"date":1307,"authors":1308,"slug":1310,"externalUrl":581},"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",[1309],"Donovan Felton","module-level-access-in-a-django-grc-app",{"title":1312,"description":1313,"heroImage":1314,"category":577,"date":1315,"authors":1316,"slug":1318,"externalUrl":581},"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",[1317],"Mikolaj Wawrzyniak","how-gitlab-reduced-code-per-agentic-flow-ratio",{"title":1320,"description":1321,"heroImage":1322,"category":577,"date":1323,"authors":1324,"slug":1326,"externalUrl":581},"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",[1325],"Isa Huerga","co-create-h1-2026",{"header":1328,"text":1329,"button":1333,"disclaimer":1336},"Start your free\n\n30-day GitLab trial\n",[1330,1331,1332],"GitLab Duo Agent Platform access","Try our most advanced features","Automate complex tasks with AI",{"text":605,"config":1334},{"href":1335,"dataGaName":608,"dataGaLocation":846},"https://gitlab.com/-/trials/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/blog/","No credit card required.",{"header":1338,"blurb":1339,"button":1340,"secondaryButton":1345},"Start building faster today","See what your team can do with the intelligent orchestration platform for DevSecOps.\n",{"text":1341,"config":1342},"Get your free trial",{"href":1343,"dataGaName":608,"dataGaLocation":1344},"https://gitlab.com/-/trial_registrations/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/","feature",{"text":1072,"config":1346},{"href":940,"dataGaName":613,"dataGaLocation":1344},1794911781887]