Tobias Diekershoff 25093d6ea8
All checks were successful
continuous-integration/drone/push Build is passing
template changes 1.22.2
2024-09-20 16:04:02 +02:00
2024-02-22 08:31:56 +01:00
2021-08-05 13:43:04 +02:00
2024-09-20 16:04:02 +02:00
2023-01-13 15:20:10 +01:00
2024-02-21 16:30:14 +01:00
2021-04-21 12:32:18 +02:00
2021-04-21 12:32:45 +02:00
2022-03-14 16:40:15 +01:00
2024-02-21 16:30:14 +01:00

FSFE Git Service

in docs.fsfe.org

This Ansible playbook takes care of setting up the FSFE's Git Service, currently based on Gitea. Some sensible bits are encrypted.

  • Base setup of host
  • MySQL database for gitea
  • Gitea configuration
  • Webserver (nginx) including some rate limits

Prerequisites

The machine should be connected via innernet in order to authenticate users via LDAP. This is not part of this playbook.

Updates and configuration

Use this playbook to update the configuration of all elements described above. There is one exception though:

Upgrading Gitea

First, make a snapshot of davy in Proxmox and schedule downtime in the monitoring system. Before proceeding with the update, also announce the possible downtime in the team chat.

To upgrade Gitea itself (in binary form), use /root/bin/gitea-upgrade.sh while providing the desired version. For example:

/root/bin/gitea-upgrade.sh 1.13.7

This takes care of downloading the binary, checking the hashsum, replacing the binary, and reminding you of restarting the service.

Afterwards - especially after major upgrades compare the upstream templates for this release (choose the tag!) with the ones stored in roles/gitea/files/custom/templates. If substantial changes happened with this release, take the new versions and migrate the custom changes to them. You have to rerun the playbook (ansible-playbook playbook -t gitea) and restart gitea to put these into effect.

Description
Ansible playbook for Gitea server (database, gitea, webserver, ldap)
https://git.fsfe.org Readme 244 KiB
Languages
Jinja 74.7%
Shell 24%
CSS 1.3%