[{"data":1,"prerenderedAt":1341},["ShallowReactive",2],{"/blog/android-cicd-with-gitlab":3,"navigation-en-us":591,"banner-en-us":1026,"footer-en-us":1034,"blog-post-authors-en-us-Darby Frey":1281,"blog-related-posts-en-us-android-cicd-with-gitlab":1296,"blog-share-wrapper-en-us":1321,"next-steps-en-us":1331},{"id":4,"title":5,"authors":6,"body":8,"category":571,"date":572,"description":573,"extension":574,"externalUrl":575,"faq":575,"featured":576,"heroImage":577,"hidePromo":576,"meta":578,"navigation":126,"path":579,"seo":580,"slug":584,"stem":585,"tags":586,"template":589,"updatedDate":575,"__hash__":590},"blogPosts/en-us/blog/android-cicd-with-gitlab.md","Tutorial: Android CI/CD with GitLab",[7],"Darby Frey",{"type":9,"value":10,"toc":553},"minimark",[11,22,25,33,42,47,65,76,80,87,91,99,137,140,148,151,155,158,164,170,183,190,194,197,202,209,215,220,228,241,247,254,258,265,272,278,284,290,296,302,306,309,344,353,359,365,369,372,387,396,400,403,409,412,418,426,430,433,437,446,450,457,460,464,469,472,477,480,485,488,493,505,510,513,518,521,526,533,538,549],[12,13,14,15,21],"p",{},"Mention the word keystore and all Android developers in a 5km radius will suddenly have a small feeling of panic. Attempting to automate a ",[16,17,20],"a",{"href":18,"rel":19},"https://docs.gitlab.com/ci/",[],"CI/CD"," pipeline to deploy an app can be frustrating, and configuring Google Play access and code signing is at the heart of the problem.",[12,23,24],{},"But fear not! GitLab Mobile DevOps is here to make this process easier and faster, and I am here to guide you.",[12,26,27,32],{},[16,28,31],{"href":29,"rel":30},"https://docs.gitlab.com/ci/mobile_devops/",[],"GitLab Mobile DevOps"," is a collection of features built right into GitLab to solve the biggest challenges mobile teams face in establishing a DevOps practice.",[12,34,35,36,41],{},"In this blog post, I’ll demonstrate how to set up an automated CI/CD pipeline using GitLab and ",[16,37,40],{"href":38,"rel":39},"https://fastlane.tools/",[],"fastlane",".",[43,44,46],"h2",{"id":45},"prerequisites-to-get-started-there-are-a-few-prerequisites-youll-need","Prerequisites To get started, there are a few prerequisites you’ll need:",[48,49,50,58],"ul",{},[51,52,53,54],"li",{},"A Google Play developer account - ",[16,55,56],{"href":56,"rel":57},"https://play.google.com/console",[],[51,59,60,61],{},"Ruby and Android Studio installed on your local machine ",[16,62,63],{"href":63,"rel":64},"https://docs.fastlane.tools/getting-started/android/setup/",[],[66,67,68],"blockquote",{},[12,69,70,71],{},"Try your hand at the ",[16,72,75],{"href":73,"rel":74},"https://about.gitlab.com/blog/ios-cicd-with-gitlab/",[],"iOS CI/CD for GitLab tutorial",[43,77,79],{"id":78},"reference-project","Reference project",[12,81,82,83,41],{},"For this tutorial, we’ll use the Android demo project for reference: ",[16,84,85],{"href":85,"rel":86},"https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/demo-projects/android_demo",[],[43,88,90],{"id":89},"install-fastlane","Install fastlane",[12,92,93,94,98],{},"If you haven’t done so yet, the first step will be to install fastlane. Do this by creating a file in the root of your project called ",[95,96,97],"code",{},"Gemfile",". Give it the following contents:",[100,101,106],"pre",{"className":102,"code":103,"language":104,"meta":105,"style":105},"language-ruby shiki shiki-themes github-light","source \"https://rubygems.org\"\n\ngem \"fastlane\"\n","ruby","",[95,107,108,121,128],{"__ignoreMap":105},[109,110,113,117],"span",{"class":111,"line":112},"line",1,[109,114,116],{"class":115},"sgsFI","source ",[109,118,120],{"class":119},"sYBdl","\"https://rubygems.org\"\n",[109,122,124],{"class":111,"line":123},2,[109,125,127],{"emptyLinePlaceholder":126},true,"\n",[109,129,131,134],{"class":111,"line":130},3,[109,132,133],{"class":115},"gem ",[109,135,136],{"class":119},"\"fastlane\"\n",[12,138,139],{},"Then, from the terminal in your project, run:",[100,141,146],{"className":142,"code":144,"language":145,"meta":105},[143],"language-text","bundle install.\n","text",[95,147,144],{"__ignoreMap":105},[12,149,150],{},"This command will install fastlane, and all of its related dependencies.",[43,152,154],{"id":153},"initialize-fastlane","Initialize fastlane",[12,156,157],{},"Now that fastlane is installed, we can set it up for our project. Run the following command from the terminal in your project. You’ll be asked to enter your package name, so enter that. When prompted for the JSON secret file, you can skip that for now, and you can answer \"no\" to the questions about metadata management.",[100,159,162],{"className":160,"code":161,"language":145,"meta":105},[143],"bundle exec fastlane init\n",[95,163,161],{"__ignoreMap":105},[12,165,166],{},[167,168],"img",{"alt":154,"src":169},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1782397780/blog/Content%20Images/2023-06-13-android-cicd-with-gitlab/fastlane-init.png",[12,171,172,173,175,176,179,180,41],{},"Running this command will create a new folder in your project called ",[95,174,40],{},". This folder will contain two files ",[95,177,178],{},"Appfile"," and ",[95,181,182],{},"Fastfile",[12,184,185,186,41],{},"The Appfile contains the configuration information for the app, and the Fastfile has some sample code that we will replace later. See the fastlane docs for more information about the configuration details in the Appfile: ",[16,187,188],{"href":188,"rel":189},"https://docs.fastlane.tools/advanced/Appfile/",[],[43,191,193],{"id":192},"code-signing","Code signing",[12,195,196],{},"Next are the steps for code signing.",[198,199,201],"h3",{"id":200},"create-a-keystore","Create a keystore",[12,203,204,205,208],{},"The next step is to create a keystore and properties files for code signing. Run the following command to generate a keystore in the project root called ",[95,206,207],{},"release-keystore.jks",":",[100,210,213],{"className":211,"code":212,"language":145,"meta":105},[143],"keytool -genkey -v -keystore release-keystore.jks -storepass password -alias release -keypass password -keyalg RSA -keysize 2048 -validity 10000\n",[95,214,212],{"__ignoreMap":105},[12,216,217],{},[167,218],{"alt":201,"src":219},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1782397780/blog/Content%20Images/2023-06-13-android-cicd-with-gitlab/keytool-genkey.png",[12,221,222,223,41],{},"More information is available in the ",[16,224,227],{"href":225,"rel":226},"https://download.java.net/java/early_access/loom/docs/specs/man/keytool.html",[],"keytool docs",[12,229,230,231,236,237,240],{},"The next step is to create a properties file to be used by ",[16,232,235],{"href":233,"rel":234},"https://gradle.org/_",[],"Gradle",". Create a file in the project root called ",[95,238,239],{},"release-keystore.properties",", with the following contents:",[100,242,245],{"className":243,"code":244,"language":145,"meta":105},[143],"storeFile=../release-keystore.jks\nkeyAlias=release\nkeyPassword=password\nstorePassword=password\n",[95,246,244],{"__ignoreMap":105},[12,248,249,250,253],{},"Also, be sure to add both files to your ",[95,251,252],{},".gitignore"," file so they aren't committed to version control.",[198,255,257],{"id":256},"configure-gradle","Configure Gradle",[12,259,260,261,264],{},"Next, configure Gradle to use the newly created keystore. In the ",[95,262,263],{},"app/build.gradle"," file, add the following:",[12,266,267,271],{},[268,269,270],"strong",{},"1."," Right after the plugins section, add:",[100,273,276],{"className":274,"code":275,"language":145,"meta":105},[143],"def keystoreProperties = new Properties()\ndef keystorePropertiesFile = rootProject.file('release-keystore.properties')\nif (keystorePropertiesFile.exists()) {\n    keystoreProperties.load(new FileInputStream(keystorePropertiesFile))\n}\n",[95,277,275],{"__ignoreMap":105},[12,279,280,283],{},[268,281,282],{},"2."," Before Build Types, add:",[100,285,288],{"className":286,"code":287,"language":145,"meta":105},[143],"signingConfigs {\n    release {\n     keyAlias keystoreProperties['keyAlias']\n     keyPassword keystoreProperties['keyPassword']\n     storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null\n     storePassword keystoreProperties['storePassword']\n    }\n}\n",[95,289,287],{"__ignoreMap":105},[12,291,292,295],{},[268,293,294],{},"3."," Lastly, add the signingConfig to the release build type:",[100,297,300],{"className":298,"code":299,"language":145,"meta":105},[143],"signingConfig signingConfigs.release\n",[95,301,299],{"__ignoreMap":105},[43,303,305],{"id":304},"upload-keystore-to-gitlab-secure-files","Upload keystore to GitLab secure files",[12,307,308],{},"Next, upload your keystore files to GitLab so they can be used in CI/CD jobs.",[310,311,312,319,325,331,337],"ol",{},[51,313,314,315,318],{},"On the top bar, select ",[268,316,317],{},"Menu > Projects"," and find your project.",[51,320,321,322,41],{},"On the left sidebar, select ",[268,323,324],{},"Settings > CI/CD",[51,326,327,328,41],{},"In the Secure Files section, select ",[268,329,330],{},"Expand",[51,332,333,334,41],{},"Select ",[268,335,336],{},"Upload File",[51,338,339,340,343],{},"Find the file to upload, select ",[268,341,342],{},"Open",", and the file upload begins immediately. The file shows up in the list when the upload is complete.",[12,345,346,347,349,350,352],{},"Do this for both the ",[95,348,207],{}," file and the ",[95,351,239],{}," file.",[12,354,355],{},[167,356],{"alt":357,"src":358},"Upload Secure File","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782397781/blog/Content%20Images/2023-06-13-android-cicd-with-gitlab/upload-secure-file.png",[12,360,361],{},[167,362],{"alt":363,"src":364},"List Secure Files","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782397781/blog/Content%20Images/2023-06-13-android-cicd-with-gitlab/list-secure-files.png",[43,366,368],{"id":367},"create-a-cicd-pipeline","Create a CI/CD pipeline",[12,370,371],{},"With the configuration in place, now copy the contents of the .gitlab-ci.yml and fastlane/Fastfile below to the project.",[12,373,374,375,380,381,386],{},"This ",[16,376,379],{"href":377,"rel":378},"https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/demo-projects/android_demo/-/blob/main/.gitlab-ci.yml",[],".gitlab-ci.yml"," has all the configuration needed to run the test, build, and beta jobs.\nThe ",[16,382,385],{"href":383,"rel":384},"https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/demo-projects/android_demo/-/blob/main/fastlane/Fastfile",[],"fastlane/Fastfile"," is an example that can be customized to specific project settings.",[12,388,389,390,395],{},"Note: This fastlane configuration uses plugins. See the ",[16,391,394],{"href":392,"rel":393},"https://docs.fastlane.tools/plugins/using-plugins/",[],"docs"," for instructions on how to configure your project for fastlane plugins.",[43,397,399],{"id":398},"create-an-app-in-the-google-play-console","Create an app in the Google Play Console",[12,401,402],{},"Next, generate a build of your app locally and upload it to seed a new app entry in the Google Play Console. Run the following command locally:",[100,404,407],{"className":405,"code":406,"language":145,"meta":105},[143],"bundle exec fastlane build\n",[95,408,406],{"__ignoreMap":105},[12,410,411],{},"This command will create a signed build of the app at",[100,413,416],{"className":414,"code":415,"language":145,"meta":105},[143],"build/outputs/bundle/release/app-release.aab\n",[95,417,415],{"__ignoreMap":105},[12,419,420,421,425],{},"With the signed build ready to go, log in to the ",[16,422,424],{"href":56,"rel":423},[],"Google Play Console"," and create a new app and seed it with the initial build.",[43,427,429],{"id":428},"configure-google-play-integration","Configure Google Play integration",[12,431,432],{},"The last thing to set up is the Google Play integration in GitLab. To do so, first, create a Google service account.",[198,434,436],{"id":435},"create-a-google-service-account","Create a Google service account",[12,438,439,440,445],{},"Follow the ",[16,441,444],{"href":442,"rel":443},"https://docs.fastlane.tools/actions/supply/#setup",[],"instructions"," for setting up a service account in Google Cloud Platform and granting that account access to the project in Google Play.",[198,447,449],{"id":448},"enable-google-play-integration","Enable Google Play integration",[12,451,439,452,456],{},[16,453,444],{"href":454,"rel":455},"https://docs.gitlab.com/user/project/integrations/google_play/",[]," for configuring the Google Play integration by providing a package name and the JSON key file just generated for the service account.",[12,458,459],{},"This is a simplified CI/CD configuration that created three CI/CD jobs to run each of the lanes in fastlane on the GitLab Runners. The test and build jobs will run for all CI/CD pipelines, and the beta job will only be run on CI/CD pipelines on the main branch. The beta job is manually triggered, so you can control when the beta release is pushed to Google Play.\nWith these configurations in place, commit all of these changes and push them up to your project. The CI/CD pipeline will kick off, and you can see these jobs in action.",[43,461,463],{"id":462},"faq","FAQ",[12,465,466],{},[268,467,468],{},"What is GitLab Mobile DevOps?",[12,470,471],{},"GitLab Mobile DevOps is a collection of features built directly into GitLab designed to solve the biggest challenges mobile teams face when establishing a DevOps practice, including code signing and app store deployment.",[12,473,474],{},[268,475,476],{},"What are the prerequisites for setting up an Android CI/CD pipeline with GitLab and fastlane?",[12,478,479],{},"You need a Google Play developer account and Ruby and Android Studio installed on your local machine before getting started.",[12,481,482],{},[268,483,484],{},"How do I securely store my keystore files for use in the CI/CD pipeline?",[12,486,487],{},"You can upload your keystore files directly to GitLab Secure Files via Settings > CI/CD, where they are stored securely and made available to CI/CD jobs without being committed to version control.",[12,489,490],{},[268,491,492],{},"How does Gradle use the keystore for code signing?",[12,494,495,496,498,499,502,503,41],{},"You configure Gradle by loading a ",[95,497,239],{}," file that contains the key alias, key password, store file path, and store password, then referencing those values in a ",[95,500,501],{},"signingConfigs"," block within ",[95,504,263],{},[12,506,507],{},[268,508,509],{},"What CI/CD jobs does the example pipeline create?",[12,511,512],{},"The pipeline creates three jobs: test, build, and beta. The test and build jobs run on all pipelines, while the beta job runs only on the main branch and must be manually triggered to control when releases are pushed to Google Play.",[12,514,515],{},[268,516,517],{},"How is the Google Play integration configured in GitLab?",[12,519,520],{},"You create a Google service account in Google Cloud Platform, grant it access to your project in Google Play, then configure the Google Play integration in GitLab by providing your package name and the JSON key file generated for that service account.",[12,522,523],{},[268,524,525],{},"Why do I need to create an app in the Google Play Console before running the pipeline?",[12,527,528,529,532],{},"Google Play requires an initial build to seed a new app entry, so you run ",[95,530,531],{},"bundle exec fastlane build"," locally to generate a signed build and upload it to the Google Play Console before the automated pipeline takes over.",[12,534,535],{},[268,536,537],{},"Should the keystore and properties files be committed to version control?",[12,539,540,541,179,543,545,546,548],{},"No, both the ",[95,542,207],{},[95,544,239],{}," files should be added to your ",[95,547,252],{}," file to keep sensitive signing credentials out of version control.",[550,551,552],"style",{},"html pre.shiki code .sgsFI, html code.shiki .sgsFI{--shiki-default:#24292E}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":105,"searchDepth":123,"depth":123,"links":554},[555,556,557,558,559,563,564,565,566,570],{"id":45,"depth":123,"text":46},{"id":78,"depth":123,"text":79},{"id":89,"depth":123,"text":90},{"id":153,"depth":123,"text":154},{"id":192,"depth":123,"text":193,"children":560},[561,562],{"id":200,"depth":130,"text":201},{"id":256,"depth":130,"text":257},{"id":304,"depth":123,"text":305},{"id":367,"depth":123,"text":368},{"id":398,"depth":123,"text":399},{"id":428,"depth":123,"text":429,"children":567},[568,569],{"id":435,"depth":130,"text":436},{"id":448,"depth":130,"text":449},{"id":462,"depth":123,"text":463},"engineering","2023-06-13","Learn how to create an automated Android CI/CD pipeline using GitLab and fastlane.","md",null,false,"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749669316/Blog/Hero%20Images/angela-compagnone-4Iyg6cNU7sI-unsplash.jpg",{},"/en-us/blog/android-cicd-with-gitlab",{"title":5,"description":573,"ogTitle":5,"ogDescription":573,"noIndex":576,"ogImage":577,"ogUrl":581,"ogSiteName":582,"ogType":583,"canonicalUrls":581},"https://about.gitlab.com/blog/android-cicd-with-gitlab","https://about.gitlab.com","article","android-cicd-with-gitlab","en-us/blog/android-cicd-with-gitlab",[587,20,588],"DevOps","tutorial","BlogPost","UyClo7hiQlAqPEdtfHBxDgrQb0aqwEhk6IDoW4DYxxw",{"logo":592,"freeTrial":597,"sales":602,"login":607,"items":612,"search":945,"minimal":977,"duo":996,"switchNav":1005,"pricingDeployment":1016},{"config":593},{"href":594,"dataGaName":595,"dataGaLocation":596},"/","gitlab logo","header",{"text":598,"config":599},"Get free trial",{"href":600,"dataGaName":601,"dataGaLocation":596},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com&glm_content=default-saas-trial/","free trial",{"text":603,"config":604},"Request a demo",{"href":605,"dataGaName":606,"dataGaLocation":596},"/request-a-demo/","sales",{"text":608,"config":609},"Sign in",{"href":610,"dataGaName":611,"dataGaLocation":596},"https://gitlab.com/users/sign_in/","sign in",[613,697,785,790,869,923],{"text":614,"left":126,"config":615,"menu":617},"Platform",{"dataNavLevelOne":616},"platform",{"type":618,"link":619,"columns":623,"feature":686},"lists",{"text":620,"config":621},"Explore the Platform",{"href":622,"dataGaName":616,"dataGaLocation":596},"/platform/",[624,645,668],{"title":587,"items":625},[626,630,635,640],{"text":20,"config":627},{"href":628,"dataGaLocation":596,"dataGaName":629},"/solutions/continuous-integration/","ci/cd",{"text":631,"config":632},"Source Code Management",{"href":633,"dataGaLocation":596,"dataGaName":634},"/solutions/source-code-management/","source code management",{"text":636,"config":637},"Agile Delivery",{"href":638,"dataGaLocation":596,"dataGaName":639},"/solutions/agile-delivery/","agile delivery",{"text":641,"config":642},"Artifact Management",{"href":643,"dataGaLocation":596,"dataGaName":644},"/artifact-central/","artifact management",{"title":646,"items":647},"Security & Governance",[648,653,658,663],{"text":649,"config":650},"Application Security Testing",{"href":651,"dataGaLocation":596,"dataGaName":652},"/solutions/application-security-testing/","application security testing",{"text":654,"config":655},"Governance & Compliance",{"href":656,"dataGaLocation":596,"dataGaName":657},"/solutions/software-compliance/","governance and compliance",{"text":659,"config":660},"Secrets Management",{"href":661,"dataGaLocation":596,"dataGaName":662},"/gitlab-secrets-manager/","secrets management",{"text":664,"config":665},"Supply Chain Security",{"href":666,"dataGaLocation":596,"dataGaName":667},"/solutions/supply-chain/","supply chain security",{"title":669,"items":670},"Agentic AI & Context",[671,676,681],{"text":672,"config":673},"Duo Agent Platform",{"href":674,"dataGaLocation":596,"dataGaName":675},"/gitlab-duo-agent-platform/","duo agent platform",{"text":677,"config":678},"Orbit Context Graph",{"href":679,"dataGaLocation":596,"dataGaName":680},"/gitlab-orbit/","orbit",{"text":682,"config":683},"Visibility & Measurement",{"href":684,"dataGaLocation":596,"dataGaName":685},"/solutions/visibility-measurement/","visibility and measurement",{"config":687,"title":690,"text":691,"link":692},{"background":688,"textColor":689},"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":693,"config":694},"Read the announcement",{"href":695,"dataGaName":696,"dataGaLocation":596},"/blog/gitlab-orbit-ga/","orbit ga announcement",{"text":698,"left":126,"config":699,"menu":701},"Solutions",{"dataNavLevelOne":700},"solutions",{"type":618,"link":702,"columns":706,"feature":776},{"text":703,"config":704},"View all Solutions",{"href":705,"dataGaName":700,"dataGaLocation":596},"/solutions/",[707,725,743],{"title":708,"items":709},"Outcomes",[710,715,720],{"text":711,"config":712},"DevOps Modernization",{"href":713,"dataGaLocation":596,"dataGaName":714},"/assessments/devops-modernization-assessment/","devops modernization",{"text":716,"config":717},"Security Modernization",{"href":718,"dataGaLocation":596,"dataGaName":719},"/assessments/security-modernization-assessment/","security modernization",{"text":721,"config":722},"AI Modernization",{"href":723,"dataGaLocation":596,"dataGaName":724},"/assessments/ai-modernization-assessment/","ai modernization",{"title":726,"items":727},"By size",[728,733,738],{"text":729,"config":730},"Enterprise",{"href":731,"dataGaLocation":596,"dataGaName":732},"/enterprise/","enterprise",{"text":734,"config":735},"Small Business",{"href":736,"dataGaLocation":596,"dataGaName":737},"/small-business/","small business",{"text":739,"config":740},"Startups",{"href":741,"dataGaLocation":596,"dataGaName":742},"/solutions/startups/","startups",{"title":744,"items":745},"Industries",[746,751,756,761,766,771],{"text":747,"config":748},"Financial Services",{"href":749,"dataGaLocation":596,"dataGaName":750},"/solutions/finance/","financial services",{"text":752,"config":753},"Public Sector",{"href":754,"dataGaLocation":596,"dataGaName":755},"/solutions/public-sector/","public sector",{"text":757,"config":758},"Telecommunications",{"href":759,"dataGaLocation":596,"dataGaName":760},"/solutions/telecommunications/","telecommunications",{"text":762,"config":763},"Automotive",{"href":764,"dataGaLocation":596,"dataGaName":765},"/solutions/automotive/","automotive",{"text":767,"config":768},"Education",{"href":769,"dataGaLocation":596,"dataGaName":770},"/solutions/education/","education",{"text":772,"config":773},"Aerospace",{"href":774,"dataGaLocation":596,"dataGaName":775},"/solutions/aerospace/","aerospace",{"config":777,"title":778,"text":779,"link":780},{"background":688,"textColor":689},"GitLab Security Standard","Learn how to harden your software factory and let AI agents earn autonomy, without trading away security.",{"text":781,"config":782},"Explore the standard",{"href":783,"dataGaName":784,"dataGaLocation":596},"/gitlab-security-standard/","gitlab security standard",{"text":786,"config":787},"Pricing",{"href":788,"dataGaName":789,"dataGaLocation":596,"dataNavLevelOne":789},"/pricing/","pricing",{"text":791,"config":792,"menu":794},"Resources",{"dataNavLevelOne":793},"resources",{"type":618,"link":795,"columns":799,"feature":860},{"text":796,"config":797},"View all resources",{"href":798,"dataGaName":793,"dataGaLocation":596},"/resources/",[800,832],{"title":801,"items":802},"Discover",[803,807,812,817,822,827],{"text":804,"config":805},"Docs",{"href":806,"dataGaName":394,"dataGaLocation":596},"https://docs.gitlab.com/",{"text":808,"config":809},"University",{"href":810,"dataGaName":811,"dataGaLocation":596},"https://university.gitlab.com/","university",{"text":813,"config":814},"Demo Series",{"href":815,"dataGaName":816,"dataGaLocation":596},"/gitlab-technical-demo-series/","demo series",{"text":818,"config":819},"Demo Hub",{"href":820,"dataGaName":821,"dataGaLocation":596},"/demo-hub/","demo hub",{"text":823,"config":824},"Services",{"href":825,"dataGaName":826,"dataGaLocation":596},"/services/","services",{"text":828,"config":829},"Well Architected",{"href":830,"dataGaName":831,"dataGaLocation":596},"/resources/well-architected/","well architected",{"title":833,"items":834},"Connect",[835,840,845,850,855],{"text":836,"config":837},"Blog",{"href":838,"dataGaName":839,"dataGaLocation":596},"/blog/","blog",{"text":841,"config":842},"Community",{"href":843,"dataGaName":844,"dataGaLocation":596},"/community/","community",{"text":846,"config":847},"Customers",{"href":848,"dataGaName":849,"dataGaLocation":596},"/customers/","customers",{"text":851,"config":852},"Partners",{"href":853,"dataGaName":854,"dataGaLocation":596},"/partners/","partners",{"text":856,"config":857},"Events",{"href":858,"dataGaName":859,"dataGaLocation":596},"/events/","events",{"config":861,"title":862,"text":863,"link":864},{"background":688,"textColor":689},"What’s new in GitLab","Stay updated with our latest features and improvements.",{"text":865,"config":866},"Read the latest",{"href":867,"dataGaName":868,"dataGaLocation":596},"/whats-new/","whats new",{"text":870,"config":871,"menu":873},"Company",{"dataNavLevelOne":872},"company",{"type":618,"columns":874},[875],{"items":876},[877,882,888,893,898,903,908,913,918],{"text":878,"config":879},"About",{"href":880,"dataGaName":881,"dataGaLocation":596},"/company/","about",{"text":883,"config":884,"footerGa":887},"Jobs",{"href":885,"dataGaName":886,"dataGaLocation":596},"/jobs/","jobs",{"dataGaName":886},{"text":889,"config":890},"Press",{"href":891,"dataGaName":892,"dataGaLocation":596},"/press/","press",{"text":894,"config":895},"Handbook",{"href":896,"dataGaName":897,"dataGaLocation":596},"https://handbook.gitlab.com/","handbook",{"text":899,"config":900},"Leadership",{"href":901,"dataGaName":902,"dataGaLocation":596},"/company/team/e-group/","leadership",{"text":904,"config":905},"Investor relations",{"href":906,"dataGaName":907,"dataGaLocation":596},"https://ir.gitlab.com/overview/default.aspx","investor relations",{"text":909,"config":910},"Trust Center",{"href":911,"dataGaName":912,"dataGaLocation":596},"/security/","trust center",{"text":914,"config":915},"AI Transparency Center",{"href":916,"dataGaName":917,"dataGaLocation":596},"/ai-transparency-center/","ai transparency center",{"text":919,"config":920},"Newsletter",{"href":921,"dataGaName":922,"dataGaLocation":596},"/company/contact/#contact-forms","newsletter",{"text":924,"config":925,"menu":926},"Contact us",{"dataNavLevelOne":872},{"type":618,"columns":927},[928],{"items":929},[930,935,940],{"text":931,"config":932},"Talk to sales",{"href":933,"dataGaName":934,"dataGaLocation":596},"/sales/","talk to sales",{"text":936,"config":937},"Support portal",{"href":938,"dataGaName":939,"dataGaLocation":596},"https://support.gitlab.com/hc/en-us","support portal",{"text":941,"config":942},"Customer portal",{"href":943,"dataGaName":944,"dataGaLocation":596},"https://customers.gitlab.com/customers/sign_in/","customer portal",{"close":946,"login":947,"suggestions":954},"Close",{"text":948,"link":949},"To search repositories and projects, login to",{"text":950,"config":951},"gitlab.com",{"href":610,"dataGaName":952,"dataGaLocation":953},"search login","search",{"text":955,"default":956},"Suggestions",[957,960,963,965,969,973],{"text":958,"config":959},"GitLab Duo Agent Platform",{"href":674,"dataGaName":958,"dataGaLocation":953},{"text":961,"config":962},"Code Suggestions (AI)",{"href":674,"dataGaName":961,"dataGaLocation":953},{"text":20,"config":964},{"href":628,"dataGaName":20,"dataGaLocation":953},{"text":966,"config":967},"GitLab on AWS",{"href":968,"dataGaName":966,"dataGaLocation":953},"/partners/technology-partners/aws/",{"text":970,"config":971},"GitLab on Google Cloud",{"href":972,"dataGaName":970,"dataGaLocation":953},"/partners/technology-partners/google-cloud-platform/",{"text":974,"config":975},"Why GitLab?",{"href":976,"dataGaName":974,"dataGaLocation":953},"/why-gitlab/",{"freeTrial":978,"mobileIcon":983,"desktopIcon":988,"secondaryButton":991},{"text":979,"config":980},"Start free trial",{"href":981,"dataGaName":601,"dataGaLocation":982},"https://gitlab.com/-/trials/new/","nav",{"altText":984,"config":985},"Gitlab Icon",{"src":986,"dataGaName":987,"dataGaLocation":982},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203874/jypbw1jx72aexsoohd7x.svg","gitlab icon",{"altText":984,"config":989},{"src":990,"dataGaName":987,"dataGaLocation":982},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203875/gs4c8p8opsgvflgkswz9.svg",{"text":992,"config":993},"Get Started",{"href":994,"dataGaName":995,"dataGaLocation":982},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/get-started/","get started",{"freeTrial":997,"mobileIcon":1001,"desktopIcon":1003},{"text":998,"config":999},"Learn more about GitLab Duo",{"href":674,"dataGaName":1000,"dataGaLocation":982},"gitlab duo",{"altText":984,"config":1002},{"src":986,"dataGaName":987,"dataGaLocation":982},{"altText":984,"config":1004},{"src":990,"dataGaName":987,"dataGaLocation":982},{"button":1006,"mobileIcon":1011,"desktopIcon":1013},{"text":1007,"config":1008},"/switch",{"href":1009,"dataGaName":1010,"dataGaLocation":982},"#contact","switch",{"altText":984,"config":1012},{"src":986,"dataGaName":987,"dataGaLocation":982},{"altText":984,"config":1014},{"src":1015,"dataGaName":987,"dataGaLocation":982},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1773335277/ohhpiuoxoldryzrnhfrh.png",{"freeTrial":1017,"mobileIcon":1022,"desktopIcon":1024},{"text":1018,"config":1019},"Back to pricing",{"href":788,"dataGaName":1020,"dataGaLocation":982,"icon":1021},"back to pricing","GoBack",{"altText":984,"config":1023},{"src":986,"dataGaName":987,"dataGaLocation":982},{"altText":984,"config":1025},{"src":990,"dataGaName":987,"dataGaLocation":982},{"title":1027,"button":1028,"config":1032},"GitLab Orbit is generally available. Increase agent accuracy and lower token cost",{"text":693,"config":1029},{"href":695,"dataGaName":1030,"dataGaLocation":1031},"orbit-ga-banner","global-banner",{"layout":1033,"disabled":576},"release",{"data":1035},{"text":1036,"config":1037,"items":1042,"minimal":1270},"Git is a trademark of Software Freedom Conservancy and our use of 'GitLab' is under license",{"twitter":1038,"facebook":1039,"youtube":1040,"linkedin":1041},"https://twitter.com/gitlab","https://www.facebook.com/gitlab","https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg","https://www.linkedin.com/company/gitlab-com",[1043,1091,1150,1197,1238],{"title":786,"links":1044,"subMenu":1060},[1045,1050,1055],{"text":1046,"config":1047},"View plans",{"href":788,"dataGaName":1048,"dataGaLocation":1049},"view plans","footer",{"text":1051,"config":1052},"Why Premium?",{"href":1053,"dataGaName":1054,"dataGaLocation":1049},"/pricing/premium/","why premium",{"text":1056,"config":1057},"Why Ultimate?",{"href":1058,"dataGaName":1059,"dataGaLocation":1049},"/pricing/ultimate/","why ultimate",[1061],{"title":1062,"links":1063},"Contact Us",[1064,1067,1069,1071,1076,1081,1086],{"text":1065,"config":1066},"Contact sales",{"href":933,"dataGaName":606,"dataGaLocation":1049},{"text":936,"config":1068},{"href":938,"dataGaName":939,"dataGaLocation":1049},{"text":941,"config":1070},{"href":943,"dataGaName":944,"dataGaLocation":1049},{"text":1072,"config":1073},"Status",{"href":1074,"dataGaName":1075,"dataGaLocation":1049},"https://status.gitlab.com/","status",{"text":1077,"config":1078},"Terms of use",{"href":1079,"dataGaName":1080,"dataGaLocation":1049},"/terms/","terms of use",{"text":1082,"config":1083},"Privacy statement",{"href":1084,"dataGaName":1085,"dataGaLocation":1049},"/privacy/","privacy statement",{"text":1087,"config":1088},"Cookie preferences",{"dataGaName":1089,"dataGaLocation":1049,"id":1090,"isOneTrustButton":126},"cookie preferences","ot-sdk-btn",{"title":614,"links":1092,"subMenu":1108},[1093,1096,1098,1100,1102,1104],{"text":1094,"config":1095},"Explore the platform",{"href":622,"dataGaName":616,"dataGaLocation":1049},{"text":672,"config":1097},{"href":674,"dataGaName":675,"dataGaLocation":1049},{"text":20,"config":1099},{"href":628,"dataGaName":629,"dataGaLocation":1049},{"text":677,"config":1101},{"href":679,"dataGaName":680,"dataGaLocation":1049},{"text":659,"config":1103},{"href":661,"dataGaName":662,"dataGaLocation":1049},{"text":1105,"config":1106},"Why GitLab",{"href":976,"dataGaName":1107,"dataGaLocation":1049},"why gitlab",[1109],{"title":1110,"links":1111},"Topics",[1112,1116,1121,1125,1130,1135,1140,1145],{"text":20,"config":1113},{"href":1114,"dataGaName":1115,"dataGaLocation":1049},"/topics/ci-cd/","cicd",{"text":1117,"config":1118},"GitOps",{"href":1119,"dataGaName":1120,"dataGaLocation":1049},"/topics/gitops/","gitops",{"text":587,"config":1122},{"href":1123,"dataGaName":1124,"dataGaLocation":1049},"/topics/devops/","devops",{"text":1126,"config":1127},"Version Control",{"href":1128,"dataGaName":1129,"dataGaLocation":1049},"/topics/version-control/","version control",{"text":1131,"config":1132},"DevSecOps",{"href":1133,"dataGaName":1134,"dataGaLocation":1049},"/topics/devsecops/","devsecops",{"text":1136,"config":1137},"Cloud Native",{"href":1138,"dataGaName":1139,"dataGaLocation":1049},"/topics/cloud-native/","cloud native",{"text":1141,"config":1142},"AI for Coding",{"href":1143,"dataGaName":1144,"dataGaLocation":1049},"/topics/devops/ai-for-coding/","ai for coding",{"text":1146,"config":1147},"Agentic AI",{"href":1148,"dataGaName":1149,"dataGaLocation":1049},"/topics/agentic-ai/","agentic ai",{"title":698,"links":1151},[1152,1155,1158,1161,1164,1167,1169,1171,1173,1175,1177,1180,1182,1185,1189,1193],{"text":1153,"config":1154},"DevOps modernization",{"href":713,"dataGaName":714,"dataGaLocation":1049},{"text":1156,"config":1157},"Security modernization",{"href":718,"dataGaName":719,"dataGaLocation":1049},{"text":1159,"config":1160},"AI modernization",{"href":723,"dataGaName":724,"dataGaLocation":1049},{"text":1162,"config":1163},"Financial services",{"href":749,"dataGaName":750,"dataGaLocation":1049},{"text":1165,"config":1166},"Public sector",{"href":754,"dataGaName":755,"dataGaLocation":1049},{"text":757,"config":1168},{"href":759,"dataGaName":760,"dataGaLocation":1049},{"text":762,"config":1170},{"href":764,"dataGaName":765,"dataGaLocation":1049},{"text":767,"config":1172},{"href":769,"dataGaName":770,"dataGaLocation":1049},{"text":772,"config":1174},{"href":774,"dataGaName":775,"dataGaLocation":1049},{"text":729,"config":1176},{"href":731,"dataGaName":732,"dataGaLocation":1049},{"text":1178,"config":1179},"Small business",{"href":736,"dataGaName":737,"dataGaLocation":1049},{"text":739,"config":1181},{"href":741,"dataGaName":742,"dataGaLocation":1049},{"text":1117,"config":1183},{"href":1184,"dataGaName":1120,"dataGaLocation":1049},"/solutions/gitops/",{"text":1186,"config":1187},"Software composition analysis",{"href":666,"dataGaName":1188,"dataGaLocation":1049},"software composition analysis",{"text":1190,"config":1191},"Value stream management",{"href":684,"dataGaName":1192,"dataGaLocation":1049},"value stream management",{"text":1194,"config":1195},"All solutions",{"href":705,"dataGaName":1196,"dataGaLocation":1049},"all solutions",{"title":791,"links":1198},[1199,1204,1209,1211,1213,1215,1217,1219,1221,1223,1225,1227,1229,1231,1234],{"text":1200,"config":1201},"Install",{"href":1202,"dataGaName":1203,"dataGaLocation":1049},"/install/","install",{"text":1205,"config":1206},"Quick start guides",{"href":1207,"dataGaName":1208,"dataGaLocation":1049},"/get-started/","quick setup checklists",{"text":804,"config":1210},{"href":806,"dataGaName":394,"dataGaLocation":1049},{"text":808,"config":1212},{"href":810,"dataGaName":811,"dataGaLocation":1049},{"text":813,"config":1214},{"href":815,"dataGaName":816,"dataGaLocation":1049},{"text":818,"config":1216},{"href":820,"dataGaName":821,"dataGaLocation":1049},{"text":823,"config":1218},{"href":825,"dataGaName":826,"dataGaLocation":1049},{"text":836,"config":1220},{"href":838,"dataGaName":839,"dataGaLocation":1049},{"text":841,"config":1222},{"href":843,"dataGaName":844,"dataGaLocation":1049},{"text":846,"config":1224},{"href":848,"dataGaName":849,"dataGaLocation":1049},{"text":851,"config":1226},{"href":853,"dataGaName":854,"dataGaLocation":1049},{"text":856,"config":1228},{"href":858,"dataGaName":859,"dataGaLocation":1049},{"text":919,"config":1230},{"href":921,"dataGaName":922,"dataGaLocation":1049},{"text":1232,"config":1233},"What's new",{"href":867,"dataGaName":868,"dataGaLocation":1049},{"text":1235,"config":1236},"All resources",{"href":798,"dataGaName":1237,"dataGaLocation":1049},"all resources",{"title":870,"links":1239},[1240,1242,1244,1246,1248,1250,1252,1254,1256,1260,1265],{"text":878,"config":1241},{"href":880,"dataGaName":872,"dataGaLocation":1049},{"text":883,"config":1243},{"href":885,"dataGaName":886,"dataGaLocation":1049},{"text":889,"config":1245},{"href":891,"dataGaName":892,"dataGaLocation":1049},{"text":894,"config":1247},{"href":896,"dataGaName":897,"dataGaLocation":1049},{"text":899,"config":1249},{"href":901,"dataGaName":902,"dataGaLocation":1049},{"text":904,"config":1251},{"href":906,"dataGaName":907,"dataGaLocation":1049},{"text":909,"config":1253},{"href":911,"dataGaName":912,"dataGaLocation":1049},{"text":914,"config":1255},{"href":916,"dataGaName":917,"dataGaLocation":1049},{"text":1257,"config":1258},"Sustainability",{"href":1259,"dataGaName":1257,"dataGaLocation":1049},"/sustainability/",{"text":1261,"config":1262},"Diversity, inclusion and belonging (DIB)",{"href":1263,"dataGaName":1264,"dataGaLocation":1049},"/diversity-inclusion-belonging/","Diversity, inclusion and belonging",{"text":1266,"config":1267},"Modern Slavery Transparency Statement",{"href":1268,"dataGaName":1269,"dataGaLocation":1049},"https://handbook.gitlab.com/handbook/legal/modern-slavery-act-transparency-statement/","modern slavery transparency statement",{"items":1271},[1272,1275,1278],{"text":1273,"config":1274},"Terms",{"href":1079,"dataGaName":1080,"dataGaLocation":1049},{"text":1276,"config":1277},"Cookies",{"dataGaName":1089,"dataGaLocation":1049,"id":1090,"isOneTrustButton":126},{"text":1279,"config":1280},"Privacy",{"href":1084,"dataGaName":1085,"dataGaLocation":1049},[1282],{"id":1283,"title":7,"body":575,"config":1284,"content":1286,"description":575,"extension":1290,"meta":1291,"navigation":126,"path":1292,"seo":1293,"stem":1294,"__hash__":1295},"blogAuthors/en-us/blog/authors/darby-frey.yml",{"template":1285},"BlogAuthor",{"name":7,"config":1287},{"headshot":1288,"ctfId":1289},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749668565/Blog/Author%20Headshots/darbyfrey-headshot.png","darbyfrey","yml",{},"/en-us/blog/authors/darby-frey",{},"en-us/blog/authors/darby-frey","lqGN1mYG_LRXzRujnkqXvcZHmVHEKoeXrwJofasmK_8",[1297,1305,1313],{"title":1298,"description":1299,"heroImage":1300,"category":571,"date":1301,"authors":1302,"slug":1304,"externalUrl":575},"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",[1303],"Donovan Felton","module-level-access-in-a-django-grc-app",{"title":1306,"description":1307,"heroImage":1308,"category":571,"date":1309,"authors":1310,"slug":1312,"externalUrl":575},"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",[1311],"Mikolaj Wawrzyniak","how-gitlab-reduced-code-per-agentic-flow-ratio",{"title":1314,"description":1315,"heroImage":1316,"category":571,"date":1317,"authors":1318,"slug":1320,"externalUrl":575},"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",[1319],"Isa Huerga","co-create-h1-2026",{"header":1322,"text":1323,"button":1327,"disclaimer":1330},"Start your free\n\n30-day GitLab trial\n",[1324,1325,1326],"GitLab Duo Agent Platform access","Try our most advanced features","Automate complex tasks with AI",{"text":598,"config":1328},{"href":1329,"dataGaName":601,"dataGaLocation":839},"https://gitlab.com/-/trials/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/blog/","No credit card required.",{"header":1332,"blurb":1333,"button":1334,"secondaryButton":1339},"Start building faster today","See what your team can do with the intelligent orchestration platform for DevSecOps.\n",{"text":1335,"config":1336},"Get your free trial",{"href":1337,"dataGaName":601,"dataGaLocation":1338},"https://gitlab.com/-/trial_registrations/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/","feature",{"text":1065,"config":1340},{"href":933,"dataGaName":606,"dataGaLocation":1338},1794911782771]