Skip to content

Middleware to alter gitea payloads into something quay can use consistently.

License

Notifications You must be signed in to change notification settings

azusapacificuniversity/gitea-quay-connector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gitea Quay Connector

This is middleware that will proxy gitea post data into a format that quay will be able to consume consistently. In some local testing, quay has not been able to consistently parse the data from the gitea payloads, to generate tags properly. This alters the gitea payload to exactly match the currently documented requirements from RedHat.

Testing Locally

You can make changes locally to the app.js and test it by running npm start. After that you should be able to view the page locally at http://localhost:3000

Building a container image:

Run podman build ./ -t gitea-quay-connector:latest

Usage

Run the middleware container and append quaywebhook with the webhook from yourquay instance to the host url.

Examples:
http://localhost:3000/?quaywebhook=<YourWebhookFromQuayHere>
http://localhost:3000/?quaywebhook=https://$token:FJLSFK1gk8402...@quay.example.edu/...
https://middleware.okd.example.edu/?quaywebhook=https://$token:FJLSFK1gk8402...@quay.example.edu/...

About

Middleware to alter gitea payloads into something quay can use consistently.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published