aboutsummaryrefslogtreecommitdiff
path: root/.env.sample
Commit message (Collapse)AuthorAgeFilesLines
* Refactor upload processingKevin J Hoerr2021-09-121-1/+3
|
* Add template process to serve bash fileKevin J Hoerr2019-12-091-0/+1
| | | | | | | | | | | | Unfortunately, a static file can't really be used to serve the connection - the host address is needed to link back to the server. Only a light library is needed to handle the template file though, and if more are needed in the future it should be a non-trivial task to add them to the process. By default I'm configuring this to work with drone.io, since that is the CI that I personally will be using (most likely). It should be non-trivial to configure other CI to handle the script as well.
* Add winston, express-winston to handle loggingKevin J Hoerr2019-12-081-1/+3
|
* Add Metadata core with MongoDB for persistenceKevin J Hoerr2019-12-071-0/+2
| | | | | | | | | | | With the new process dependency, process handling has been added to ensure that the ExpressJS server and MongoDB client connections get closed up properly. As noted in the Metadata file above the Branch interface, the schema is definitely not finalized. Eventually metadata will be needed at the repo level anyways, so reorganizing the document schema is high on the priority list.
* Implement file handling for reportsKevin J Hoerr2019-11-291-1/+2
|
* Set up initial projectKevin J Hoerr2019-11-101-0/+3
Initializes project with TypeScript, ExpressJS, and Badgen. Defines initial (v1) request paths: GET /bash GET /v1/:org/:repo/:branch.svg GET /v1/:org/:repo/:branch.html GET /v1/:org/:repo/:branch/:commit.svg GET /v1/:org/:repo/:branch/:commit.html POST /v1/:org/:repo/:branch/:commit.html?token=&format= Also sets up interfaces for defining multiple formats. Tarpaulin is defined but not implemented. All requests (aside from GET /bash) return 501 NOT IMPLEMENTED. A global TOKEN is expected for POST request. This can and should be adapted to assigning tokens per repository, though this may require verification from the originating repository or administrative designation.