-
gitolite
In
.gitolite.rc
,LOCAL_CODE
points to$HOME/.gitlite/local
.$LOCAL_CODE/hooks/common
contains a link to thepost-receive
script, which is thus linked to in all repositories hooks directory. -
post-receive
GL_REPO
is set in the environment bygitolite
.CYGNAME
is set in the environment by.ssh/authorized_keys
.If the git receive updated a reference, this queues a build using the GitHub repository dispatch REST API, parameterized by BUILDNUMBER, PACKAGE, MAINTAINER, COMMIT etc.
-
.github/workflows/scallywag.yml
a. Installs Cygwin.
b. Invokes
scallywag
.Stores BUILDNUMBER, PACKAGE, MAINTAINER, COMMIT and ARCH etc. in a JSON build artifact.
Checks out the specific COMMIT of the PACKAGE repository which triggered this build.
Builds package artifacts using
cygport
.c. GitHub POSTs a workflow_run event to a GitHub App webhook when the workflow is complete.
-
gh-hook.cgi
Extracts status and artifacts information from the event.
Extracts BUILDNUMBER, PACKAGE, MAINTAINER, COMMIT from the JSON artifact.
Stores all that information in an sqlite db.
jobs.cgi
provides a web interface to examine that information.If the git reference updated was 'master', deploy is enabled for this maintainer, and not disabled for this package, mark the package artifacts as ready to fetch.
-
fetch.py
Fetch the build artifacts, unpack them into CYGNAME's upload area on sourceware, and request upload processing by calm.
-
Notifications
You must be signed in to change notification settings - Fork 3
cygwin/scallywag
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A thing which tells things to make things you can use to do things