[{"data":1,"prerenderedAt":1624},["ShallowReactive",2],{"/blog/building-an-elixir-release-into-docker-image-using-gitlab-ci-part-1":3,"navigation-en-us":872,"banner-en-us":1310,"footer-en-us":1317,"blog-post-authors-en-us-Alexander Malaev":1564,"blog-related-posts-en-us-building-an-elixir-release-into-docker-image-using-gitlab-ci-part-1":1579,"blog-share-wrapper-en-us":1604,"next-steps-en-us":1614},{"id":4,"title":5,"authors":6,"body":8,"category":832,"date":833,"description":834,"extension":835,"externalUrl":836,"faq":836,"featured":837,"heroImage":838,"hidePromo":837,"meta":839,"navigation":862,"path":863,"seo":864,"slug":868,"stem":869,"tags":836,"template":870,"updatedDate":836,"__hash__":871},"blogPosts/en-us/blog/building-an-elixir-release-into-docker-image-using-gitlab-ci-part-1.md","Building an Elixir Release into a Docker image using GitLab CI - Part 1",[7],"Alexander Malaev",{"type":9,"value":10,"toc":827},"minimark",[11,19,22,51,56,62,69,144,147,219,230,233,336,339,435,438,441,444,493,499,601,607,610,672,675,678,683,715,718,723,778,781,785,802,806,809,820,823],[12,13,14,18],"p",{},[15,16,17],"strong",{},"Note:"," this post is a customer story by Alexander Malaev, a software developer.",[12,20,21],{},"Well, we are actively using Phoenix/Elixir in our projects for backend development, we also have a RoR project as a frontend-service for our Admin UI. Our project consists of a bunch of microservices written in Elixir/Erlang, and we are running it in production with Docker-containers linked together and composed by Docker-compose.",[12,23,24,25,29,30,33,34,38,39,42,43,46,47,50],{},"On every push to a project's branch on ",[26,27,28],"span",{},"GitLab",", ",[26,31,32],{},"GitLab CI"," runs tests, style checking, and other tasks. These tasks are configured using ",[35,36,37],"code",{},".gitlab-ci.yml",". On every merge to ",[35,40,41],{},"master"," GitLab builds a release image for us and uploads it to [GitLab Container Registry]",[26,44,45],{},"registry",". After all, we run ",[35,48,49],{},"docker-compose pull && docker-compose up -d"," on the servers to download the latest release images and upgrade our containers.",[52,53,55],"h2",{"id":54},"ci-pipeline","CI pipeline",[12,57,58,59,61],{},"So, in the following I will describe our release pipeline for Elixir services, using snippets from our project’s ",[35,60,37],{},".",[12,63,64,65,68],{},"We are using ",[35,66,67],{},"docker:latest"," image for our Runner, and several stages:",[70,71,76],"pre",{"className":72,"code":73,"language":74,"meta":75,"style":75},"language-yaml shiki shiki-themes github-light","image: docker:latest\nstages:\n  - build\n  - styles\n  - test\n  - release\n  - cleanup\n\n","yaml","",[35,77,78,94,103,112,120,128,136],{"__ignoreMap":75},[26,79,82,86,90],{"class":80,"line":81},"line",1,[26,83,85],{"class":84},"shJU0","image",[26,87,89],{"class":88},"sgsFI",": ",[26,91,93],{"class":92},"sYBdl","docker:latest\n",[26,95,97,100],{"class":80,"line":96},2,[26,98,99],{"class":84},"stages",[26,101,102],{"class":88},":\n",[26,104,106,109],{"class":80,"line":105},3,[26,107,108],{"class":88},"  - ",[26,110,111],{"class":92},"build\n",[26,113,115,117],{"class":80,"line":114},4,[26,116,108],{"class":88},[26,118,119],{"class":92},"styles\n",[26,121,123,125],{"class":80,"line":122},5,[26,124,108],{"class":88},[26,126,127],{"class":92},"test\n",[26,129,131,133],{"class":80,"line":130},6,[26,132,108],{"class":88},[26,134,135],{"class":92},"release\n",[26,137,139,141],{"class":80,"line":138},7,[26,140,108],{"class":88},[26,142,143],{"class":92},"cleanup\n",[12,145,146],{},"Passing some variables:",[70,148,150],{"className":72,"code":149,"language":74,"meta":75,"style":75},"variables:\n  APP_NAME: project\n  APP_VERSION: 0.0.1\n  CONTAINER_RELEASE_IMAGE: gitlab.example.org/example/project:latest\n  POSTGRES_HOST: postgres\n  POSTGRES_USER: postgres\n  POSTGRES_PASSWORD: password\n\n",[35,151,152,159,169,180,190,200,209],{"__ignoreMap":75},[26,153,154,157],{"class":80,"line":81},[26,155,156],{"class":84},"variables",[26,158,102],{"class":88},[26,160,161,164,166],{"class":80,"line":96},[26,162,163],{"class":84},"  APP_NAME",[26,165,89],{"class":88},[26,167,168],{"class":92},"project\n",[26,170,171,174,176],{"class":80,"line":105},[26,172,173],{"class":84},"  APP_VERSION",[26,175,89],{"class":88},[26,177,179],{"class":178},"sYu0t","0.0.1\n",[26,181,182,185,187],{"class":80,"line":114},[26,183,184],{"class":84},"  CONTAINER_RELEASE_IMAGE",[26,186,89],{"class":88},[26,188,189],{"class":92},"gitlab.example.org/example/project:latest\n",[26,191,192,195,197],{"class":80,"line":122},[26,193,194],{"class":84},"  POSTGRES_HOST",[26,196,89],{"class":88},[26,198,199],{"class":92},"postgres\n",[26,201,202,205,207],{"class":80,"line":130},[26,203,204],{"class":84},"  POSTGRES_USER",[26,206,89],{"class":88},[26,208,199],{"class":92},[26,210,211,214,216],{"class":80,"line":138},[26,212,213],{"class":84},"  POSTGRES_PASSWORD",[26,215,89],{"class":88},[26,217,218],{"class":92},"password\n",[12,220,221,222,225,226,229],{},"These variables are used during the release's build, so they will be available for all the stages. E.g., ",[35,223,224],{},"CONTAINER_RELEASE_IMAGE"," is used on the release stage, as a link to push the release image to. The ",[35,227,228],{},"POSTGRES_*"," variables are used to configure postgres service, and to connect later from containers.",[12,231,232],{},"Our build stage:",[70,234,236],{"className":72,"code":235,"language":74,"meta":75,"style":75},"build:\n  before_script:\n    - docker build -f Dockerfile.build -t ci-project-build-$CI_PROJECT_ID:$CI_BUILD_REF .\n    - docker create\n      -v /build/deps\n      -v /build/_build\n      -v /build/rel\n      -v /root/.cache/rebar3/\n      --name build_data_$CI_PROJECT_ID_$CI_BUILD_REF busybox /bin/true\n  tags:\n    - docker\n  stage: build\n  script:\n    - docker run --volumes-from build_data_$CI_PROJECT_ID_$CI_BUILD_REF --rm -t ci-project-build-$CI_PROJECT_ID:$CI_BUILD_REF\n\n",[35,237,238,245,252,260,267,272,277,282,288,294,302,310,320,328],{"__ignoreMap":75},[26,239,240,243],{"class":80,"line":81},[26,241,242],{"class":84},"build",[26,244,102],{"class":88},[26,246,247,250],{"class":80,"line":96},[26,248,249],{"class":84},"  before_script",[26,251,102],{"class":88},[26,253,254,257],{"class":80,"line":105},[26,255,256],{"class":88},"    - ",[26,258,259],{"class":92},"docker build -f Dockerfile.build -t ci-project-build-$CI_PROJECT_ID:$CI_BUILD_REF .\n",[26,261,262,264],{"class":80,"line":114},[26,263,256],{"class":88},[26,265,266],{"class":92},"docker create\n",[26,268,269],{"class":80,"line":122},[26,270,271],{"class":92},"      -v /build/deps\n",[26,273,274],{"class":80,"line":130},[26,275,276],{"class":92},"      -v /build/_build\n",[26,278,279],{"class":80,"line":138},[26,280,281],{"class":92},"      -v /build/rel\n",[26,283,285],{"class":80,"line":284},8,[26,286,287],{"class":92},"      -v /root/.cache/rebar3/\n",[26,289,291],{"class":80,"line":290},9,[26,292,293],{"class":92},"      --name build_data_$CI_PROJECT_ID_$CI_BUILD_REF busybox /bin/true\n",[26,295,297,300],{"class":80,"line":296},10,[26,298,299],{"class":84},"  tags",[26,301,102],{"class":88},[26,303,305,307],{"class":80,"line":304},11,[26,306,256],{"class":88},[26,308,309],{"class":92},"docker\n",[26,311,313,316,318],{"class":80,"line":312},12,[26,314,315],{"class":84},"  stage",[26,317,89],{"class":88},[26,319,111],{"class":92},[26,321,323,326],{"class":80,"line":322},13,[26,324,325],{"class":84},"  script",[26,327,102],{"class":88},[26,329,331,333],{"class":80,"line":330},14,[26,332,256],{"class":88},[26,334,335],{"class":92},"docker run --volumes-from build_data_$CI_PROJECT_ID_$CI_BUILD_REF --rm -t ci-project-build-$CI_PROJECT_ID:$CI_BUILD_REF\n",[12,337,338],{},"Before running this stage, we create a container which provides volumes for building artifacts. By the way, GitLab CI has a cache volume itself for similar purposes, but I couldn’t make it working correctly with GitLab Runner using Docker image.",[70,340,342],{"className":72,"code":341,"language":74,"meta":75,"style":75},"test:\n  services:\n    - postgres\n  tags:\n    - docker\n  stage: test\n  script:\n    - env\n    - docker run --rm\n      --link $POSTGRES_NAME:postgres\n      -e POSTGRES_HOST=$POSTGRES_HOST\n      -e POSTGRES_PASSWORD=$POSTGRES_PASSWORD\n      -e POSTGRES_USER=$POSTGRES_USER\n      -e MIX_ENV=$MIX_ENV\n      --volumes-from build_data_$CI_PROJECT_ID_$CI_BUILD_REF ci-project-build-$CI_PROJECT_ID:$CI_BUILD_REF sh -c \"mix ecto.setup && mix test\"\n\n",[35,343,344,351,358,364,370,376,384,390,397,404,409,414,419,424,429],{"__ignoreMap":75},[26,345,346,349],{"class":80,"line":81},[26,347,348],{"class":84},"test",[26,350,102],{"class":88},[26,352,353,356],{"class":80,"line":96},[26,354,355],{"class":84},"  services",[26,357,102],{"class":88},[26,359,360,362],{"class":80,"line":105},[26,361,256],{"class":88},[26,363,199],{"class":92},[26,365,366,368],{"class":80,"line":114},[26,367,299],{"class":84},[26,369,102],{"class":88},[26,371,372,374],{"class":80,"line":122},[26,373,256],{"class":88},[26,375,309],{"class":92},[26,377,378,380,382],{"class":80,"line":130},[26,379,315],{"class":84},[26,381,89],{"class":88},[26,383,127],{"class":92},[26,385,386,388],{"class":80,"line":138},[26,387,325],{"class":84},[26,389,102],{"class":88},[26,391,392,394],{"class":80,"line":284},[26,393,256],{"class":88},[26,395,396],{"class":92},"env\n",[26,398,399,401],{"class":80,"line":290},[26,400,256],{"class":88},[26,402,403],{"class":92},"docker run --rm\n",[26,405,406],{"class":80,"line":296},[26,407,408],{"class":92},"      --link $POSTGRES_NAME:postgres\n",[26,410,411],{"class":80,"line":304},[26,412,413],{"class":92},"      -e POSTGRES_HOST=$POSTGRES_HOST\n",[26,415,416],{"class":80,"line":312},[26,417,418],{"class":92},"      -e POSTGRES_PASSWORD=$POSTGRES_PASSWORD\n",[26,420,421],{"class":80,"line":322},[26,422,423],{"class":92},"      -e POSTGRES_USER=$POSTGRES_USER\n",[26,425,426],{"class":80,"line":330},[26,427,428],{"class":92},"      -e MIX_ENV=$MIX_ENV\n",[26,430,432],{"class":80,"line":431},15,[26,433,434],{"class":92},"      --volumes-from build_data_$CI_PROJECT_ID_$CI_BUILD_REF ci-project-build-$CI_PROJECT_ID:$CI_BUILD_REF sh -c \"mix ecto.setup && mix test\"\n",[12,436,437],{},"Notice that we must pass the variables and link postgres manually, since GitLab Runner is passing the variables only to the first level of Docker, but we go deeply ;)",[12,439,440],{},"We could link as many services as we want. For example, we are using Kafka for production, and on our test stage we make Kafka service available for running tests.",[12,442,443],{},"Style checking:",[70,445,447],{"className":72,"code":446,"language":74,"meta":75,"style":75},"styles:\n  tags:\n    - docker\n  stage: styles\n  script:\n    - docker run --rm\n      --volumes-from build_data_$CI_PROJECT_ID_$CI_BUILD_REF ci-project-build-$CI_PROJECT_ID:$CI_BUILD_REF sh -c \"mix credo --strict\"\n\n",[35,448,449,456,462,468,476,482,488],{"__ignoreMap":75},[26,450,451,454],{"class":80,"line":81},[26,452,453],{"class":84},"styles",[26,455,102],{"class":88},[26,457,458,460],{"class":80,"line":96},[26,459,299],{"class":84},[26,461,102],{"class":88},[26,463,464,466],{"class":80,"line":105},[26,465,256],{"class":88},[26,467,309],{"class":92},[26,469,470,472,474],{"class":80,"line":114},[26,471,315],{"class":84},[26,473,89],{"class":88},[26,475,119],{"class":92},[26,477,478,480],{"class":80,"line":122},[26,479,325],{"class":84},[26,481,102],{"class":88},[26,483,484,486],{"class":80,"line":130},[26,485,256],{"class":88},[26,487,403],{"class":92},[26,489,490],{"class":80,"line":138},[26,491,492],{"class":92},"      --volumes-from build_data_$CI_PROJECT_ID_$CI_BUILD_REF ci-project-build-$CI_PROJECT_ID:$CI_BUILD_REF sh -c \"mix credo --strict\"\n",[12,494,495,496,498],{},"Release task; we run it only on pushes to ",[35,497,41],{},":",[70,500,502],{"className":72,"code":501,"language":74,"meta":75,"style":75},"release:\n  tags:\n    - docker\n  stage: release\n  script:\n    - docker run\n      --volumes-from build_data_$CI_PROJECT_ID_$CI_BUILD_REF\n      -e MIX_ENV=prod --rm -t ci-project-build-$CI_PROJECT_ID:$CI_BUILD_REF\n      sh -c \"mix deps.get && mix compile && mix release\"\n    - docker cp build_data_$CI_PROJECT_ID_$CI_BUILD_REF:/build/rel/$APP_NAME/releases/$APP_VERSION/$APP_NAME.tar.gz .\n    - docker build -t $CONTAINER_RELEASE_IMAGE .\n    - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN gitlab.example.org:4567\n    - docker push $CONTAINER_RELEASE_IMAGE\n  only:\n    - master\n\n",[35,503,504,511,517,523,531,537,544,549,554,559,566,573,580,587,594],{"__ignoreMap":75},[26,505,506,509],{"class":80,"line":81},[26,507,508],{"class":84},"release",[26,510,102],{"class":88},[26,512,513,515],{"class":80,"line":96},[26,514,299],{"class":84},[26,516,102],{"class":88},[26,518,519,521],{"class":80,"line":105},[26,520,256],{"class":88},[26,522,309],{"class":92},[26,524,525,527,529],{"class":80,"line":114},[26,526,315],{"class":84},[26,528,89],{"class":88},[26,530,135],{"class":92},[26,532,533,535],{"class":80,"line":122},[26,534,325],{"class":84},[26,536,102],{"class":88},[26,538,539,541],{"class":80,"line":130},[26,540,256],{"class":88},[26,542,543],{"class":92},"docker run\n",[26,545,546],{"class":80,"line":138},[26,547,548],{"class":92},"      --volumes-from build_data_$CI_PROJECT_ID_$CI_BUILD_REF\n",[26,550,551],{"class":80,"line":284},[26,552,553],{"class":92},"      -e MIX_ENV=prod --rm -t ci-project-build-$CI_PROJECT_ID:$CI_BUILD_REF\n",[26,555,556],{"class":80,"line":290},[26,557,558],{"class":92},"      sh -c \"mix deps.get && mix compile && mix release\"\n",[26,560,561,563],{"class":80,"line":296},[26,562,256],{"class":88},[26,564,565],{"class":92},"docker cp build_data_$CI_PROJECT_ID_$CI_BUILD_REF:/build/rel/$APP_NAME/releases/$APP_VERSION/$APP_NAME.tar.gz .\n",[26,567,568,570],{"class":80,"line":304},[26,569,256],{"class":88},[26,571,572],{"class":92},"docker build -t $CONTAINER_RELEASE_IMAGE .\n",[26,574,575,577],{"class":80,"line":312},[26,576,256],{"class":88},[26,578,579],{"class":92},"docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN gitlab.example.org:4567\n",[26,581,582,584],{"class":80,"line":322},[26,583,256],{"class":88},[26,585,586],{"class":92},"docker push $CONTAINER_RELEASE_IMAGE\n",[26,588,589,592],{"class":80,"line":330},[26,590,591],{"class":84},"  only",[26,593,102],{"class":88},[26,595,596,598],{"class":80,"line":431},[26,597,256],{"class":88},[26,599,600],{"class":92},"master\n",[12,602,603,604,61],{},"We are using Conform to achieve runtime configuration of the release using environment variables. I use the approach described on this [blog post]",[26,605,606],{},"post-env",[12,608,609],{},"Task to cleanup things:",[70,611,613],{"className":72,"code":612,"language":74,"meta":75,"style":75},"cleanup_job:\n  tags:\n    - docker\n  stage: cleanup\n  script:\n    - docker rm -v build_data_$CI_PROJECT_ID_$CI_BUILD_REF\n    - docker rmi ci-project-build-$CI_PROJECT_ID:$CI_BUILD_REF\n  when: always\n\n",[35,614,615,622,628,634,642,648,655,662],{"__ignoreMap":75},[26,616,617,620],{"class":80,"line":81},[26,618,619],{"class":84},"cleanup_job",[26,621,102],{"class":88},[26,623,624,626],{"class":80,"line":96},[26,625,299],{"class":84},[26,627,102],{"class":88},[26,629,630,632],{"class":80,"line":105},[26,631,256],{"class":88},[26,633,309],{"class":92},[26,635,636,638,640],{"class":80,"line":114},[26,637,315],{"class":84},[26,639,89],{"class":88},[26,641,143],{"class":92},[26,643,644,646],{"class":80,"line":122},[26,645,325],{"class":84},[26,647,102],{"class":88},[26,649,650,652],{"class":80,"line":130},[26,651,256],{"class":88},[26,653,654],{"class":92},"docker rm -v build_data_$CI_PROJECT_ID_$CI_BUILD_REF\n",[26,656,657,659],{"class":80,"line":138},[26,658,256],{"class":88},[26,660,661],{"class":92},"docker rmi ci-project-build-$CI_PROJECT_ID:$CI_BUILD_REF\n",[26,663,664,667,669],{"class":80,"line":284},[26,665,666],{"class":84},"  when",[26,668,89],{"class":88},[26,670,671],{"class":92},"always\n",[12,673,674],{},"It removes the container with volumes created for build artifacts, and removes the image used during the pipeline. This task is running every time, despite the results of any previous tasks.",[12,676,677],{},"Below are our Dockerfiles:",[12,679,680,498],{},[35,681,682],{},"Dockerfile.build",[70,684,688],{"className":685,"code":686,"language":687,"meta":75,"style":75},"language-dockerfile shiki shiki-themes github-light","FROM msaraiva/elixir-gcc\nRUN apk add postgresql-client erlang-xmerl erlang-tools --no-cache\nWORKDIR /build\nADD . /build\nCMD mix deps.get\n","dockerfile",[35,689,690,695,700,705,710],{"__ignoreMap":75},[26,691,692],{"class":80,"line":81},[26,693,694],{},"FROM msaraiva/elixir-gcc\n",[26,696,697],{"class":80,"line":96},[26,698,699],{},"RUN apk add postgresql-client erlang-xmerl erlang-tools --no-cache\n",[26,701,702],{"class":80,"line":105},[26,703,704],{},"WORKDIR /build\n",[26,706,707],{"class":80,"line":114},[26,708,709],{},"ADD . /build\n",[26,711,712],{"class":80,"line":122},[26,713,714],{},"CMD mix deps.get\n",[12,716,717],{},"This image is used to create a container for running tests and style checks.",[12,719,720,498],{},[35,721,722],{},"Dockerfile",[70,724,726],{"className":685,"code":725,"language":687,"meta":75,"style":75},"FROM alpine:edge\nRUN apk — update add postgresql-client erlang erlang-sasl erlang-crypto erlang-syntax-tools && rm -rf /var/cache/apk/*\nENV APP_NAME project\nENV PORT 4000\nRUN mkdir -p /app\nCOPY $APP_NAME.tar.gz /app/\nWORKDIR /app\nRUN tar -zxvf $APP_NAME.tar.gz\nEXPOSE $PORT\nCMD trap exit TERM; /app/bin/$APP_NAME foreground & wait\n",[35,727,728,733,738,743,748,753,758,763,768,773],{"__ignoreMap":75},[26,729,730],{"class":80,"line":81},[26,731,732],{},"FROM alpine:edge\n",[26,734,735],{"class":80,"line":96},[26,736,737],{},"RUN apk — update add postgresql-client erlang erlang-sasl erlang-crypto erlang-syntax-tools && rm -rf /var/cache/apk/*\n",[26,739,740],{"class":80,"line":105},[26,741,742],{},"ENV APP_NAME project\n",[26,744,745],{"class":80,"line":114},[26,746,747],{},"ENV PORT 4000\n",[26,749,750],{"class":80,"line":122},[26,751,752],{},"RUN mkdir -p /app\n",[26,754,755],{"class":80,"line":130},[26,756,757],{},"COPY $APP_NAME.tar.gz /app/\n",[26,759,760],{"class":80,"line":138},[26,761,762],{},"WORKDIR /app\n",[26,764,765],{"class":80,"line":284},[26,766,767],{},"RUN tar -zxvf $APP_NAME.tar.gz\n",[26,769,770],{"class":80,"line":290},[26,771,772],{},"EXPOSE $PORT\n",[26,774,775],{"class":80,"line":296},[26,776,777],{},"CMD trap exit TERM; /app/bin/$APP_NAME foreground & wait\n",[12,779,780],{},"This Dockerfile is used to build an actual image with the Elixir release.",[52,782,784],{"id":783},"existing-problems","Existing problems",[786,787,788,792,795],"ul",{},[789,790,791],"li",{},"Now we don’t use the \"Erlang hot upgrade\" feature;",[789,793,794],{},"We don’t test if the release is correctly starting, now we are testing it manually and locally;",[789,796,797,798,801],{},"Every container uses its own \"epmd\" and intercommunication between the services, now made using REST apis, but I’m working on integration of [Erlang-In-Docker approach]",[26,799,800],{},"approach"," to use native erlang messaging between services.",[52,803,805],{"id":804},"whats-next","What’s next?",[12,807,808],{},"I have a plan to write and publish several articles about our release pipeline, to answer the following questions:",[786,810,811,814,817],{},[789,812,813],{},"How do we compile and publish assets?",[789,815,816],{},"How do we run our database migrations, since mix tasks aren’t available from the release image?",[789,818,819],{},"What problems are we facing during the implementation of this pipeline, and what solutions have we found.",[12,821,822],{},"Thanks for reading!",[824,825,826],"style",{},"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}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 .sYu0t, html code.shiki .sYu0t{--shiki-default:#005CC5}",{"title":75,"searchDepth":96,"depth":96,"links":828},[829,830,831],{"id":54,"depth":96,"text":55},{"id":783,"depth":96,"text":784},{"id":804,"depth":96,"text":805},"engineering","2016-08-11","Deploying projects written in Elixir/Erlang to production with Docker Containers and GitLab CI!","md",null,false,"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749665223/Blog/Hero%20Images/containers.jpg",{"excerpt":840},{"type":9,"value":841},[842,846,848],[12,843,844,18],{},[15,845,17],{},[12,847,21],{},[12,849,24,850,29,852,33,854,38,856,42,858,46,860,50],{},[26,851,28],{},[26,853,32],{},[35,855,37],{},[35,857,41],{},[26,859,45],{},[35,861,49],{},true,"/en-us/blog/building-an-elixir-release-into-docker-image-using-gitlab-ci-part-1",{"title":5,"description":834,"ogTitle":5,"ogDescription":834,"noIndex":837,"ogImage":838,"ogUrl":865,"ogSiteName":866,"ogType":867,"canonicalUrls":865},"https://about.gitlab.com/blog/building-an-elixir-release-into-docker-image-using-gitlab-ci-part-1","https://about.gitlab.com","article","building-an-elixir-release-into-docker-image-using-gitlab-ci-part-1","en-us/blog/building-an-elixir-release-into-docker-image-using-gitlab-ci-part-1","BlogPost","XcjQ7OQTT5Feq__c-0y1Y_DZiw9xtyScraR1rVDfmFY",{"logo":873,"freeTrial":878,"sales":883,"login":888,"items":893,"search":1229,"minimal":1261,"duo":1280,"switchNav":1289,"pricingDeployment":1300},{"config":874},{"href":875,"dataGaName":876,"dataGaLocation":877},"/","gitlab logo","header",{"text":879,"config":880},"Get free trial",{"href":881,"dataGaName":882,"dataGaLocation":877},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com&glm_content=default-saas-trial/","free trial",{"text":884,"config":885},"Request a demo",{"href":886,"dataGaName":887,"dataGaLocation":877},"/request-a-demo/","sales",{"text":889,"config":890},"Sign in",{"href":891,"dataGaName":892,"dataGaLocation":877},"https://gitlab.com/users/sign_in/","sign in",[894,980,1068,1073,1153,1207],{"text":895,"left":862,"config":896,"menu":898},"Platform",{"dataNavLevelOne":897},"platform",{"type":899,"link":900,"columns":904,"feature":969},"lists",{"text":901,"config":902},"Explore the Platform",{"href":903,"dataGaName":897,"dataGaLocation":877},"/platform/",[905,928,951],{"title":906,"items":907},"DevOps",[908,913,918,923],{"text":909,"config":910},"CI/CD",{"href":911,"dataGaLocation":877,"dataGaName":912},"/solutions/continuous-integration/","ci/cd",{"text":914,"config":915},"Source Code Management",{"href":916,"dataGaLocation":877,"dataGaName":917},"/solutions/source-code-management/","source code management",{"text":919,"config":920},"Agile Delivery",{"href":921,"dataGaLocation":877,"dataGaName":922},"/solutions/agile-delivery/","agile delivery",{"text":924,"config":925},"Artifact Management",{"href":926,"dataGaLocation":877,"dataGaName":927},"/artifact-central/","artifact management",{"title":929,"items":930},"Security & Governance",[931,936,941,946],{"text":932,"config":933},"Application Security Testing",{"href":934,"dataGaLocation":877,"dataGaName":935},"/solutions/application-security-testing/","application security testing",{"text":937,"config":938},"Governance & Compliance",{"href":939,"dataGaLocation":877,"dataGaName":940},"/solutions/software-compliance/","governance and compliance",{"text":942,"config":943},"Secrets Management",{"href":944,"dataGaLocation":877,"dataGaName":945},"/gitlab-secrets-manager/","secrets management",{"text":947,"config":948},"Supply Chain Security",{"href":949,"dataGaLocation":877,"dataGaName":950},"/solutions/supply-chain/","supply chain security",{"title":952,"items":953},"Agentic AI & Context",[954,959,964],{"text":955,"config":956},"Duo Agent Platform",{"href":957,"dataGaLocation":877,"dataGaName":958},"/gitlab-duo-agent-platform/","duo agent platform",{"text":960,"config":961},"Orbit Context Graph",{"href":962,"dataGaLocation":877,"dataGaName":963},"/gitlab-orbit/","orbit",{"text":965,"config":966},"Visibility & Measurement",{"href":967,"dataGaLocation":877,"dataGaName":968},"/solutions/visibility-measurement/","visibility and measurement",{"config":970,"title":973,"text":974,"link":975},{"background":971,"textColor":972},"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":976,"config":977},"Read the announcement",{"href":978,"dataGaName":979,"dataGaLocation":877},"/blog/gitlab-orbit-ga/","orbit ga announcement",{"text":981,"left":862,"config":982,"menu":984},"Solutions",{"dataNavLevelOne":983},"solutions",{"type":899,"link":985,"columns":989,"feature":1059},{"text":986,"config":987},"View all Solutions",{"href":988,"dataGaName":983,"dataGaLocation":877},"/solutions/",[990,1008,1026],{"title":991,"items":992},"Outcomes",[993,998,1003],{"text":994,"config":995},"DevOps Modernization",{"href":996,"dataGaLocation":877,"dataGaName":997},"/assessments/devops-modernization-assessment/","devops modernization",{"text":999,"config":1000},"Security Modernization",{"href":1001,"dataGaLocation":877,"dataGaName":1002},"/assessments/security-modernization-assessment/","security modernization",{"text":1004,"config":1005},"AI Modernization",{"href":1006,"dataGaLocation":877,"dataGaName":1007},"/assessments/ai-modernization-assessment/","ai modernization",{"title":1009,"items":1010},"By size",[1011,1016,1021],{"text":1012,"config":1013},"Enterprise",{"href":1014,"dataGaLocation":877,"dataGaName":1015},"/enterprise/","enterprise",{"text":1017,"config":1018},"Small Business",{"href":1019,"dataGaLocation":877,"dataGaName":1020},"/small-business/","small business",{"text":1022,"config":1023},"Startups",{"href":1024,"dataGaLocation":877,"dataGaName":1025},"/solutions/startups/","startups",{"title":1027,"items":1028},"Industries",[1029,1034,1039,1044,1049,1054],{"text":1030,"config":1031},"Financial Services",{"href":1032,"dataGaLocation":877,"dataGaName":1033},"/solutions/finance/","financial services",{"text":1035,"config":1036},"Public Sector",{"href":1037,"dataGaLocation":877,"dataGaName":1038},"/solutions/public-sector/","public sector",{"text":1040,"config":1041},"Telecommunications",{"href":1042,"dataGaLocation":877,"dataGaName":1043},"/solutions/telecommunications/","telecommunications",{"text":1045,"config":1046},"Automotive",{"href":1047,"dataGaLocation":877,"dataGaName":1048},"/solutions/automotive/","automotive",{"text":1050,"config":1051},"Education",{"href":1052,"dataGaLocation":877,"dataGaName":1053},"/solutions/education/","education",{"text":1055,"config":1056},"Aerospace",{"href":1057,"dataGaLocation":877,"dataGaName":1058},"/solutions/aerospace/","aerospace",{"config":1060,"title":1061,"text":1062,"link":1063},{"background":971,"textColor":972},"GitLab Security Standard","Learn how to harden your software factory and let AI agents earn autonomy, without trading away security.",{"text":1064,"config":1065},"Explore the standard",{"href":1066,"dataGaName":1067,"dataGaLocation":877},"/gitlab-security-standard/","gitlab security standard",{"text":1069,"config":1070},"Pricing",{"href":1071,"dataGaName":1072,"dataGaLocation":877,"dataNavLevelOne":1072},"/pricing/","pricing",{"text":1074,"config":1075,"menu":1077},"Resources",{"dataNavLevelOne":1076},"resources",{"type":899,"link":1078,"columns":1082,"feature":1144},{"text":1079,"config":1080},"View all resources",{"href":1081,"dataGaName":1076,"dataGaLocation":877},"/resources/",[1083,1116],{"title":1084,"items":1085},"Discover",[1086,1091,1096,1101,1106,1111],{"text":1087,"config":1088},"Docs",{"href":1089,"dataGaName":1090,"dataGaLocation":877},"https://docs.gitlab.com/","docs",{"text":1092,"config":1093},"University",{"href":1094,"dataGaName":1095,"dataGaLocation":877},"https://university.gitlab.com/","university",{"text":1097,"config":1098},"Demo Series",{"href":1099,"dataGaName":1100,"dataGaLocation":877},"/gitlab-technical-demo-series/","demo series",{"text":1102,"config":1103},"Demo Hub",{"href":1104,"dataGaName":1105,"dataGaLocation":877},"/demo-hub/","demo hub",{"text":1107,"config":1108},"Services",{"href":1109,"dataGaName":1110,"dataGaLocation":877},"/services/","services",{"text":1112,"config":1113},"Well Architected",{"href":1114,"dataGaName":1115,"dataGaLocation":877},"/resources/well-architected/","well architected",{"title":1117,"items":1118},"Connect",[1119,1124,1129,1134,1139],{"text":1120,"config":1121},"Blog",{"href":1122,"dataGaName":1123,"dataGaLocation":877},"/blog/","blog",{"text":1125,"config":1126},"Community",{"href":1127,"dataGaName":1128,"dataGaLocation":877},"/community/","community",{"text":1130,"config":1131},"Customers",{"href":1132,"dataGaName":1133,"dataGaLocation":877},"/customers/","customers",{"text":1135,"config":1136},"Partners",{"href":1137,"dataGaName":1138,"dataGaLocation":877},"/partners/","partners",{"text":1140,"config":1141},"Events",{"href":1142,"dataGaName":1143,"dataGaLocation":877},"/events/","events",{"config":1145,"title":1146,"text":1147,"link":1148},{"background":971,"textColor":972},"What’s new in GitLab","Stay updated with our latest features and improvements.",{"text":1149,"config":1150},"Read the latest",{"href":1151,"dataGaName":1152,"dataGaLocation":877},"/whats-new/","whats new",{"text":1154,"config":1155,"menu":1157},"Company",{"dataNavLevelOne":1156},"company",{"type":899,"columns":1158},[1159],{"items":1160},[1161,1166,1172,1177,1182,1187,1192,1197,1202],{"text":1162,"config":1163},"About",{"href":1164,"dataGaName":1165,"dataGaLocation":877},"/company/","about",{"text":1167,"config":1168,"footerGa":1171},"Jobs",{"href":1169,"dataGaName":1170,"dataGaLocation":877},"/jobs/","jobs",{"dataGaName":1170},{"text":1173,"config":1174},"Press",{"href":1175,"dataGaName":1176,"dataGaLocation":877},"/press/","press",{"text":1178,"config":1179},"Handbook",{"href":1180,"dataGaName":1181,"dataGaLocation":877},"https://handbook.gitlab.com/","handbook",{"text":1183,"config":1184},"Leadership",{"href":1185,"dataGaName":1186,"dataGaLocation":877},"/company/team/e-group/","leadership",{"text":1188,"config":1189},"Investor relations",{"href":1190,"dataGaName":1191,"dataGaLocation":877},"https://ir.gitlab.com/overview/default.aspx","investor relations",{"text":1193,"config":1194},"Trust Center",{"href":1195,"dataGaName":1196,"dataGaLocation":877},"/security/","trust center",{"text":1198,"config":1199},"AI Transparency Center",{"href":1200,"dataGaName":1201,"dataGaLocation":877},"/ai-transparency-center/","ai transparency center",{"text":1203,"config":1204},"Newsletter",{"href":1205,"dataGaName":1206,"dataGaLocation":877},"/company/contact/#contact-forms","newsletter",{"text":1208,"config":1209,"menu":1210},"Contact us",{"dataNavLevelOne":1156},{"type":899,"columns":1211},[1212],{"items":1213},[1214,1219,1224],{"text":1215,"config":1216},"Talk to sales",{"href":1217,"dataGaName":1218,"dataGaLocation":877},"/sales/","talk to sales",{"text":1220,"config":1221},"Support portal",{"href":1222,"dataGaName":1223,"dataGaLocation":877},"https://support.gitlab.com/hc/en-us","support portal",{"text":1225,"config":1226},"Customer portal",{"href":1227,"dataGaName":1228,"dataGaLocation":877},"https://customers.gitlab.com/customers/sign_in/","customer portal",{"close":1230,"login":1231,"suggestions":1238},"Close",{"text":1232,"link":1233},"To search repositories and projects, login to",{"text":1234,"config":1235},"gitlab.com",{"href":891,"dataGaName":1236,"dataGaLocation":1237},"search login","search",{"text":1239,"default":1240},"Suggestions",[1241,1244,1247,1249,1253,1257],{"text":1242,"config":1243},"GitLab Duo Agent Platform",{"href":957,"dataGaName":1242,"dataGaLocation":1237},{"text":1245,"config":1246},"Code Suggestions (AI)",{"href":957,"dataGaName":1245,"dataGaLocation":1237},{"text":909,"config":1248},{"href":911,"dataGaName":909,"dataGaLocation":1237},{"text":1250,"config":1251},"GitLab on AWS",{"href":1252,"dataGaName":1250,"dataGaLocation":1237},"/partners/technology-partners/aws/",{"text":1254,"config":1255},"GitLab on Google Cloud",{"href":1256,"dataGaName":1254,"dataGaLocation":1237},"/partners/technology-partners/google-cloud-platform/",{"text":1258,"config":1259},"Why GitLab?",{"href":1260,"dataGaName":1258,"dataGaLocation":1237},"/why-gitlab/",{"freeTrial":1262,"mobileIcon":1267,"desktopIcon":1272,"secondaryButton":1275},{"text":1263,"config":1264},"Start free trial",{"href":1265,"dataGaName":882,"dataGaLocation":1266},"https://gitlab.com/-/trials/new/","nav",{"altText":1268,"config":1269},"Gitlab Icon",{"src":1270,"dataGaName":1271,"dataGaLocation":1266},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203874/jypbw1jx72aexsoohd7x.svg","gitlab icon",{"altText":1268,"config":1273},{"src":1274,"dataGaName":1271,"dataGaLocation":1266},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203875/gs4c8p8opsgvflgkswz9.svg",{"text":1276,"config":1277},"Get Started",{"href":1278,"dataGaName":1279,"dataGaLocation":1266},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/get-started/","get started",{"freeTrial":1281,"mobileIcon":1285,"desktopIcon":1287},{"text":1282,"config":1283},"Learn more about GitLab Duo",{"href":957,"dataGaName":1284,"dataGaLocation":1266},"gitlab duo",{"altText":1268,"config":1286},{"src":1270,"dataGaName":1271,"dataGaLocation":1266},{"altText":1268,"config":1288},{"src":1274,"dataGaName":1271,"dataGaLocation":1266},{"button":1290,"mobileIcon":1295,"desktopIcon":1297},{"text":1291,"config":1292},"/switch",{"href":1293,"dataGaName":1294,"dataGaLocation":1266},"#contact","switch",{"altText":1268,"config":1296},{"src":1270,"dataGaName":1271,"dataGaLocation":1266},{"altText":1268,"config":1298},{"src":1299,"dataGaName":1271,"dataGaLocation":1266},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1773335277/ohhpiuoxoldryzrnhfrh.png",{"freeTrial":1301,"mobileIcon":1306,"desktopIcon":1308},{"text":1302,"config":1303},"Back to pricing",{"href":1071,"dataGaName":1304,"dataGaLocation":1266,"icon":1305},"back to pricing","GoBack",{"altText":1268,"config":1307},{"src":1270,"dataGaName":1271,"dataGaLocation":1266},{"altText":1268,"config":1309},{"src":1274,"dataGaName":1271,"dataGaLocation":1266},{"title":1311,"button":1312,"config":1316},"GitLab Orbit is generally available. Increase agent accuracy and lower token cost",{"text":976,"config":1313},{"href":978,"dataGaName":1314,"dataGaLocation":1315},"orbit-ga-banner","global-banner",{"layout":508,"disabled":837},{"data":1318},{"text":1319,"config":1320,"items":1325,"minimal":1553},"Git is a trademark of Software Freedom Conservancy and our use of 'GitLab' is under license",{"twitter":1321,"facebook":1322,"youtube":1323,"linkedin":1324},"https://twitter.com/gitlab","https://www.facebook.com/gitlab","https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg","https://www.linkedin.com/company/gitlab-com",[1326,1374,1433,1480,1521],{"title":1069,"links":1327,"subMenu":1343},[1328,1333,1338],{"text":1329,"config":1330},"View plans",{"href":1071,"dataGaName":1331,"dataGaLocation":1332},"view plans","footer",{"text":1334,"config":1335},"Why Premium?",{"href":1336,"dataGaName":1337,"dataGaLocation":1332},"/pricing/premium/","why premium",{"text":1339,"config":1340},"Why Ultimate?",{"href":1341,"dataGaName":1342,"dataGaLocation":1332},"/pricing/ultimate/","why ultimate",[1344],{"title":1345,"links":1346},"Contact Us",[1347,1350,1352,1354,1359,1364,1369],{"text":1348,"config":1349},"Contact sales",{"href":1217,"dataGaName":887,"dataGaLocation":1332},{"text":1220,"config":1351},{"href":1222,"dataGaName":1223,"dataGaLocation":1332},{"text":1225,"config":1353},{"href":1227,"dataGaName":1228,"dataGaLocation":1332},{"text":1355,"config":1356},"Status",{"href":1357,"dataGaName":1358,"dataGaLocation":1332},"https://status.gitlab.com/","status",{"text":1360,"config":1361},"Terms of use",{"href":1362,"dataGaName":1363,"dataGaLocation":1332},"/terms/","terms of use",{"text":1365,"config":1366},"Privacy statement",{"href":1367,"dataGaName":1368,"dataGaLocation":1332},"/privacy/","privacy statement",{"text":1370,"config":1371},"Cookie preferences",{"dataGaName":1372,"dataGaLocation":1332,"id":1373,"isOneTrustButton":862},"cookie preferences","ot-sdk-btn",{"title":895,"links":1375,"subMenu":1391},[1376,1379,1381,1383,1385,1387],{"text":1377,"config":1378},"Explore the platform",{"href":903,"dataGaName":897,"dataGaLocation":1332},{"text":955,"config":1380},{"href":957,"dataGaName":958,"dataGaLocation":1332},{"text":909,"config":1382},{"href":911,"dataGaName":912,"dataGaLocation":1332},{"text":960,"config":1384},{"href":962,"dataGaName":963,"dataGaLocation":1332},{"text":942,"config":1386},{"href":944,"dataGaName":945,"dataGaLocation":1332},{"text":1388,"config":1389},"Why GitLab",{"href":1260,"dataGaName":1390,"dataGaLocation":1332},"why gitlab",[1392],{"title":1393,"links":1394},"Topics",[1395,1399,1404,1408,1413,1418,1423,1428],{"text":909,"config":1396},{"href":1397,"dataGaName":1398,"dataGaLocation":1332},"/topics/ci-cd/","cicd",{"text":1400,"config":1401},"GitOps",{"href":1402,"dataGaName":1403,"dataGaLocation":1332},"/topics/gitops/","gitops",{"text":906,"config":1405},{"href":1406,"dataGaName":1407,"dataGaLocation":1332},"/topics/devops/","devops",{"text":1409,"config":1410},"Version Control",{"href":1411,"dataGaName":1412,"dataGaLocation":1332},"/topics/version-control/","version control",{"text":1414,"config":1415},"DevSecOps",{"href":1416,"dataGaName":1417,"dataGaLocation":1332},"/topics/devsecops/","devsecops",{"text":1419,"config":1420},"Cloud Native",{"href":1421,"dataGaName":1422,"dataGaLocation":1332},"/topics/cloud-native/","cloud native",{"text":1424,"config":1425},"AI for Coding",{"href":1426,"dataGaName":1427,"dataGaLocation":1332},"/topics/devops/ai-for-coding/","ai for coding",{"text":1429,"config":1430},"Agentic AI",{"href":1431,"dataGaName":1432,"dataGaLocation":1332},"/topics/agentic-ai/","agentic ai",{"title":981,"links":1434},[1435,1438,1441,1444,1447,1450,1452,1454,1456,1458,1460,1463,1465,1468,1472,1476],{"text":1436,"config":1437},"DevOps modernization",{"href":996,"dataGaName":997,"dataGaLocation":1332},{"text":1439,"config":1440},"Security modernization",{"href":1001,"dataGaName":1002,"dataGaLocation":1332},{"text":1442,"config":1443},"AI modernization",{"href":1006,"dataGaName":1007,"dataGaLocation":1332},{"text":1445,"config":1446},"Financial services",{"href":1032,"dataGaName":1033,"dataGaLocation":1332},{"text":1448,"config":1449},"Public sector",{"href":1037,"dataGaName":1038,"dataGaLocation":1332},{"text":1040,"config":1451},{"href":1042,"dataGaName":1043,"dataGaLocation":1332},{"text":1045,"config":1453},{"href":1047,"dataGaName":1048,"dataGaLocation":1332},{"text":1050,"config":1455},{"href":1052,"dataGaName":1053,"dataGaLocation":1332},{"text":1055,"config":1457},{"href":1057,"dataGaName":1058,"dataGaLocation":1332},{"text":1012,"config":1459},{"href":1014,"dataGaName":1015,"dataGaLocation":1332},{"text":1461,"config":1462},"Small business",{"href":1019,"dataGaName":1020,"dataGaLocation":1332},{"text":1022,"config":1464},{"href":1024,"dataGaName":1025,"dataGaLocation":1332},{"text":1400,"config":1466},{"href":1467,"dataGaName":1403,"dataGaLocation":1332},"/solutions/gitops/",{"text":1469,"config":1470},"Software composition analysis",{"href":949,"dataGaName":1471,"dataGaLocation":1332},"software composition analysis",{"text":1473,"config":1474},"Value stream management",{"href":967,"dataGaName":1475,"dataGaLocation":1332},"value stream management",{"text":1477,"config":1478},"All solutions",{"href":988,"dataGaName":1479,"dataGaLocation":1332},"all solutions",{"title":1074,"links":1481},[1482,1487,1492,1494,1496,1498,1500,1502,1504,1506,1508,1510,1512,1514,1517],{"text":1483,"config":1484},"Install",{"href":1485,"dataGaName":1486,"dataGaLocation":1332},"/install/","install",{"text":1488,"config":1489},"Quick start guides",{"href":1490,"dataGaName":1491,"dataGaLocation":1332},"/get-started/","quick setup checklists",{"text":1087,"config":1493},{"href":1089,"dataGaName":1090,"dataGaLocation":1332},{"text":1092,"config":1495},{"href":1094,"dataGaName":1095,"dataGaLocation":1332},{"text":1097,"config":1497},{"href":1099,"dataGaName":1100,"dataGaLocation":1332},{"text":1102,"config":1499},{"href":1104,"dataGaName":1105,"dataGaLocation":1332},{"text":1107,"config":1501},{"href":1109,"dataGaName":1110,"dataGaLocation":1332},{"text":1120,"config":1503},{"href":1122,"dataGaName":1123,"dataGaLocation":1332},{"text":1125,"config":1505},{"href":1127,"dataGaName":1128,"dataGaLocation":1332},{"text":1130,"config":1507},{"href":1132,"dataGaName":1133,"dataGaLocation":1332},{"text":1135,"config":1509},{"href":1137,"dataGaName":1138,"dataGaLocation":1332},{"text":1140,"config":1511},{"href":1142,"dataGaName":1143,"dataGaLocation":1332},{"text":1203,"config":1513},{"href":1205,"dataGaName":1206,"dataGaLocation":1332},{"text":1515,"config":1516},"What's new",{"href":1151,"dataGaName":1152,"dataGaLocation":1332},{"text":1518,"config":1519},"All resources",{"href":1081,"dataGaName":1520,"dataGaLocation":1332},"all resources",{"title":1154,"links":1522},[1523,1525,1527,1529,1531,1533,1535,1537,1539,1543,1548],{"text":1162,"config":1524},{"href":1164,"dataGaName":1156,"dataGaLocation":1332},{"text":1167,"config":1526},{"href":1169,"dataGaName":1170,"dataGaLocation":1332},{"text":1173,"config":1528},{"href":1175,"dataGaName":1176,"dataGaLocation":1332},{"text":1178,"config":1530},{"href":1180,"dataGaName":1181,"dataGaLocation":1332},{"text":1183,"config":1532},{"href":1185,"dataGaName":1186,"dataGaLocation":1332},{"text":1188,"config":1534},{"href":1190,"dataGaName":1191,"dataGaLocation":1332},{"text":1193,"config":1536},{"href":1195,"dataGaName":1196,"dataGaLocation":1332},{"text":1198,"config":1538},{"href":1200,"dataGaName":1201,"dataGaLocation":1332},{"text":1540,"config":1541},"Sustainability",{"href":1542,"dataGaName":1540,"dataGaLocation":1332},"/sustainability/",{"text":1544,"config":1545},"Diversity, inclusion and belonging (DIB)",{"href":1546,"dataGaName":1547,"dataGaLocation":1332},"/diversity-inclusion-belonging/","Diversity, inclusion and belonging",{"text":1549,"config":1550},"Modern Slavery Transparency Statement",{"href":1551,"dataGaName":1552,"dataGaLocation":1332},"https://handbook.gitlab.com/handbook/legal/modern-slavery-act-transparency-statement/","modern slavery transparency statement",{"items":1554},[1555,1558,1561],{"text":1556,"config":1557},"Terms",{"href":1362,"dataGaName":1363,"dataGaLocation":1332},{"text":1559,"config":1560},"Cookies",{"dataGaName":1372,"dataGaLocation":1332,"id":1373,"isOneTrustButton":862},{"text":1562,"config":1563},"Privacy",{"href":1367,"dataGaName":1368,"dataGaLocation":1332},[1565],{"id":1566,"title":7,"body":836,"config":1567,"content":1569,"description":836,"extension":1573,"meta":1574,"navigation":862,"path":1575,"seo":1576,"stem":1577,"__hash__":1578},"blogAuthors/en-us/blog/authors/alexander-malaev.yml",{"template":1568},"BlogAuthor",{"name":7,"config":1570},{"headshot":1571,"ctfId":1572},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749659488/Blog/Author%20Headshots/gitlab-logo-extra-whitespace.png","Alexander-Malaev","yml",{},"/en-us/blog/authors/alexander-malaev",{},"en-us/blog/authors/alexander-malaev","KqBKzxSUA1i552dD3yr38zH3AoyBHn92z6737WFCJhg",[1580,1588,1596],{"title":1581,"description":1582,"heroImage":1583,"category":832,"date":1584,"authors":1585,"slug":1587,"externalUrl":836},"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",[1586],"Donovan Felton","module-level-access-in-a-django-grc-app",{"title":1589,"description":1590,"heroImage":1591,"category":832,"date":1592,"authors":1593,"slug":1595,"externalUrl":836},"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",[1594],"Mikolaj Wawrzyniak","how-gitlab-reduced-code-per-agentic-flow-ratio",{"title":1597,"description":1598,"heroImage":1599,"category":832,"date":1600,"authors":1601,"slug":1603,"externalUrl":836},"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",[1602],"Isa Huerga","co-create-h1-2026",{"header":1605,"text":1606,"button":1610,"disclaimer":1613},"Start your free\n\n30-day GitLab trial\n",[1607,1608,1609],"GitLab Duo Agent Platform access","Try our most advanced features","Automate complex tasks with AI",{"text":879,"config":1611},{"href":1612,"dataGaName":882,"dataGaLocation":1123},"https://gitlab.com/-/trials/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/blog/","No credit card required.",{"header":1615,"blurb":1616,"button":1617,"secondaryButton":1622},"Start building faster today","See what your team can do with the intelligent orchestration platform for DevSecOps.\n",{"text":1618,"config":1619},"Get your free trial",{"href":1620,"dataGaName":882,"dataGaLocation":1621},"https://gitlab.com/-/trial_registrations/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/","feature",{"text":1348,"config":1623},{"href":1217,"dataGaName":887,"dataGaLocation":1621},1794911774112]