marge-bot

by netpositive

Helm chartv1.1.0App 0.12.1Verified publisher

Marge-bot is a merge-bot for GitLab

About this chart

Marge-bot Helm Chart

Marge-bot is a merge-bot for GitLab

With this chart, you can configure marge-bot command line arguments and/or a config file. See the values.yaml for examples.

Marge-bot version listed in the Chart.yaml


This chart is a fork of wiremind-helm-charts/mage-bot using hiboxsystems/marge-bot

Configuration

# custom-values.yaml

# optional config file
# The contents will be loaded using the --config-file option described here: https://github.com/hiboxsystems/marge-bot#configuring
config: |-
  branch-regexp: .*
  batch: false
  impersonate-approvers: true
  project-regexp: .*

  # allowing any of these makes MRs with "squash commits" unmergeable by marge-bot
  add-part-of: false
  add-reviewers: false
  add-tested: false

secret:
  gitlabUrl: "https://gitlab.example.org"
  # ssh private key must already be in base64 format, use this command on
  # yours: base64 -w0 <my_private_key>
  sshKey: "..."
  authToken: "..."

Installing the Marge-bot Helm Chart

$ helm install <RELEASE_NAME> netpositive/marge-bot -f custom-values.yaml

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.1.0 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