rename some gitea stuff to forgejo
This commit is contained in:
parent
a8e2e6b5ad
commit
f6b0c587d0
3 changed files with 7 additions and 8 deletions
|
@ -36,7 +36,7 @@ Rule of thumb: keep ports below 10000 free for stuff that reserves ports.
|
|||
| 20090 | matrix-media-repo | prometheus metrics |
|
||||
| 21000 | pleroma | pleroma |
|
||||
| 21010 | grafana | grafana |
|
||||
| 22000 | gitea | gitea |
|
||||
| 22000 | gitea | forgejo |
|
||||
| 22010 | jenkins-ci | Jenkins CI |
|
||||
| 22020 | travelynx | Travelynx Web |
|
||||
| 22030 | octoprint | OctoPrint Web Interface |
|
||||
|
|
|
@ -6,7 +6,7 @@ defaults = {
|
|||
},
|
||||
},
|
||||
'gitea': {
|
||||
'app_name': 'Gitea',
|
||||
'app_name': 'Forgejo',
|
||||
'database': {
|
||||
'username': 'gitea',
|
||||
'password': repo.vault.password_for('{} postgresql gitea'.format(node.name)),
|
||||
|
@ -23,7 +23,7 @@ defaults = {
|
|||
'icinga2_api': {
|
||||
'gitea': {
|
||||
'services': {
|
||||
'GITEA PROCESS': {
|
||||
'FORGEJO PROCESS': {
|
||||
'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_systemd_unit gitea',
|
||||
},
|
||||
},
|
||||
|
@ -67,7 +67,7 @@ defaults = {
|
|||
|
||||
|
||||
@metadata_reactor.provides(
|
||||
'nginx/vhosts/gitea',
|
||||
'nginx/vhosts/forgejo',
|
||||
)
|
||||
def nginx(metadata):
|
||||
if not node.has_bundle('nginx'):
|
||||
|
@ -76,7 +76,7 @@ def nginx(metadata):
|
|||
return {
|
||||
'nginx': {
|
||||
'vhosts': {
|
||||
'gitea': {
|
||||
'forgejo': {
|
||||
'domain': metadata.get('gitea/domain'),
|
||||
'locations': {
|
||||
'/': {
|
||||
|
@ -102,8 +102,7 @@ def icinga_check_for_new_release(metadata):
|
|||
'icinga2_api': {
|
||||
'gitea': {
|
||||
'services': {
|
||||
'GITEA UPDATE': {
|
||||
# this is only temporary. We will switch to forgejo once they have their first stable release.
|
||||
'FORGEJO UPDATE': {
|
||||
'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_forgejo_for_new_release codeberg.org forgejo/forgejo v{}'.format(metadata.get('gitea/version')),
|
||||
'vars.notification.mail': True,
|
||||
'check_interval': '60m',
|
||||
|
|
|
@ -327,7 +327,7 @@ nodes['rx300'] = {
|
|||
},
|
||||
'vhosts': {
|
||||
'element-web': {'ssl': '_.franzi.business'},
|
||||
'gitea': {'ssl': '_.franzi.business'},
|
||||
'forgejo': {'ssl': '_.franzi.business'},
|
||||
'jenkins-ci': {'ssl': '_.franzi.business'},
|
||||
'matrix-dimension': {'ssl': '_.franzi.business'},
|
||||
'matrix-synapse': {'ssl': '_.franzi.business'},
|
||||
|
|
Loading…
Reference in a new issue