marge-bot

by Wiremind

Helm chartv1.4.4App 0.14.0Verified publisher

Marge-bot is a merge-bot for GitLab

About this chart

Marge-bot Helm Chart

Marge-bot is a merge-bot for GitLab

This is a fork of zhilyaev/marge-bot-helm using hiboxsystems/marge-bot instead of non maintained smarkets/marge-bot

See hiboxsystems/marge-bot for more project details.

Chart Details

This chart uses env vars from values.yaml of helm chart.

Marge-bot version listed in the Chart.yaml

Installing the Marge-bot Helm Chart

Inline

$ helm repo add wiremind https://wiremind.github.io/wiremind-helm-charts
$ helm install <RELEASE_NAME> wiremind/marge-bot \
 --set "env[0].name=MARGE_GITLAB_URL" --set "env[0].value=<GITLAB_URL>" \
 --set "env[0].name=MARGE_AUTH_TOKEN" --set "env[0].value=<GITLAB_AUTH_TOKEN>" \
 --set "env[0].name=MARGE_SSH_KEY"    --set "env[0].value=$(cat ssh-key)"

With values file

$ cat my.values
env:
  - name: MARGE_GITLAB_URL
    value: https://gitlab.com
  - name: MARGE_AUTH_TOKEN
    value: asdfsdkafjkdaf
  - name: MARGE_SSH_KEY
    value: |-
      -----BEGIN RSA PRIVATE KEY-----
$ helm install <RELEASE_NAME> stable/marge-bot -f my.values

Deploy marge-bot with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has marge-bot on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartmarge-bot is pinned at v1.4.4 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply