Skip to content

NatLibFi/edge-webhook-relay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Edge webhook relay

Webhook relay for University Of Helsinki (The National Library Of Finland)

Working hook url schemas:

  • https://<baseUrl>/<project>/<buildConfig>/<secret>
  • https://<baseUrl>/namespaces/<project>/buildconfigs/<buildConfig>/webhooks/<secret>/generic
  • https://<baseUrl>/apis/build.openshift.io/v1/namespaces/<project>/buildconfigs/<buildConfig>/webhooks/<secret>/generic

Envs

Generic envs

Name Description default or e.g.
OPENSHIFT_WEBHOOK_URL OpenShift webhook url 'https://xxx:0000/apis/build.openshift.io/v1/namespaces'
HTTP_PORT HTTP port express listens '8080'
GITHUB_META_URL URL where github releases IP ranges 'https://api.github.com/meta'
IP_WHITELIST [], '["xxx.xxx.xxx.xxx"]'

License and copyright

Copyright (c) 2022-2024 University Of Helsinki (The National Library Of Finland)

This project's source code is licensed under the terms of MIT or any later version.