Gitll is an ansible playbook that allow to quickly configure local dev environment:
- gitlab-ce
- gitlab-runner
- python v3.12
- podman v5
- systemd v255
cat << 'EOF' >> .env
export GITLAB_POD_ADMIN_PASSWORD="xxx"
export GITLAB_POD_ADMIN_API_TOKEN="yyy"
export GITLAB_POD_ADMIN_SSH_PUB_KEY="ssh-rsa zzz Administrator (domain.com)"
export GITLAB_POD_TLS_CA_PATH="/some/file1"
export GITLAB_POD_TLS_CRT_PATH="/some/file2"
export GITLAB_POD_TLS_KEY_PATH="/some/file3"
EOF
source .env
python -m venv --upgrade-deps .venv && source .venv/bin/activate
pip install --requirement ansible/pip_requirements.txt
export ANSIBLE_CONFIG=ansible/ansible.cfg
ansible-galaxy install --role-file ansible/galaxy_requirements.yml
ansible-playbook -K ansible/[install|delete].yml
systemctl start gitlab-pod-backup.service && journalctl -u gitlab-pod-backup -f
systemctl start gitlab-pod-restore.service && journalctl -u gitlab-pod-restore -f
cat /etc/containers/containers.conf
#[network]
#network_backend = "cni"
[containers]
shm_size="256m"