2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/guix-cuirass.git synced 2023-12-14 06:03:04 +01:00
guix-cuirass/tests
Mathieu Othacehe 0a84f0eda0
cuirass: Store new information in database to prepare new HTTP API
integration.

* bin/evaluate.in (fill-job): New procedure.
(main): Use it to fill informations (nix-name, system) that will later be
added to database.
* doc/cuirass.texi (Database)[Derivation]: Add system and nix_name fields.
(Database)[Builds]: Add id, status, timestamp, starttime and stoptime
fields. Remove output field.
(Database)[Outputs]: New table describing the build outputs.
* src/cuirass/base.scm (build-packages): Add new fields to build object before
adding it to database.
* src/cuirass/database.scm (db-get-build, db-get-builds): New procedures to get
a build by id from database and a list of builds using filter parameters
respectively.
* src/schema.sql (Outputs) : New table.
(Derivations): Add system and nix_name columns.
(Builds): Remove output column and add id, status, timestamp, starttime and
stoptime columns.
2017-09-08 21:15:31 +02:00
..
base.scm tests: Add missing test group statements. 2016-07-27 14:17:10 +02:00
basic.sh Add 'basic.sh' test. 2016-07-03 16:50:27 +02:00
database.scm cuirass: Store new information in database to prepare new HTTP API 2017-09-08 21:15:31 +02:00
http.scm tests: Compare JSON objects instead of JSON strings. 2017-05-10 16:28:56 +02:00
ui.scm tests: Add missing test group statements. 2016-07-27 14:17:10 +02:00
utils.scm utils: Remove useless procedures. 2017-07-01 18:47:18 +02:00