[{"data":1,"prerenderedAt":1422},["ShallowReactive",2],{"/blog/how-gitlab-pages-uses-the-gitlab-api":3,"navigation-en-us":668,"banner-en-us":1106,"footer-en-us":1114,"blog-post-authors-en-us-Jaime Martínez":1361,"blog-related-posts-en-us-how-gitlab-pages-uses-the-gitlab-api":1377,"blog-share-wrapper-en-us":1402,"next-steps-en-us":1412},{"id":4,"title":5,"authors":6,"body":8,"category":647,"date":648,"description":649,"extension":650,"externalUrl":651,"faq":651,"featured":652,"heroImage":653,"hidePromo":652,"meta":654,"navigation":655,"path":656,"seo":657,"slug":661,"stem":662,"tags":663,"template":666,"updatedDate":651,"__hash__":667},"blogPosts/en-us/blog/how-gitlab-pages-uses-the-gitlab-api.md","How GitLab Pages uses the GitLab API to serve content",[7],"Jaime Martínez",{"type":9,"value":10,"toc":641},"minimark",[11,15,30,43,48,56,72,90,120,137,159,310,333,337,346,357,363,504,516,530,543,547,554,563,573,577,596,614,623,637],[12,13,14],"p",{},"This blog post was originally published on the GitLab Unfiltered blog. It was reviewed and republished on 2020-11-13.",[12,16,17,23,24,29],{},[18,19,22],"a",{"href":20,"rel":21},"https://docs.gitlab.com/user/project/pages/",[],"GitLab Pages"," allows you to create and host GitLab project websites from a user account or group for free on ",[18,25,28],{"href":26,"rel":27},"https://about.gitlab.com/",[],"GitLab.com"," or on your self-managed GitLab instance.",[12,31,32,33,38,39,42],{},"In this post, I will explain how the ",[18,34,37],{"href":35,"rel":36},"https://gitlab.com/gitlab-org/gitlab-pages",[],"GitLab Pages daemon"," obtains a domain's configuration using the\nGitLab API, specifically on ",[18,40,28],{"href":26,"rel":41},[],".",[44,45,47],"h2",{"id":46},"how-does-gitlab-pages-know-where-to-find-your-website-files","How does GitLab Pages know where to find your website files?",[12,49,50,51,42],{},"GitLab Pages will use object storage to store the contents of your web site. You can follow the development of this new feature ",[18,52,55],{"href":53,"rel":54},"https://gitlab.com/groups/gitlab-org/-/epics/3901",[],"here",[12,57,58,59,67,68,71],{},"Currently, GitLab Pages uses an NFS shared mount drive to store the contents of your website.\nYou can define the value of this path by defining the ",[18,60,63],{"href":61,"rel":62},"https://docs.gitlab.com/administration/pages/#change-storage-path",[],[64,65,66],"code",{},"pages_path"," in your ",[64,69,70],{},"/etc/gitlab/gitlab.rb"," file.",[12,73,74,75,78,79,82,83,86,87,89],{},"When you deploy a website using the ",[64,76,77],{},"pages:"," keyword in your ",[64,80,81],{},".gitlab-ci.yml"," file, a ",[64,84,85],{},"public"," path artifact must be defined, containing the files available for your website. This ",[64,88,85],{}," artifact eventually makes its way into the NFS shared mount.",[12,91,92,93,98,99,102,103,106,107,110,111,116,117,42],{},"When you deploy a website to GitLab Pages a domain will be created based on the ",[18,94,97],{"href":95,"rel":96},"https://docs.gitlab.com/administration/pages/#configuration",[],"custom Pages domain you have configured",". For ",[18,100,28],{"href":26,"rel":101},[],", the pages domain is ",[64,104,105],{},"*.gitlab.io",", if you create a project named ",[64,108,109],{},"myproject.gitlab.io"," and enable HTTPS, a wildcard SSL certificate will be used.\nYou can also ",[18,112,115],{"href":113,"rel":114},"https://docs.gitlab.com/user/project/pages/custom_domains_ssl_tls_certification/",[],"setup a custom domain"," for your project, for example ",[64,118,119],{},"myawesomedomain.com",[12,121,122,123,125,126,129,130,133,134,136],{},"For every project (aka domain) that is served by the Pages daemon, there must be a directory in the NFS shared mount that matches your domain name and holds its contents. For example, if we had a project named ",[64,124,109],{},", the Pages daemon would look for your ",[64,127,128],{},".html"," files under ",[64,131,132],{},"/path/to/shared/pages/myproject/myproject.gitlab.io/public"," directory.\nThis is how GitLab Pages serves the content published by the ",[64,135,77],{}," keyword in your CI configuration.",[12,138,139,140,145,146,149,150,153,154,158],{},"Before ",[18,141,144],{"href":142,"rel":143},"https://docs.gitlab.com/releases/",[],"GitLab 12.10"," was released, the Pages daemon would rely on a file named ",[64,147,148],{},"config.json"," located in your project's directory in the NFS shared mount, that is ",[64,151,152],{},"/path/to/shared/pages/myproject/myproject.gitlab.io/config.json",".\nThis file contains metadata related to your project and ",[18,155,157],{"href":20,"rel":156},[],"custom domain names"," you may have setup.",[160,161,166],"pre",{"className":162,"code":163,"language":164,"meta":165,"style":165},"language-json shiki shiki-themes github-light","{\n  \"domains\":[\n    {\n      \"Domain\":\"myproject.gitlab.io\"\n    },\n    {\n      \"Domain\": \"mycustomdomain.com\",\n      \"Certificate\": \"--certificate contents--\",\n      \"Key\": \"--key contents--\"\n    }\n  ],\n  \"id\":123,\n  \"access_control\":true,\n  \"https_only\":true\n}\n","json","",[64,167,168,177,187,193,206,212,217,231,244,255,261,267,280,293,304],{"__ignoreMap":165},[169,170,173],"span",{"class":171,"line":172},"line",1,[169,174,176],{"class":175},"sgsFI","{\n",[169,178,180,184],{"class":171,"line":179},2,[169,181,183],{"class":182},"sYu0t","  \"domains\"",[169,185,186],{"class":175},":[\n",[169,188,190],{"class":171,"line":189},3,[169,191,192],{"class":175},"    {\n",[169,194,196,199,202],{"class":171,"line":195},4,[169,197,198],{"class":182},"      \"Domain\"",[169,200,201],{"class":175},":",[169,203,205],{"class":204},"sYBdl","\"myproject.gitlab.io\"\n",[169,207,209],{"class":171,"line":208},5,[169,210,211],{"class":175},"    },\n",[169,213,215],{"class":171,"line":214},6,[169,216,192],{"class":175},[169,218,220,222,225,228],{"class":171,"line":219},7,[169,221,198],{"class":182},[169,223,224],{"class":175},": ",[169,226,227],{"class":204},"\"mycustomdomain.com\"",[169,229,230],{"class":175},",\n",[169,232,234,237,239,242],{"class":171,"line":233},8,[169,235,236],{"class":182},"      \"Certificate\"",[169,238,224],{"class":175},[169,240,241],{"class":204},"\"--certificate contents--\"",[169,243,230],{"class":175},[169,245,247,250,252],{"class":171,"line":246},9,[169,248,249],{"class":182},"      \"Key\"",[169,251,224],{"class":175},[169,253,254],{"class":204},"\"--key contents--\"\n",[169,256,258],{"class":171,"line":257},10,[169,259,260],{"class":175},"    }\n",[169,262,264],{"class":171,"line":263},11,[169,265,266],{"class":175},"  ],\n",[169,268,270,273,275,278],{"class":171,"line":269},12,[169,271,272],{"class":182},"  \"id\"",[169,274,201],{"class":175},[169,276,277],{"class":182},"123",[169,279,230],{"class":175},[169,281,283,286,288,291],{"class":171,"line":282},13,[169,284,285],{"class":182},"  \"access_control\"",[169,287,201],{"class":175},[169,289,290],{"class":182},"true",[169,292,230],{"class":175},[169,294,296,299,301],{"class":171,"line":295},14,[169,297,298],{"class":182},"  \"https_only\"",[169,300,201],{"class":175},[169,302,303],{"class":182},"true\n",[169,305,307],{"class":171,"line":306},15,[169,308,309],{"class":175},"}\n",[12,311,312,313,318,319,324,325,332],{},"GitLab Pages has been a very popular addition to GitLab, and the number of hosted websites on GitLab.com has increased over time. We are currently hosting over 251,000 websites!\nOn start-up, the Pages daemon would ",[18,314,317],{"href":315,"rel":316},"https://gitlab.com/gitlab-org/gitlab-pages/-/blob/v1.21.0/app.go#L448",[],"traverse all directories"," in the NFS shared mount and load the configuration of all the deployed Pages projects into memory.\nBefore 09-19-2019, the Pages daemon would take ",[18,320,323],{"href":321,"rel":322},"https://gitlab.com/gitlab-org/gitlab-pages/-/issues/252",[],"approximately 25 minutes to be ready to serve requests"," per instance on GitLab.com.\nAfter upgrading GitLab Pages to version ",[18,326,329],{"href":327,"rel":328},"https://gitlab.com/gitlab-org/gitlab-pages/-/merge_requests/185",[],[64,330,331],{},"v1.9.0",", there were some improvements in some dependencies that reduced booting time to approximately five minutes. This was great but not ideal.",[44,334,336],{"id":335},"gitlab-api-based-configuration","GitLab API-based configuration",[12,338,339,340,345],{},"API-based configuration was ",[18,341,344],{"href":342,"rel":343},"https://gitlab.com/gitlab-org/gitlab-pages/-/issues/282",[],"introduced"," in GitLab 12.10.\nWith API-based configuration, the daemon will start serving content in just a few seconds after booting.\nFor example, for a particular Pages node on GitLab.com, it usually is ready to serve content within one minute after starting.",[12,347,348,349,352,353,356],{},"On ",[18,350,28],{"href":26,"rel":351},[],", the Pages daemon now sources the domain configuration via an internal API endpoint\n",[64,354,355],{},"/api/v4/internal/pages?domain=myproject.gitlab.io",".\nThis is done on demand per domain and the configuration is cached in memory for a certain period of time to speed up serving content from that Pages node.",[12,358,359,360,362],{},"The response from the API is very similar to the contents of the ",[64,361,148],{}," file:",[160,364,366],{"className":162,"code":365,"language":164,"meta":165,"style":165},"{\n    \"certificate\": \"--cert-contents--\",\n    \"key\": \"--key-contents--\",\n    \"lookup_paths\": [\n        {\n            \"access_control\": true,\n            \"https_only\": true,\n            \"prefix\": \"/\",\n            \"project_id\": 123,\n            \"source\": {\n                \"path\": \"myproject/myproject.gitlab.io/public/\",\n                \"type\": \"file\"\n            }\n        }\n    ]\n}\n",[64,367,368,372,384,396,404,409,420,431,443,454,462,474,484,489,494,499],{"__ignoreMap":165},[169,369,370],{"class":171,"line":172},[169,371,176],{"class":175},[169,373,374,377,379,382],{"class":171,"line":179},[169,375,376],{"class":182},"    \"certificate\"",[169,378,224],{"class":175},[169,380,381],{"class":204},"\"--cert-contents--\"",[169,383,230],{"class":175},[169,385,386,389,391,394],{"class":171,"line":189},[169,387,388],{"class":182},"    \"key\"",[169,390,224],{"class":175},[169,392,393],{"class":204},"\"--key-contents--\"",[169,395,230],{"class":175},[169,397,398,401],{"class":171,"line":195},[169,399,400],{"class":182},"    \"lookup_paths\"",[169,402,403],{"class":175},": [\n",[169,405,406],{"class":171,"line":208},[169,407,408],{"class":175},"        {\n",[169,410,411,414,416,418],{"class":171,"line":214},[169,412,413],{"class":182},"            \"access_control\"",[169,415,224],{"class":175},[169,417,290],{"class":182},[169,419,230],{"class":175},[169,421,422,425,427,429],{"class":171,"line":219},[169,423,424],{"class":182},"            \"https_only\"",[169,426,224],{"class":175},[169,428,290],{"class":182},[169,430,230],{"class":175},[169,432,433,436,438,441],{"class":171,"line":233},[169,434,435],{"class":182},"            \"prefix\"",[169,437,224],{"class":175},[169,439,440],{"class":204},"\"/\"",[169,442,230],{"class":175},[169,444,445,448,450,452],{"class":171,"line":246},[169,446,447],{"class":182},"            \"project_id\"",[169,449,224],{"class":175},[169,451,277],{"class":182},[169,453,230],{"class":175},[169,455,456,459],{"class":171,"line":257},[169,457,458],{"class":182},"            \"source\"",[169,460,461],{"class":175},": {\n",[169,463,464,467,469,472],{"class":171,"line":263},[169,465,466],{"class":182},"                \"path\"",[169,468,224],{"class":175},[169,470,471],{"class":204},"\"myproject/myproject.gitlab.io/public/\"",[169,473,230],{"class":175},[169,475,476,479,481],{"class":171,"line":269},[169,477,478],{"class":182},"                \"type\"",[169,480,224],{"class":175},[169,482,483],{"class":204},"\"file\"\n",[169,485,486],{"class":171,"line":282},[169,487,488],{"class":175},"            }\n",[169,490,491],{"class":171,"line":295},[169,492,493],{"class":175},"        }\n",[169,495,496],{"class":171,"line":306},[169,497,498],{"class":175},"    ]\n",[169,500,502],{"class":171,"line":501},16,[169,503,309],{"class":175},[12,505,506,507,510,511,42],{},"You can see that the source type is ",[64,508,509],{},"file",". This means that the Pages daemon will still serve the contents from the NFS shared mount. We are actively working on removing the NFS dependency from GitLab Pages by ",[18,512,515],{"href":513,"rel":514},"https://gitlab.com/groups/gitlab-org/-/epics/1316",[],"updating the GitLab Pages architecture",[12,517,518,519,523,524,529],{},"We are planning to ",[18,520,522],{"href":53,"rel":521},[],"transition GitLab pages to object storage instead of NFS",". This will essentially ",[18,525,528],{"href":526,"rel":527},"https://gitlab.com/gitlab-org/gitlab/-/issues/39586",[],"enable GitLab Pages to run on Kubernetes"," in the future.",[12,531,532,536,537,542],{},[533,534,535],"strong",{},"Update",":\nWe have now ",[18,538,541],{"href":539,"rel":540},"https://gitlab.com/gitlab-com/gl-infra/production/-/issues/2808",[],"rolled out zip source type on GitLab.com",". This is behavior is behind feature flag and it's not the final implementation.\nAs of 10-22-2020 we serve about 75% of Pages projects from zip and object storage and we're getting closer to removing the NFS dependency!",[44,544,546],{"id":545},"self-managed-gitlab-instances","Self-managed GitLab instances",[12,548,549,550,42],{},"The changes to the GitLab Pages architecture were piloted on GitLab.com, which is possibly the largest GitLab Pages implementation.\nOnce all the changes supporting the move to an API-based configuration are completed, they will be rolled out to self-managed customers.\nYou can find more details and the issues we faced while rolling out API-based configuration in this ",[18,551,553],{"href":342,"rel":552},[],"issue",[12,555,556,557,562],{},"If you can't wait to speed up your Pages nodes startup, we have a potential guide in this ",[18,558,561],{"href":559,"rel":560},"https://gitlab.com/gitlab-org/gitlab/-/issues/28298#potential-workaround",[],"issue description"," which explains how we enabled the API on GitLab.com. However, this method will be removed in the near future.",[12,564,565,567,568,42],{},[533,566,535],{},":\nYou can now enable API-based configuration by following ",[18,569,572],{"href":570,"rel":571},"https://docs.gitlab.com/administration/pages/#gitlab-api-based-configuration",[],"this guide",[44,574,576],{"id":575},"domain-source-configuration-and-api-status","Domain source configuration and API status",[12,578,579,580,585,586,67,589,591,592,595],{},"In the meantime, we are working toward adding ",[18,581,584],{"href":582,"rel":583},"https://gitlab.com/gitlab-org/gitlab/-/issues/217912",[],"a new configuration flag for GitLab Pages"," which will allow you to choose the domain configuration source by specifying ",[64,587,588],{},"domain_config_source",[64,590,70],{}," file.\nBy default, GitLab Pages will use the ",[64,593,594],{},"disk"," source configuration the same way is used today.",[12,597,598,599,604,605,608,609,42],{},"In the background, the Pages daemon will start ",[18,600,603],{"href":601,"rel":602},"https://gitlab.com/gitlab-org/gitlab-pages/-/merge_requests/304",[],"checking the API status"," by calling the ",[64,606,607],{},"/api/v4/internal/pages/status"," endpoint. This will help you check if the Pages daemon is ready to talk to the GitLab API, especially when you are ",[18,610,613],{"href":611,"rel":612},"https://docs.gitlab.com/administration/pages/#running-gitlab-pages-on-a-separate-server",[],"running Pages on a separate server",[12,615,616,617,622],{},"Please check the ",[18,618,621],{"href":619,"rel":620},"https://docs.gitlab.com/administration/pages/#troubleshooting",[],"GitLab Pages adminstration guide"," for further troubleshooting.",[12,624,625,626,631,632],{},"Cover image by ",[18,627,630],{"href":628,"rel":629},"https://unsplash.com/@retrosupply",[],"@RetroSupply"," on ",[18,633,636],{"href":634,"rel":635},"https://unsplash.com/photos/jLwVAUtLOAQ",[],"Unsplash",[638,639,640],"style",{},"html pre.shiki code .sgsFI, html code.shiki .sgsFI{--shiki-default:#24292E}html pre.shiki code .sYu0t, html code.shiki .sYu0t{--shiki-default:#005CC5}html pre.shiki code .sYBdl, html code.shiki .sYBdl{--shiki-default:#032F62}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":165,"searchDepth":179,"depth":179,"links":642},[643,644,645,646],{"id":46,"depth":179,"text":47},{"id":335,"depth":179,"text":336},{"id":545,"depth":179,"text":546},{"id":575,"depth":179,"text":576},"engineering","2020-08-03","GitLab Pages is changing the way it reads a project's configuration to speed up booting times and slowly remove its dependency to NFS.","md",null,false,"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749679634/Blog/Hero%20Images/retrosupply-jLwVAUtLOAQ-unsplash.jpg",{},true,"/en-us/blog/how-gitlab-pages-uses-the-gitlab-api",{"title":5,"description":649,"ogTitle":5,"ogDescription":649,"noIndex":652,"ogImage":653,"ogUrl":658,"ogSiteName":659,"ogType":660,"canonicalUrls":658},"https://about.gitlab.com/blog/how-gitlab-pages-uses-the-gitlab-api-to-serve-content","https://about.gitlab.com","article","how-gitlab-pages-uses-the-gitlab-api","en-us/blog/how-gitlab-pages-uses-the-gitlab-api",[664,665],"inside GitLab","kubernetes","BlogPost","2qZjgKcAoTwxGC8Z6MRscrOde2JhI9hdt6hgYjGQtIk",{"logo":669,"freeTrial":674,"sales":679,"login":684,"items":689,"search":1025,"minimal":1057,"duo":1076,"switchNav":1085,"pricingDeployment":1096},{"config":670},{"href":671,"dataGaName":672,"dataGaLocation":673},"/","gitlab logo","header",{"text":675,"config":676},"Get free trial",{"href":677,"dataGaName":678,"dataGaLocation":673},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com&glm_content=default-saas-trial/","free trial",{"text":680,"config":681},"Request a demo",{"href":682,"dataGaName":683,"dataGaLocation":673},"/request-a-demo/","sales",{"text":685,"config":686},"Sign in",{"href":687,"dataGaName":688,"dataGaLocation":673},"https://gitlab.com/users/sign_in/","sign in",[690,776,864,869,949,1003],{"text":691,"left":655,"config":692,"menu":694},"Platform",{"dataNavLevelOne":693},"platform",{"type":695,"link":696,"columns":700,"feature":765},"lists",{"text":697,"config":698},"Explore the Platform",{"href":699,"dataGaName":693,"dataGaLocation":673},"/platform/",[701,724,747],{"title":702,"items":703},"DevOps",[704,709,714,719],{"text":705,"config":706},"CI/CD",{"href":707,"dataGaLocation":673,"dataGaName":708},"/solutions/continuous-integration/","ci/cd",{"text":710,"config":711},"Source Code Management",{"href":712,"dataGaLocation":673,"dataGaName":713},"/solutions/source-code-management/","source code management",{"text":715,"config":716},"Agile Delivery",{"href":717,"dataGaLocation":673,"dataGaName":718},"/solutions/agile-delivery/","agile delivery",{"text":720,"config":721},"Artifact Management",{"href":722,"dataGaLocation":673,"dataGaName":723},"/artifact-central/","artifact management",{"title":725,"items":726},"Security & Governance",[727,732,737,742],{"text":728,"config":729},"Application Security Testing",{"href":730,"dataGaLocation":673,"dataGaName":731},"/solutions/application-security-testing/","application security testing",{"text":733,"config":734},"Governance & Compliance",{"href":735,"dataGaLocation":673,"dataGaName":736},"/solutions/software-compliance/","governance and compliance",{"text":738,"config":739},"Secrets Management",{"href":740,"dataGaLocation":673,"dataGaName":741},"/gitlab-secrets-manager/","secrets management",{"text":743,"config":744},"Supply Chain Security",{"href":745,"dataGaLocation":673,"dataGaName":746},"/solutions/supply-chain/","supply chain security",{"title":748,"items":749},"Agentic AI & Context",[750,755,760],{"text":751,"config":752},"Duo Agent Platform",{"href":753,"dataGaLocation":673,"dataGaName":754},"/gitlab-duo-agent-platform/","duo agent platform",{"text":756,"config":757},"Orbit Context Graph",{"href":758,"dataGaLocation":673,"dataGaName":759},"/gitlab-orbit/","orbit",{"text":761,"config":762},"Visibility & Measurement",{"href":763,"dataGaLocation":673,"dataGaName":764},"/solutions/visibility-measurement/","visibility and measurement",{"config":766,"title":769,"text":770,"link":771},{"background":767,"textColor":768},"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":772,"config":773},"Read the announcement",{"href":774,"dataGaName":775,"dataGaLocation":673},"/blog/gitlab-orbit-ga/","orbit ga announcement",{"text":777,"left":655,"config":778,"menu":780},"Solutions",{"dataNavLevelOne":779},"solutions",{"type":695,"link":781,"columns":785,"feature":855},{"text":782,"config":783},"View all Solutions",{"href":784,"dataGaName":779,"dataGaLocation":673},"/solutions/",[786,804,822],{"title":787,"items":788},"Outcomes",[789,794,799],{"text":790,"config":791},"DevOps Modernization",{"href":792,"dataGaLocation":673,"dataGaName":793},"/assessments/devops-modernization-assessment/","devops modernization",{"text":795,"config":796},"Security Modernization",{"href":797,"dataGaLocation":673,"dataGaName":798},"/assessments/security-modernization-assessment/","security modernization",{"text":800,"config":801},"AI Modernization",{"href":802,"dataGaLocation":673,"dataGaName":803},"/assessments/ai-modernization-assessment/","ai modernization",{"title":805,"items":806},"By size",[807,812,817],{"text":808,"config":809},"Enterprise",{"href":810,"dataGaLocation":673,"dataGaName":811},"/enterprise/","enterprise",{"text":813,"config":814},"Small Business",{"href":815,"dataGaLocation":673,"dataGaName":816},"/small-business/","small business",{"text":818,"config":819},"Startups",{"href":820,"dataGaLocation":673,"dataGaName":821},"/solutions/startups/","startups",{"title":823,"items":824},"Industries",[825,830,835,840,845,850],{"text":826,"config":827},"Financial Services",{"href":828,"dataGaLocation":673,"dataGaName":829},"/solutions/finance/","financial services",{"text":831,"config":832},"Public Sector",{"href":833,"dataGaLocation":673,"dataGaName":834},"/solutions/public-sector/","public sector",{"text":836,"config":837},"Telecommunications",{"href":838,"dataGaLocation":673,"dataGaName":839},"/solutions/telecommunications/","telecommunications",{"text":841,"config":842},"Automotive",{"href":843,"dataGaLocation":673,"dataGaName":844},"/solutions/automotive/","automotive",{"text":846,"config":847},"Education",{"href":848,"dataGaLocation":673,"dataGaName":849},"/solutions/education/","education",{"text":851,"config":852},"Aerospace",{"href":853,"dataGaLocation":673,"dataGaName":854},"/solutions/aerospace/","aerospace",{"config":856,"title":857,"text":858,"link":859},{"background":767,"textColor":768},"GitLab Security Standard","Learn how to harden your software factory and let AI agents earn autonomy, without trading away security.",{"text":860,"config":861},"Explore the standard",{"href":862,"dataGaName":863,"dataGaLocation":673},"/gitlab-security-standard/","gitlab security standard",{"text":865,"config":866},"Pricing",{"href":867,"dataGaName":868,"dataGaLocation":673,"dataNavLevelOne":868},"/pricing/","pricing",{"text":870,"config":871,"menu":873},"Resources",{"dataNavLevelOne":872},"resources",{"type":695,"link":874,"columns":878,"feature":940},{"text":875,"config":876},"View all resources",{"href":877,"dataGaName":872,"dataGaLocation":673},"/resources/",[879,912],{"title":880,"items":881},"Discover",[882,887,892,897,902,907],{"text":883,"config":884},"Docs",{"href":885,"dataGaName":886,"dataGaLocation":673},"https://docs.gitlab.com/","docs",{"text":888,"config":889},"University",{"href":890,"dataGaName":891,"dataGaLocation":673},"https://university.gitlab.com/","university",{"text":893,"config":894},"Demo Series",{"href":895,"dataGaName":896,"dataGaLocation":673},"/gitlab-technical-demo-series/","demo series",{"text":898,"config":899},"Demo Hub",{"href":900,"dataGaName":901,"dataGaLocation":673},"/demo-hub/","demo hub",{"text":903,"config":904},"Services",{"href":905,"dataGaName":906,"dataGaLocation":673},"/services/","services",{"text":908,"config":909},"Well Architected",{"href":910,"dataGaName":911,"dataGaLocation":673},"/resources/well-architected/","well architected",{"title":913,"items":914},"Connect",[915,920,925,930,935],{"text":916,"config":917},"Blog",{"href":918,"dataGaName":919,"dataGaLocation":673},"/blog/","blog",{"text":921,"config":922},"Community",{"href":923,"dataGaName":924,"dataGaLocation":673},"/community/","community",{"text":926,"config":927},"Customers",{"href":928,"dataGaName":929,"dataGaLocation":673},"/customers/","customers",{"text":931,"config":932},"Partners",{"href":933,"dataGaName":934,"dataGaLocation":673},"/partners/","partners",{"text":936,"config":937},"Events",{"href":938,"dataGaName":939,"dataGaLocation":673},"/events/","events",{"config":941,"title":942,"text":943,"link":944},{"background":767,"textColor":768},"What’s new in GitLab","Stay updated with our latest features and improvements.",{"text":945,"config":946},"Read the latest",{"href":947,"dataGaName":948,"dataGaLocation":673},"/whats-new/","whats new",{"text":950,"config":951,"menu":953},"Company",{"dataNavLevelOne":952},"company",{"type":695,"columns":954},[955],{"items":956},[957,962,968,973,978,983,988,993,998],{"text":958,"config":959},"About",{"href":960,"dataGaName":961,"dataGaLocation":673},"/company/","about",{"text":963,"config":964,"footerGa":967},"Jobs",{"href":965,"dataGaName":966,"dataGaLocation":673},"/jobs/","jobs",{"dataGaName":966},{"text":969,"config":970},"Press",{"href":971,"dataGaName":972,"dataGaLocation":673},"/press/","press",{"text":974,"config":975},"Handbook",{"href":976,"dataGaName":977,"dataGaLocation":673},"https://handbook.gitlab.com/","handbook",{"text":979,"config":980},"Leadership",{"href":981,"dataGaName":982,"dataGaLocation":673},"/company/team/e-group/","leadership",{"text":984,"config":985},"Investor relations",{"href":986,"dataGaName":987,"dataGaLocation":673},"https://ir.gitlab.com/overview/default.aspx","investor relations",{"text":989,"config":990},"Trust Center",{"href":991,"dataGaName":992,"dataGaLocation":673},"/security/","trust center",{"text":994,"config":995},"AI Transparency Center",{"href":996,"dataGaName":997,"dataGaLocation":673},"/ai-transparency-center/","ai transparency center",{"text":999,"config":1000},"Newsletter",{"href":1001,"dataGaName":1002,"dataGaLocation":673},"/company/contact/#contact-forms","newsletter",{"text":1004,"config":1005,"menu":1006},"Contact us",{"dataNavLevelOne":952},{"type":695,"columns":1007},[1008],{"items":1009},[1010,1015,1020],{"text":1011,"config":1012},"Talk to sales",{"href":1013,"dataGaName":1014,"dataGaLocation":673},"/sales/","talk to sales",{"text":1016,"config":1017},"Support portal",{"href":1018,"dataGaName":1019,"dataGaLocation":673},"https://support.gitlab.com/hc/en-us","support portal",{"text":1021,"config":1022},"Customer portal",{"href":1023,"dataGaName":1024,"dataGaLocation":673},"https://customers.gitlab.com/customers/sign_in/","customer portal",{"close":1026,"login":1027,"suggestions":1034},"Close",{"text":1028,"link":1029},"To search repositories and projects, login to",{"text":1030,"config":1031},"gitlab.com",{"href":687,"dataGaName":1032,"dataGaLocation":1033},"search login","search",{"text":1035,"default":1036},"Suggestions",[1037,1040,1043,1045,1049,1053],{"text":1038,"config":1039},"GitLab Duo Agent Platform",{"href":753,"dataGaName":1038,"dataGaLocation":1033},{"text":1041,"config":1042},"Code Suggestions (AI)",{"href":753,"dataGaName":1041,"dataGaLocation":1033},{"text":705,"config":1044},{"href":707,"dataGaName":705,"dataGaLocation":1033},{"text":1046,"config":1047},"GitLab on AWS",{"href":1048,"dataGaName":1046,"dataGaLocation":1033},"/partners/technology-partners/aws/",{"text":1050,"config":1051},"GitLab on Google Cloud",{"href":1052,"dataGaName":1050,"dataGaLocation":1033},"/partners/technology-partners/google-cloud-platform/",{"text":1054,"config":1055},"Why GitLab?",{"href":1056,"dataGaName":1054,"dataGaLocation":1033},"/why-gitlab/",{"freeTrial":1058,"mobileIcon":1063,"desktopIcon":1068,"secondaryButton":1071},{"text":1059,"config":1060},"Start free trial",{"href":1061,"dataGaName":678,"dataGaLocation":1062},"https://gitlab.com/-/trials/new/","nav",{"altText":1064,"config":1065},"Gitlab Icon",{"src":1066,"dataGaName":1067,"dataGaLocation":1062},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203874/jypbw1jx72aexsoohd7x.svg","gitlab icon",{"altText":1064,"config":1069},{"src":1070,"dataGaName":1067,"dataGaLocation":1062},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203875/gs4c8p8opsgvflgkswz9.svg",{"text":1072,"config":1073},"Get Started",{"href":1074,"dataGaName":1075,"dataGaLocation":1062},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/get-started/","get started",{"freeTrial":1077,"mobileIcon":1081,"desktopIcon":1083},{"text":1078,"config":1079},"Learn more about GitLab Duo",{"href":753,"dataGaName":1080,"dataGaLocation":1062},"gitlab duo",{"altText":1064,"config":1082},{"src":1066,"dataGaName":1067,"dataGaLocation":1062},{"altText":1064,"config":1084},{"src":1070,"dataGaName":1067,"dataGaLocation":1062},{"button":1086,"mobileIcon":1091,"desktopIcon":1093},{"text":1087,"config":1088},"/switch",{"href":1089,"dataGaName":1090,"dataGaLocation":1062},"#contact","switch",{"altText":1064,"config":1092},{"src":1066,"dataGaName":1067,"dataGaLocation":1062},{"altText":1064,"config":1094},{"src":1095,"dataGaName":1067,"dataGaLocation":1062},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1773335277/ohhpiuoxoldryzrnhfrh.png",{"freeTrial":1097,"mobileIcon":1102,"desktopIcon":1104},{"text":1098,"config":1099},"Back to pricing",{"href":867,"dataGaName":1100,"dataGaLocation":1062,"icon":1101},"back to pricing","GoBack",{"altText":1064,"config":1103},{"src":1066,"dataGaName":1067,"dataGaLocation":1062},{"altText":1064,"config":1105},{"src":1070,"dataGaName":1067,"dataGaLocation":1062},{"title":1107,"button":1108,"config":1112},"GitLab Orbit is generally available. Increase agent accuracy and lower token cost",{"text":772,"config":1109},{"href":774,"dataGaName":1110,"dataGaLocation":1111},"orbit-ga-banner","global-banner",{"layout":1113,"disabled":652},"release",{"data":1115},{"text":1116,"config":1117,"items":1122,"minimal":1350},"Git is a trademark of Software Freedom Conservancy and our use of 'GitLab' is under license",{"twitter":1118,"facebook":1119,"youtube":1120,"linkedin":1121},"https://twitter.com/gitlab","https://www.facebook.com/gitlab","https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg","https://www.linkedin.com/company/gitlab-com",[1123,1171,1230,1277,1318],{"title":865,"links":1124,"subMenu":1140},[1125,1130,1135],{"text":1126,"config":1127},"View plans",{"href":867,"dataGaName":1128,"dataGaLocation":1129},"view plans","footer",{"text":1131,"config":1132},"Why Premium?",{"href":1133,"dataGaName":1134,"dataGaLocation":1129},"/pricing/premium/","why premium",{"text":1136,"config":1137},"Why Ultimate?",{"href":1138,"dataGaName":1139,"dataGaLocation":1129},"/pricing/ultimate/","why ultimate",[1141],{"title":1142,"links":1143},"Contact Us",[1144,1147,1149,1151,1156,1161,1166],{"text":1145,"config":1146},"Contact sales",{"href":1013,"dataGaName":683,"dataGaLocation":1129},{"text":1016,"config":1148},{"href":1018,"dataGaName":1019,"dataGaLocation":1129},{"text":1021,"config":1150},{"href":1023,"dataGaName":1024,"dataGaLocation":1129},{"text":1152,"config":1153},"Status",{"href":1154,"dataGaName":1155,"dataGaLocation":1129},"https://status.gitlab.com/","status",{"text":1157,"config":1158},"Terms of use",{"href":1159,"dataGaName":1160,"dataGaLocation":1129},"/terms/","terms of use",{"text":1162,"config":1163},"Privacy statement",{"href":1164,"dataGaName":1165,"dataGaLocation":1129},"/privacy/","privacy statement",{"text":1167,"config":1168},"Cookie preferences",{"dataGaName":1169,"dataGaLocation":1129,"id":1170,"isOneTrustButton":655},"cookie preferences","ot-sdk-btn",{"title":691,"links":1172,"subMenu":1188},[1173,1176,1178,1180,1182,1184],{"text":1174,"config":1175},"Explore the platform",{"href":699,"dataGaName":693,"dataGaLocation":1129},{"text":751,"config":1177},{"href":753,"dataGaName":754,"dataGaLocation":1129},{"text":705,"config":1179},{"href":707,"dataGaName":708,"dataGaLocation":1129},{"text":756,"config":1181},{"href":758,"dataGaName":759,"dataGaLocation":1129},{"text":738,"config":1183},{"href":740,"dataGaName":741,"dataGaLocation":1129},{"text":1185,"config":1186},"Why GitLab",{"href":1056,"dataGaName":1187,"dataGaLocation":1129},"why gitlab",[1189],{"title":1190,"links":1191},"Topics",[1192,1196,1201,1205,1210,1215,1220,1225],{"text":705,"config":1193},{"href":1194,"dataGaName":1195,"dataGaLocation":1129},"/topics/ci-cd/","cicd",{"text":1197,"config":1198},"GitOps",{"href":1199,"dataGaName":1200,"dataGaLocation":1129},"/topics/gitops/","gitops",{"text":702,"config":1202},{"href":1203,"dataGaName":1204,"dataGaLocation":1129},"/topics/devops/","devops",{"text":1206,"config":1207},"Version Control",{"href":1208,"dataGaName":1209,"dataGaLocation":1129},"/topics/version-control/","version control",{"text":1211,"config":1212},"DevSecOps",{"href":1213,"dataGaName":1214,"dataGaLocation":1129},"/topics/devsecops/","devsecops",{"text":1216,"config":1217},"Cloud Native",{"href":1218,"dataGaName":1219,"dataGaLocation":1129},"/topics/cloud-native/","cloud native",{"text":1221,"config":1222},"AI for Coding",{"href":1223,"dataGaName":1224,"dataGaLocation":1129},"/topics/devops/ai-for-coding/","ai for coding",{"text":1226,"config":1227},"Agentic AI",{"href":1228,"dataGaName":1229,"dataGaLocation":1129},"/topics/agentic-ai/","agentic ai",{"title":777,"links":1231},[1232,1235,1238,1241,1244,1247,1249,1251,1253,1255,1257,1260,1262,1265,1269,1273],{"text":1233,"config":1234},"DevOps modernization",{"href":792,"dataGaName":793,"dataGaLocation":1129},{"text":1236,"config":1237},"Security modernization",{"href":797,"dataGaName":798,"dataGaLocation":1129},{"text":1239,"config":1240},"AI modernization",{"href":802,"dataGaName":803,"dataGaLocation":1129},{"text":1242,"config":1243},"Financial services",{"href":828,"dataGaName":829,"dataGaLocation":1129},{"text":1245,"config":1246},"Public sector",{"href":833,"dataGaName":834,"dataGaLocation":1129},{"text":836,"config":1248},{"href":838,"dataGaName":839,"dataGaLocation":1129},{"text":841,"config":1250},{"href":843,"dataGaName":844,"dataGaLocation":1129},{"text":846,"config":1252},{"href":848,"dataGaName":849,"dataGaLocation":1129},{"text":851,"config":1254},{"href":853,"dataGaName":854,"dataGaLocation":1129},{"text":808,"config":1256},{"href":810,"dataGaName":811,"dataGaLocation":1129},{"text":1258,"config":1259},"Small business",{"href":815,"dataGaName":816,"dataGaLocation":1129},{"text":818,"config":1261},{"href":820,"dataGaName":821,"dataGaLocation":1129},{"text":1197,"config":1263},{"href":1264,"dataGaName":1200,"dataGaLocation":1129},"/solutions/gitops/",{"text":1266,"config":1267},"Software composition analysis",{"href":745,"dataGaName":1268,"dataGaLocation":1129},"software composition analysis",{"text":1270,"config":1271},"Value stream management",{"href":763,"dataGaName":1272,"dataGaLocation":1129},"value stream management",{"text":1274,"config":1275},"All solutions",{"href":784,"dataGaName":1276,"dataGaLocation":1129},"all solutions",{"title":870,"links":1278},[1279,1284,1289,1291,1293,1295,1297,1299,1301,1303,1305,1307,1309,1311,1314],{"text":1280,"config":1281},"Install",{"href":1282,"dataGaName":1283,"dataGaLocation":1129},"/install/","install",{"text":1285,"config":1286},"Quick start guides",{"href":1287,"dataGaName":1288,"dataGaLocation":1129},"/get-started/","quick setup checklists",{"text":883,"config":1290},{"href":885,"dataGaName":886,"dataGaLocation":1129},{"text":888,"config":1292},{"href":890,"dataGaName":891,"dataGaLocation":1129},{"text":893,"config":1294},{"href":895,"dataGaName":896,"dataGaLocation":1129},{"text":898,"config":1296},{"href":900,"dataGaName":901,"dataGaLocation":1129},{"text":903,"config":1298},{"href":905,"dataGaName":906,"dataGaLocation":1129},{"text":916,"config":1300},{"href":918,"dataGaName":919,"dataGaLocation":1129},{"text":921,"config":1302},{"href":923,"dataGaName":924,"dataGaLocation":1129},{"text":926,"config":1304},{"href":928,"dataGaName":929,"dataGaLocation":1129},{"text":931,"config":1306},{"href":933,"dataGaName":934,"dataGaLocation":1129},{"text":936,"config":1308},{"href":938,"dataGaName":939,"dataGaLocation":1129},{"text":999,"config":1310},{"href":1001,"dataGaName":1002,"dataGaLocation":1129},{"text":1312,"config":1313},"What's new",{"href":947,"dataGaName":948,"dataGaLocation":1129},{"text":1315,"config":1316},"All resources",{"href":877,"dataGaName":1317,"dataGaLocation":1129},"all resources",{"title":950,"links":1319},[1320,1322,1324,1326,1328,1330,1332,1334,1336,1340,1345],{"text":958,"config":1321},{"href":960,"dataGaName":952,"dataGaLocation":1129},{"text":963,"config":1323},{"href":965,"dataGaName":966,"dataGaLocation":1129},{"text":969,"config":1325},{"href":971,"dataGaName":972,"dataGaLocation":1129},{"text":974,"config":1327},{"href":976,"dataGaName":977,"dataGaLocation":1129},{"text":979,"config":1329},{"href":981,"dataGaName":982,"dataGaLocation":1129},{"text":984,"config":1331},{"href":986,"dataGaName":987,"dataGaLocation":1129},{"text":989,"config":1333},{"href":991,"dataGaName":992,"dataGaLocation":1129},{"text":994,"config":1335},{"href":996,"dataGaName":997,"dataGaLocation":1129},{"text":1337,"config":1338},"Sustainability",{"href":1339,"dataGaName":1337,"dataGaLocation":1129},"/sustainability/",{"text":1341,"config":1342},"Diversity, inclusion and belonging (DIB)",{"href":1343,"dataGaName":1344,"dataGaLocation":1129},"/diversity-inclusion-belonging/","Diversity, inclusion and belonging",{"text":1346,"config":1347},"Modern Slavery Transparency Statement",{"href":1348,"dataGaName":1349,"dataGaLocation":1129},"https://handbook.gitlab.com/handbook/legal/modern-slavery-act-transparency-statement/","modern slavery transparency statement",{"items":1351},[1352,1355,1358],{"text":1353,"config":1354},"Terms",{"href":1159,"dataGaName":1160,"dataGaLocation":1129},{"text":1356,"config":1357},"Cookies",{"dataGaName":1169,"dataGaLocation":1129,"id":1170,"isOneTrustButton":655},{"text":1359,"config":1360},"Privacy",{"href":1164,"dataGaName":1165,"dataGaLocation":1129},[1362],{"id":1363,"title":1364,"body":651,"config":1365,"content":1367,"description":651,"extension":1371,"meta":1372,"navigation":655,"path":1373,"seo":1374,"stem":1375,"__hash__":1376},"blogAuthors/en-us/blog/authors/jaime-martnez.yml","Jaime Martnez",{"template":1366},"BlogAuthor",{"name":7,"config":1368},{"headshot":1369,"ctfId":1370},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749679630/Blog/Author%20Headshots/jaime-headshot.jpg","jaime","yml",{},"/en-us/blog/authors/jaime-martnez",{},"en-us/blog/authors/jaime-martnez","Q6_uw2ZXThqBhUCeiLhEOl57bbHSEmxDLket-oi9uXY",[1378,1386,1394],{"title":1379,"description":1380,"heroImage":1381,"category":647,"date":1382,"authors":1383,"slug":1385,"externalUrl":651},"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",[1384],"Donovan Felton","module-level-access-in-a-django-grc-app",{"title":1387,"description":1388,"heroImage":1389,"category":647,"date":1390,"authors":1391,"slug":1393,"externalUrl":651},"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",[1392],"Mikolaj Wawrzyniak","how-gitlab-reduced-code-per-agentic-flow-ratio",{"title":1395,"description":1396,"heroImage":1397,"category":647,"date":1398,"authors":1399,"slug":1401,"externalUrl":651},"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",[1400],"Isa Huerga","co-create-h1-2026",{"header":1403,"text":1404,"button":1408,"disclaimer":1411},"Start your free\n\n30-day GitLab trial\n",[1405,1406,1407],"GitLab Duo Agent Platform access","Try our most advanced features","Automate complex tasks with AI",{"text":675,"config":1409},{"href":1410,"dataGaName":678,"dataGaLocation":919},"https://gitlab.com/-/trials/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/blog/","No credit card required.",{"header":1413,"blurb":1414,"button":1415,"secondaryButton":1420},"Start building faster today","See what your team can do with the intelligent orchestration platform for DevSecOps.\n",{"text":1416,"config":1417},"Get your free trial",{"href":1418,"dataGaName":678,"dataGaLocation":1419},"https://gitlab.com/-/trial_registrations/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/","feature",{"text":1145,"config":1421},{"href":1013,"dataGaName":683,"dataGaLocation":1419},1794911787523]