Deploy webhook-to-fedora-messaging to prod

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2024-09-03 09:57:32 +02:00
parent fcfaccfa5d
commit f26baf7de2
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD
4 changed files with 38 additions and 22 deletions

View file

@ -18,10 +18,11 @@ databases:
- notifications - notifications
- odcs - odcs
- pagure - pagure
- tahrir
- waiverdb
- transtats
- resultsdb - resultsdb
- tahrir
- transtats
- waiverdb
- webhook2fedmsg
- zezere - zezere
datacenter: iad2 datacenter: iad2
db_backup_dir: ['/backups'] db_backup_dir: ['/backups']
@ -40,10 +41,11 @@ dbs_to_backup:
- notifications - notifications
- odcs - odcs
- pagure - pagure
- tahrir
- waiverdb
- transtats
- resultsdb - resultsdb
- tahrir
- transtats
- waiverdb
- webhook2fedmsg
- zezere - zezere
# Should be 0.80 of memory # Should be 0.80 of memory
effective_cache_size: "50GB" effective_cache_size: "50GB"

View file

@ -941,3 +941,14 @@
ocp4: true ocp4: true
tags: tags:
- fedoraplanet - fedoraplanet
- role: httpd/reverseproxy
website: "webhook{{ env_suffix }}.fedoraproject.org"
destname: webhook2fedmsg
balancer_name: apps-ocp
balancer_members: "{{ (env == 'staging')|ternary(ocp_nodes_stg, ocp_nodes) }}"
targettype: openshift
keephost: true
ocp4: true
tags:
- webhook2fedmsg

View file

@ -1195,7 +1195,7 @@
sslonly: true sslonly: true
certbot: true certbot: true
tags: tags:
- epel.io - epel.io
- role: httpd/website - role: httpd/website
site_name: "fedoraplanet.org" site_name: "fedoraplanet.org"
@ -1205,4 +1205,11 @@
sslonly: true sslonly: true
certbot: true certbot: true
tags: tags:
- fedoraplanet.org - fedoraplanet.org
- role: httpd/website
site_name: "webhook{{ env_suffix }}.fedoraproject.org"
sslonly: true
cert_name: "{{wildcard_cert_name}}"
tags:
- webhook2fedmsg

View file

@ -457,24 +457,20 @@ children:
then be responsible for filing bugs, attempting to then be responsible for filing bugs, attempting to
automatically build packages, perform some preliminary QA automatically build packages, perform some preliminary QA
checks, etc.. checks, etc..
- name: github2fedmsg - name: Webhook to Fedora Messaging
data: data:
icon: github.png url: https://webhook.fedoraproject.org/
url: https://apps.fedoraproject.org/github2fedmsg source_url: https://github.com/fedora-infra/webhook-to-fedora-messaging
source_url: https://github.com/fedora-infra/github2fedmsg bugs_url: https://github.com/fedora-infra/webhook-to-fedora-messaging/issues
bugs_url: https://github.com/fedora-infra/github2fedmsg/issues
docs_url: > docs_url: >
https://github.com/fedora-infra/github2fedmsg/blob/develop/README.rst#github2fedmsg https://github.com/fedora-infra/webhook-to-fedora-messaging/
sops: sops:
- https://infrastructure.fedoraproject.org/infra/docs/github2fedmsg.rst - https://docs.fedoraproject.org/en-US/infra/sysadmin_guide/webhook2fedmsg/
status_mappings: ['fedmsg']
description: > description: >
github2fedmsg is a web service that bridges upstream Webhook to Fedora Messaging is a web service that bridges upstream
development activity from <a activity into the <a href="https://fedora-messaging.readthedocs.io/"
href="https://github.com">GitHub</a> into the <a >Fedora Infrastructure message bus</a>. Visit the self-service
href="https://fedmsg.readthedocs.io/">Fedora Infrastructure message dashboard to add your application.
bus</a>. Visit the self-service dashboard to toggle the
status of your repositories.
- name: Pagure - name: Pagure
data: data:
icon: pagure.png icon: pagure.png