What is Docker-in-docker ( DinD )?
Docker-in-Docker (DinD) is a common technique used in GitLab CI/CD pipelines on Kubernetes to run Docker commands within Docker containers.
Docker-in-Docker (DinD) is a common technique used in GitLab CI/CD pipelines on Kubernetes to run Docker commands within Docker containers.
Create GitLab instance c2d-gitlab
.
A guide to setting up the GitLab CE node pxd-gitlab
with Ansible and troubleshooting steps.
Create GitLab Runner node pxd-gitlab-runner
and make it available to GitLab CE running on pxd-gitlab
.
Create an GitLab instance with container registry and a GitLab Runner.
Learn how to generate SSH keys for securely accessing C2 Platform GitLab repositories and set up a GitLab account.
Create GitLab Container Registry on node c2d-gitlab
.
Learn how to create a Kerberos keytab file for secure, automated authentication without human intervention.
Create Kubernetes cluster on node c2d-ks1
and manage it using GitLab Agent.
This example project demonstrates how to utilize Git LFS (Large File Storage) alongside GitLab Pages to create a simple Ansible software repository. Specifically designed for air-gapped environments, this configuration facilitates hosting and distributing software binaries and Ansible Galaxy collections.
Create GitLab Runner node c2d-gitlab-runner
.
Running GitLab pipelines in Kubernetes using local GitLab instance c2d-gitlab
.
Streamline the development and release process of Ansible collections with a CI/CD pipeline to Ansible Galaxy.
Ansible Inventory projects and Ansible Collection projects used RWS.
Example CI/CD Pipeline for an Ansible Collection
Unlimited and unrestricted usage of an advanced software development platform for all disciplines, from version control to project management and CI/CD workloads.
Docker-in-docker image based on docker:20.10.16-dind
for the development environment. This image is intended to be used on the GitLab instance running on c2d-gitlab
.
Clear and comprehensive documentation that fosters collaboration and optimizes automation projects.
A guide to enabling Git LFS in a GitLab repository and adding files.
Welcome to the Git LFS and GitLab Pages example project! This repository demonstrates how to use Git LFS (Large File Storage) and GitLab Pages to create a simple Ansible Software Repository tailored for air-gapped environments. This setup allows hosting and distributing software binaries and Ansible Galaxy collections.
Docker image for the development environment c2d
. This image is intended to be used for GitLab instance running on c2d-gitlab
.
Run DinD locally for example to develop a GitLab CI/CD pipeline that will use this technique
Instructions for provisioning infrastructure using Ansible within a GitLab CI/CD pipeline. For the PHX project, the Ansible Automation Platform (AAP) is not yet available; therefore, a GitLab CI/CD pipeline is used as a temporary solution.
Using keytab files in your CI/CD pipelines can enhance security, but it requires careful handling to avoid exposing sensitive information. This guide provides best practices for using keytab files securely in GitLab CI/CD.