Skip to content

Commit 8ea423f

Browse files
authored
Config documentation improvements (#65)
1 parent 141e1a1 commit 8ea423f

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,4 @@ GITLAB_AUTH_TOKEN="<token>" yarn run start
9393
| `AUTORUN_MANUAL_BLOCKING_JOBS` | `true` | It'll autorun manual blocking jobs before merge |
9494
| `SKIP_SQUASHING_LABEL` | `bot:skip-squash` | It'll skip squash when MR contains this label |
9595
| `HI_PRIORITY_LABEL` | `bot:hi-priority` | It'll put MR with this label to the beginning of the queue |
96+
| `SENTRY_DSN` | `` | It'll enable Sentry monitoring |

charts/gitlab-merger-bot/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v1
22
appVersion: "1.0"
33
description: A Helm chart for Kubernetes
44
name: gitlab-merger-bot
5-
version: 1.2.2
5+
version: 1.2.3
66
home: https://github.com/pepakriz/gitlab-merger-bot
77
maintainers:
88
- name: pepakriz

charts/gitlab-merger-bot/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ spec:
4545
value: "{{ .Values.settings.ciCheckInterval }}"
4646
- name: MR_CHECK_INTERVAL
4747
value: "{{ .Values.settings.mrCheckInterval }}"
48+
- name: REMOVE_BRANCH_AFTER_MERGE
49+
value: "{{ .Values.settings.removeBranchAfterMerge }}"
50+
- name: SQUASH_MERGE_REQUEST
51+
value: "{{ .Values.settings.squashMergeRequest }}"
4852
- name: AUTORUN_MANUAL_BLOCKING_JOBS
4953
value: "{{ .Values.settings.autorunManualBlockingJobs }}"
5054
- name: SENTRY_DSN

charts/gitlab-merger-bot/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ settings:
2626
sentryDsn: ""
2727
ciCheckInterval: 10
2828
mrCheckInterval: 20
29+
removeBranchAfterMerge: true
30+
squashMergeRequest: true
2931
autorunManualBlockingJobs: true
3032
skipSquashingLabel: ""
3133
hiPriorityLabel: ""

0 commit comments

Comments
 (0)