aboutsummaryrefslogtreecommitdiff
BranchCommit messageAuthorAge
allow-concurrent-database-queriesdatabase: Enable running up to 4 database queries at once.Christopher Baines5 years
db-get-builds-performance-tuningBegin tuning db-get-builds for performanceChristopher Baines5 years
handle-errors-in-worker-threadsutils: Handle errors in worker threads.Christopher Baines5 years
improve-handling-of-rowidsAlter the Builds table to have an id fieldChristopher Baines5 years
sqlite-statement-reset-fixesFix using sqlite-reset in a few queriesChristopher Baines4 years
support-publishing-build-eventsSupport publishing evaluation eventsChristopher Baines5 years
support-publishing-build-events-minimalSupport publishing evaluation eventsChristopher Baines5 years
support-returning-build-information-by-outputSupport returning build information by output.Christopher Baines5 years
wip-govukWIPChristopher Baines8 years
 
 
AgeCommit messageAuthor
2019-12-28Support publishing evaluation events•••* src/cuirass/database.scm (db-add-evaluation): Record the creation of new evaluations as events. (db-set-evaluation-done): Record when evaluations finish as an event. * src/cuirass/http.scm (url-handler): Add a new /api/evaluation-events page. support-publishing-build-events-minimalChristopher Baines
2019-12-28Support publishing build events•••Add a table to store events, which have a type and a JSON blob. These can be used to record changes, this commit inserts events when new builds are created, and when the status of builds change. The EventsOutbox table is then used to track when events have been sent out. This is done through the new cuirass-send-events script. * Makefile.am (bin_SCRIPTS): Add bin/cuirass-send-events. (dist_pkgmodule_DATA): Add src/cuirass/send-events.scm. (dist_sql_DATA): Add src/sql/upgrade-5.sql. (EXTRA_DIST): bin/cuirass-send-events.in. (bin/cuirass-send-events): New rule. * bin/cuirass-send-events.in: New file. * src/cuirass/send-events.scm: New file. * src/sql/upgrade-5.sql: New file. * src/cuirass/database.scm (changes-count): New procedure. (db-update-build-status!): Call db-add-event after updating the build status. (db-add-event): New procedure. (db-add-build): Insert an event when a new build is inserted. (db-delete-events-with-ids-<=-to): New procedure. * src/schema.sql (Events): New table. Christopher Baines
2019-11-03base: 'build-derivations&' closes the build output port only once.•••* src/cuirass/base.scm (build-derivations&): Remove extra 'close-port' call in 'guard' clause. Ludovic Courtès
2019-10-30tests: Remove 405 test.•••This is a follow-up to commit c88a7c006ef164015e5c3fb1544b8112bf6ececf. * tests/http.scm: Remove test for invalid POST to /build/1. Ricardo Wurmus
2019-10-30http: Add route for /admin.•••* src/cuirass/http.scm (url-handler): Handle /admin route. Ricardo Wurmus
2019-10-30bin: Remove redundant lambda.•••* bin/cuirass.in (main): Remove redundant lambda wrapping in for-each. Ricardo Wurmus
2019-10-30http: Handle specification deletion and addition.•••* src/cuirass/http.scm (url-handler): Handle /admin/specifications/add, /admin/specifications/delete/*, and /admin/specifications. Ricardo Wurmus
2019-10-30templates: specifications-table: Add admin features.•••* src/cuirass/templates.scm (specifications-table): Handle optional ADMIN? argument. Ricardo Wurmus
2019-10-30database: Add db-remove-specification.•••* src/cuirass/database.scm (db-remove-specification): New procedure. Ricardo Wurmus
2019-10-30http: Be explicit about accepted HTTP methods.•••* src/cuirass/http.scm (url-handler): Match on HTTP method. Ricardo Wurmus
[...]
 
Clone
https://git.cbaines.net/git/guix/cuirass
git@git.cbaines.net:guix/cuirass