Gitea deployment, now Ansible based

Sandro Santilli strk at kbt.io
Wed May 8 08:30:36 PDT 2024


FYI, the Gitea configuration is now controlled via ansible.


Staging deploy:

  ANSIBLE_CONFIG=ansible.osgeo.staging.cfg \
  ansible-playbook deployment/deploy-gitea.yml

Production deploy:

  ANSIBLE_CONFIG=ansible.osgeo.staging.cfg \
  ansible-playbook deployment/deploy-gitea.yml

The configuration is now a template:

  deployment/roles/gitea/templates/app.ini.j2

This allows us to use variables to tweak the configuration
for use in staging, as done by the staging inventory group
var file:

  inventory/staging/group_vars/gitea.yml

For this reason the gitea-config git repository was archived
and remotes for it were removed from the production and
the staging server.

The wiki page was updated accordingly:

  https://wiki.osgeo.org/wiki/SAC:Gitea


--strk;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/sac/attachments/20240508/b92c44f6/attachment.sig>


More information about the Sac mailing list