9192550331
Implement more support for builds from the Guix Build Coordinator
...
Builds from the Guix Build Coordinator might not have timestamps, and the id
from the build server is more important, as one build server can build the
same derivation many times.
2020-07-01 09:35:29 +01:00
b19227c086
Order build statuses by id, not timestamp
...
Some builds from Cuirass change status at the same timestamp, so use the id
for ordering instead.
2020-03-01 15:57:35 +00:00
c355c42584
Enhance ensure-build-exists
...
Support calling it with derivation-output-details-set-id, which can be used
when querying for builds.
2020-02-15 21:28:09 +00:00
7326e8b3bb
Remove the restriction on cross build derivation querying
...
As some build servers do build cross derivations.
2020-02-11 22:48:12 +00:00
bd52629674
Fix insert-build when derivation_output_details_set_id is NULL
...
I can't figure out how to insert NULL through a param, so just construct a
query to insert the values directly.
2020-01-16 20:37:02 +00:00
54baf32be6
Fix select-build-id-by-build-server-and-derivation-file-name
...
The id will be wrapped in a list.
2020-01-16 20:34:44 +00:00
0e3c28ffbd
Fix more cases where equivalent builds were missed
2019-12-26 23:22:54 +00:00
0cea51cc79
Add copyright and license headers to a bunch of source files
...
That were missing them.
2019-12-26 10:16:55 +00:00
e359cfea2b
Fix the derivations list on the builds page
2019-12-23 22:36:53 +00:00
5c643e09e5
Fix the unknown build counts on the builds pages
2019-12-23 21:30:36 +00:00
14b7993636
Allow filtering the revision builds page by system
2019-12-22 14:27:59 +00:00
e4a7f221c9
Filter builds on the revision builds page by revision
2019-12-22 14:27:49 +00:00
89e34f3df8
Ignore cross built derivations for the build stats
2019-12-22 14:27:49 +00:00
5b54259974
Fix matching equivalent derivations in another function
2019-12-16 20:11:57 +00:00
5337b171ea
Add a function to find the builds required for a build that failed
2019-12-16 15:19:02 +00:00
771b01ef80
Link to the build pages from the derivation page
2019-12-16 15:19:02 +00:00
308d1d7102
Add a page for each build
2019-12-16 15:18:14 +00:00
a59f352046
Split out select-build-by-build-server-and-derivation-file-name
...
Create select-build-id-by-build-server-and-derivation-file-name, which just
returns the id, and then a variant that returns more fields for making a page
for each build.
2019-12-15 10:32:40 +00:00
b693d3e57d
Improve select-builds-with-context-by-derivation-file-name
...
To find builds for equivalent derivations.
2019-12-15 08:51:31 +00:00
a84fc954d1
Extend select-build-stats to allow filtering by revision
2019-12-14 20:59:54 +00:00
633e757fe8
Break down the build stats by build server
2019-12-14 20:17:53 +00:00
156b7eea7e
Improve the select-build-stats function
...
Account for equivalent derivations, rather than counting them as unknown.
2019-12-12 20:07:22 +00:00
c8b93cb0d0
Add new derivation_output_details_set_id column to the builds table
...
As this will hopefully provide a faster way of associating derivations with
builds.
2019-12-12 20:07:22 +00:00
1e040010fc
Fix the match statement in select-build-by-build-server-and…
2019-12-12 20:07:22 +00:00
a0ce016c02
Support querying builds by build servers
2019-12-12 20:07:22 +00:00
f7069456b5
Support querying builds by status
2019-12-12 20:01:30 +00:00
5663235048
Rework the builds and build_status tables as well as related code
...
Allow for build status information to be submitted by POST request. This
required some changes to the builds and build_status tables, as for example,
the Cuirass build id may not be available, and the derivation may not be know
yet, so just record the derivation file name.
2019-11-24 20:18:08 +00:00
7b3bc5bcfa
Improve some derivation model functions
...
Return integer values for ids, rather than strings (as this type is more
appropriate). Also, better parse the derivation arguments and environment
variables.
2019-11-09 20:39:47 +00:00
a1e481cc4d
Continue improving pages and linking things together
2019-03-07 23:50:51 +00:00
4d0d6f2e82
Add new models relating to builds and build servers
...
These will allow tracking what's going on with build servers.
2019-03-06 22:56:10 +00:00