-
gitoliteIn
.gitolite.rc,LOCAL_CODEpoints to$HOME/.gitlite/local.$LOCAL_CODE/hooks/commoncontains a link to thepost-receivescript, which is thus linked to in all repositories hooks directory. -
post-receiveGL_REPOis set in the environment bygitolite.CYGNAMEis 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.ymla. 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.cgiExtracts 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.cgiprovides 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.pyFetch 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