Commit Graph

19 Commits

Author SHA1 Message Date
f222d859e6 WIP Adding GET /project/<projectName> endpoint. 2017-11-20 10:05:55 -06:00
6340b2fa49 Remove the concept of named, identifiable runs.
StarBoss is meant for building things checked into the repo It is also designed
around repeatable builds. So it makes the assumption that running a build step
for a specific version of a project will always result in the same output. So
runs are identified by the project, build step, and version.
2017-11-20 09:15:03 -06:00
e39c1186c8 Refactor utils out into cliutils package. 2017-08-15 14:30:03 -05:00
0a6023c656 Smalll documentation, TODOs. 2017-08-01 08:49:42 -05:00
1299311a4c Added test of build step running. 2017-06-14 01:06:43 -05:00
3d8454d486 Reworking runs to include an id, save the run request. 2017-05-11 10:51:06 -05:00
e2c3aeca09 Documentation for server module, stubbed out API methods. 2017-05-11 10:48:54 -05:00
a1100f17d8 Fix bug around spawning worker processes.
We were expecting to find the path to the `strawboss` binary implicitly from
the environment, which meant that configuration was also implicit, and required
more setup. Now the path to the binary is explicit in the StrawBoss runtime
configuration, and the path to the configuration file can also be explicitly given.
2017-05-11 10:43:55 -05:00
37682441ea Split testing into unit and functional tests.
* Split the `test` nimble task into `unittest` and `functest`, with
  corresponding test directories and test runners.
* Added documentation in README regarding building and testing StrawBoss.
* Created a small, simple test project for use in the functional tests.
* Added a `keepEnv` template in the server unit test code to make it easy to
  preserve the working environment for a single unit test to invistigate
  failures manually.
2017-05-10 11:44:46 -05:00
fd804a9aa8 Implemented list project versions endpoint. 2017-05-08 12:41:46 -05:00
781eeb6a13 Change auth-token endpoint from GET to POST. 2017-05-08 12:39:38 -05:00
6aaca4a078 Change the auth handler code in the server to play better with the resp macro (again). 2017-05-08 12:38:32 -05:00
1e2af48892 Implemented GET on /projects/<proj-id> and started unit tests. 2017-04-25 12:57:13 -05:00
e547ecd607 Code cleanup in server.nim 2017-04-25 12:55:48 -05:00
ec967ec2bf Added ProjectDef parsing code. Unit test for , authentication logic. 2017-04-24 16:31:58 -05:00
b402a8eb6d Fix jester options (port, appName). 2017-04-23 00:19:32 -05:00
3e8bbb1676 Add debug switch and API endpoint to stop server when in debug mode. 2017-04-23 00:18:57 -05:00
52b7d2f48b Implemented password hashing. Added and improved tests. 2017-03-24 01:04:39 -05:00
b5a70f6de0 WIP: tests, REST API support (auth). 2017-03-19 06:34:42 -05:00