Commit graph

20 commits

Author SHA1 Message Date
7a17ef277e
gitlab: fix bool filter for csp enabled conf 2023-08-27 16:41:40 +02:00
a06720b7d7
gitlab: add config to control csp
This is mainly to disable CSP as a workaround, until this issue is resolved:
https://gitlab.com/gitlab-org/gitlab/-/issues/422936
2023-08-27 16:20:46 +02:00
e695ba0aa6
telegraf: Disable read-only for now to make it work again
The official image just pushed an update to all tags which sets capabilities on runtime and thus breaks read only environments. Gotta make my own image later.
2021-12-20 01:43:28 +01:00
f6941eebc6
gitlab: Add mattermost configuration variables 2021-09-21 04:53:26 +02:00
c0b3f585b7
gitlab: Add LDAP configuration variables 2021-09-21 04:49:53 +02:00
09402ed943
gitlab: Add SMTP starttls & verify mode as variables 2021-09-21 04:41:21 +02:00
eda6169ed1
gitlab: Use explicit enabled flag for SAML & IMAP settings
BREAKING!

This patch consistently defines both variables and adds an explicit enabled flag to the structures.
2021-09-14 01:42:21 +02:00
47f4de58d7
gitlab: Add options for port and entrypoint to registry config
This patch enables users to customize the entrypoint and port that is shown for external access (only supplied so gitlab can still show valid registry links).
2021-08-15 23:57:13 +02:00
Sheogorath
ab6570dc9e
gitlab: Reduce log retention drastically
This patch instructs gitlab's omnibus image to configure logging to only
retain 5 files for each services which are not larger than 10MiB or
older than a day (default rotation time).

This should help to prevent random crashes/becoming unhealthy, which
seems to originate from a filled up tmpfs for logging.

Reference:
https://docs.gitlab.com/13.11/omnibus/settings/logs.html#runit-logs
2021-05-30 17:15:35 +02:00
f62d1682e9
gitlab: Add telegraf integration
This patch adds a telegraf client to the gitlab role, that can be
activated by defining `gitlab_telegraf`. It allows to collect all
prometheus metric with telegraf and store them in influxDB.

This is an experimental feature.

Authored by: Sheogorath
Co-authored-by: Sheogorath <sheogorath@shivering-isles.com>
2021-03-28 02:43:51 +01:00
6c7d8325d9
gitlab: Add dependency proxy feature config 2021-03-17 03:09:11 +01:00
Sheogorath
88195836b7
gitlab: Make memory limits configurable
This patch adds two new variables to the gitlab playbook, making the
memory limits of the container configurable and this way easier to
adjust to one's needs.
2021-02-16 11:25:45 +01:00
Sheogorath
ea0ae8ea51
gitlab: Reduce logging volume size
It seems that the tempfs also causes some low-memory situations.
Reducing the size should help to prevent the issue.
2021-02-12 22:11:19 +01:00
Sheogorath
0859e99a6d
Fix condition for gitlab_log_tmpfs feature
In the current way, no volume for gitlab logs would be created by
default. This is undesired.
2021-02-01 08:52:48 +01:00
Sheogorath
7ea009d7a4
gitlab: Add option to use a tmpfs instead of log bindmount
This patch will provide a new config option `gitlab_log_tmpfs` to
configure the docker container to setup a tmpfs instead of the bindmount
for the log directory of GitLab.

This should solve all headache around logs clogging up the disk but
might just trades it against memory problems. So far the test-run looks
good, but time will tell if it is a sufficent solution.
2021-02-01 08:51:59 +01:00
aa8320f60d
gitlab: Upgrade mem_limit yet again 2021-01-23 18:15:32 +01:00
d2ca4a6197
gitlab: Higher memory limit 2021-01-17 14:32:48 +01:00
Sheogorath
45baf159d9
gitlab: Add memory limits to role
This patch adds the missing memory limits to the role making it easier
to keep GitLab in check in a machine.
2021-01-16 21:30:50 +01:00
07c4baba07
gitlab: Add setting to enable packages feature 2020-08-23 12:01:00 +02:00
ac6d8172dd
Initial commit 2020-08-10 01:37:13 +02:00