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/src/sql
Mathieu Othacehe fd432b8e8f
Use specification for periodic builds.
When the periodic argument is passed to a job, it will be registered only if
the time difference between the current time and the registration time of the
last build is greater than the specified period. Make sure that the last job
that is searched is part of the same specification.

* src/sql/upgrade-16.sql: New file.
* Makefile.am (dist_sql_DATA): Add it.
* src/schema.sql (Builds_job_name_timestamp): New index.
* src/cuirass/database.scm (db-get-time-since-previous-build): Add
"specification" argument,
(db-register-builds): pass it.
2020-11-25 16:49:22 +01:00
..
upgrade-1.sql Add support for multiple inputs. 2018-07-16 21:33:14 +02:00
upgrade-2.sql database: Merge Derivations into Builds table. 2018-08-16 19:19:23 +02:00
upgrade-3.sql database: Add a Checkouts table. 2018-08-27 15:38:44 +02:00
upgrade-4.sql database: Add builds only if one of their outputs is new. 2018-09-29 22:29:06 +02:00
upgrade-5.sql Support publishing build events 2020-01-16 08:32:52 +00:00
upgrade-6.sql Alter the Builds table to have an id field 2020-01-25 22:22:39 +00:00
upgrade-7.sql Add support for build products downloading. 2020-06-10 16:42:21 +02:00
upgrade-8.sql sql: Add a couple of indexes. 2020-06-13 16:02:59 +01:00
upgrade-9.sql Save evaluations and checkouts timestamps. 2020-09-06 13:03:08 +02:00
upgrade-10.sql Add a status field to Evaluation table. 2020-09-10 15:16:15 +02:00
upgrade-11.sql Add metrics support. 2020-09-14 14:32:12 +02:00
upgrade-12.sql Optimize database queries. 2020-09-28 17:49:55 +02:00
upgrade-13.sql Do not allow full search on nix_name field. 2020-10-05 14:54:06 +02:00
upgrade-14.sql Add index on builds table. 2020-10-06 18:26:28 +02:00
upgrade-15.sql Optimize build query. 2020-10-07 13:07:05 +02:00
upgrade-16.sql Use specification for periodic builds. 2020-11-25 16:49:22 +01:00