An open API service indexing awesome lists of open source software.

https://github.com/codenomad1337/gitlab-autosetup

This repository contains scripts to start GitLab and GitLab-Runner as Podman container on Windows. This should not be used in production!
https://github.com/codenomad1337/gitlab-autosetup

gitlab gitlab-runner podman podman-compose

Last synced: 6 months ago
JSON representation

This repository contains scripts to start GitLab and GitLab-Runner as Podman container on Windows. This should not be used in production!

Awesome Lists containing this project

README

          

# GitLab-Autosetup
This repository contains scripts to start GitLab and GitLab-Runner as Podman container on Windows. This should not be used in production!

## Requriements
On a Windows Host Podman needs to be installed and configured with WSL.
For service ports (<1024) the `/etc/sysctl.conf` of the WSL podman should contain the following line: `net.ipv4.ip_unprivileged_port_start=22`

## Setup
Create a `root_password.txt` with the root password.
Now you can start the `setup.ps1` script.

It will create GitLab and depending on the number of replicas defined in `compose.yml` (default: 4) the GitLab-Runner instances. Those will register themself to the GitLab instance.

By default port forwarding and firewall rules are added for SSH, HTTP and HTTPS.

## Teardown
Once your work is done just execute `teardown.ps1`.

The podman volumes will keep the configurations.

## ToDo / known issues
- Remove 'old' runners from registered runners
- Don't re-register if a runner has a valid registration