gitlab_webhook_responder

command module
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2022 License: LGPL-3.0 Imports: 9 Imported by: 0

README

gitlab_webhook_responder

responds to webhooks requests made by gitlab for whatever you want to make it

usage

  • have an executable relative to the working directory or the program (idk probably working directory) called update-website.sh (or modify the name)
  • run ./gitlab_webhook_responder --port=17192 --host=0.0.0.0 --token="aTokenForGitlab"
  • setup gitlab webhooks

install

go install gitlab.com/JacksonChen666/gitlab_webhook_responder@latest i guess

sidetracked: the port choice

the method of choosing the port wasn't necessarily arbitrary.

since this project was made for some needs and my ports weren't really working, i chose a default port number for the program to listen to, which is 17192.

the reason it's 17192 is because when you take the gitlab logo from here, render an svg to a raster image at a resolution of 1024 in gimp, scale the image to 1x1 with NoHalo interpolation (again, with gimp), and take the color pixel and do a modulo opreation by 65536, you get 17192.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL