Compare commits

..

7 commits

Author SHA1 Message Date
c0277fa8b9
bundles/grafana/items.py: fix permissions 2023-09-29 10:27:53 +02:00
d95a8e6d59
wip 2023-09-29 10:27:53 +02:00
e9c64ec089
wip 2023-09-29 10:27:53 +02:00
ed0295c4f7
wip 2023-09-29 10:27:53 +02:00
1910398b60
wip 2023-09-29 10:27:53 +02:00
1f3740dd59
some gitea fixes 2023-09-29 10:27:39 +02:00
919f5f2c08
remove print() 2023-09-29 10:21:18 +02:00
2 changed files with 4 additions and 2 deletions

View file

@ -6,8 +6,6 @@ version = node.metadata.get('gitea/version')
assert not version.startswith('v')
arch = node.metadata.get('system/architecture')
print(f'https://codeberg.org/forgejo/forgejo/releases/download/v{version}/forgejo-{version}-linux-{arch}')
downloads['/usr/local/bin/gitea'] = {
# https://forgejo.org/releases/
'url': f'https://codeberg.org/forgejo/forgejo/releases/download/v{version}/forgejo-{version}-linux-{arch}',
@ -50,6 +48,7 @@ files['/etc/gitea/app.ini'] = {
),
),
'owner': 'git',
'mode': '0600',
'context': node.metadata['gitea'],
'triggers': {
'svc_systemd:gitea:restart',

View file

@ -12,6 +12,9 @@ defaults = {
},
'gitea': {
'conf': {
'DEFAULT': {
'WORK_PATH': '/var/lib/gitea',
},
'database': {
'DB_TYPE': 'postgres',
'HOST': 'localhost:5432',