How to build containers with the AWS Fargate Custom Executor for GitLab Runner and AWS CodeBuild
One of the most significant limitations of AWS Fargate is the inability to run containers in privileged mode. This limitation means Docker-in-Docker (DinD), which enables the building and running of container images inside of containers, does not work with the AWS Fargate Custom Executor driver for GitLab Runner . The good news is that users don't have to be blocked by this limitation and may use a cloud-native approach to build containers, effectively leveraging a seamless integration with AWS CodeBuild in the CI/CD pipeline. We provide in-depth instructions on how to autoscale GitLab CI on AWS Fargate in GitLab Runner's documentation . In this blog post, we explain how to instrument CI containers and source repositories to trigger AWS CodeBuild and use it to build container images. Architecture overview How distinct CI workloads run on Fargate. The picture above illustrates distinct GitLab CI workloads running on Fargate. The container identified by ci-coordinator (001) ...