2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/guix-cuirass.git synced 2023-12-14 06:03:04 +01:00
Commit graph

522 commits

Author SHA1 Message Date
Mathieu Othacehe
c3a9e9c79f
Add pagination button on evaluation page. 2021-03-25 11:48:42 +01:00
Mathieu Othacehe
1ed9360108
Add table order buttons. 2021-03-25 10:31:38 +01:00
Mathieu Othacehe
6a46e6bf65
remote: Do not compress substitutes. 2021-03-23 16:57:39 +01:00
Mathieu Othacehe
48f630f9f7
Add builds per machine metric table. 2021-03-23 09:54:07 +01:00
Mathieu Othacehe
f6008378be
Add builds count per machine metric. 2021-03-22 19:40:31 +01:00
Mathieu Othacehe
2efa062a4a
Update copyrights. 2021-03-22 18:31:41 +01:00
Mathieu Othacehe
b645f4eb0c
Add remote building tests. 2021-03-22 18:29:07 +01:00
Mathieu Othacehe
43d29317d9
Use a single Cuirass binary. 2021-03-22 18:29:06 +01:00
Mathieu Othacehe
9fbf6991fa
Add build parameter edition field. 2021-03-21 15:52:49 +01:00
Mathieu Othacehe
9d8fe4ca8a
Use notifications and outputs from the existing specification. 2021-03-20 17:46:11 +01:00
Mathieu Othacehe
2eda35bf68
Remove send events binary.
This is superseeded by the notification system.
2021-03-14 20:48:25 +01:00
Mathieu Othacehe
c89c33d3b0
Add channels build type support.
* src/cuirass/specification.scm (%build-types): Add 'channels support.
2021-03-14 19:44:52 +01:00
Mathieu Othacehe
6a3174ddbb
Fix specification creation. 2021-03-12 18:35:08 +01:00
Mathieu Othacehe
659e7479e5
Fix workers status page. 2021-03-12 17:33:29 +01:00
Mathieu Othacehe
6438742f99
Improve worker status page queries. 2021-03-12 17:07:52 +01:00
Mathieu Othacehe
8379c803dc
Add form validation. 2021-03-12 10:53:05 +01:00
Mathieu Othacehe
5c9003b41d
Fix build products creation. 2021-03-12 08:35:56 +01:00
Mathieu Othacehe
b24d55e368
Add specification creation and edition pages. 2021-03-11 19:31:35 +01:00
Mathieu Othacehe
82b8f825d8
Turn db-add-specification into db-add-or-update-specification. 2021-03-11 19:30:58 +01:00
Mathieu Othacehe
bd8af796d8
Add build types list. 2021-03-11 17:37:47 +01:00
Mathieu Othacehe
e3c95014e3
database: Limit notifications to new failures and new successes. 2021-03-11 17:36:24 +01:00
Mathieu Othacehe
aabeced62a
Send notifications in a separate thread. 2021-03-11 10:27:13 +01:00
Mathieu Othacehe
e598f89445
Remove events support. 2021-03-11 10:26:36 +01:00
Mathieu Othacehe
2841bf3ba0
Remove admin section.
* src/cuirass/http.scm (url-handler): Remove admin section.
* src/cuirass/templates.scm (specifications-table): Remove optional admin
argument.
2021-03-11 08:10:51 +01:00
Mathieu Othacehe
5f830da3e3
specification: Ignore channel introduction.
* src/cuirass/specification.scm (sexp->channel): Ignore channel introduction.
2021-03-10 16:37:33 +01:00
Mathieu Othacehe
9e3e9b691c
Use our own sexp->channel procedure.
The Guix version of sexp->channel doesn't support the branch field.

* src/cuirass/specification.scm (sexp->channel): New procedure.
* src/cuirass/database.scm (db-get-specifications): Use it.
2021-03-10 16:30:28 +01:00
Mathieu Othacehe
826e2df45e
specification: channel->sexp: Add introduction support.
* src/cuirass/specification.scm (channel->sexp): Add channel introduction
support.
2021-03-10 13:48:03 +01:00
Mathieu Othacehe
fc582f5b0e
specification: Use a default build-output path.
* src/cuirass/specification.scm (<build-output>): Set a default path to "".
2021-03-10 10:02:26 +01:00
Mathieu Othacehe
463f5cd0f1
Reset database.
* src/sql/upgrade-2.sql: Remove it.
* src/sql/upgrade-3.sql: Remove it.
* src/sql/upgrade-4.sql: Remove it.
* src/sql/upgrade-5.sql: Remove it.
* Makefile.am (dist_sql_DATA): Adapt it.
2021-03-10 08:53:39 +01:00
Mathieu Othacehe
14e1335732
logging: Remove build warnings.
* src/cuirass/logging.scm (log-message): Turn into a procedure.
2021-03-10 08:33:16 +01:00
Mathieu Othacehe
d9588c0ed8
Fix admin specification creation.
* src/cuirass/http.scm (url-handler): Fix admin specification creation.
2021-03-09 19:21:27 +01:00
Mathieu Othacehe
eb060c990f
sql: Cascade deletion.
* src/schema.sql: Cascade Evaluations, Checkouts and Builds deletion.
2021-03-09 19:13:44 +01:00
Mathieu Othacehe
d521ec7bbf
Improve action button text.
* src/cuirass/templates.scm (evaluation-info-table): Improve action button text.
2021-03-09 19:05:32 +01:00
Mathieu Othacehe
21426073c1
Fix action list display.
* src/cuirass/templates.scm (evaluation-info-table): Fix action list display.
2021-03-09 19:01:29 +01:00
Mathieu Othacehe
6c5da97d46
Add evaluation retry & cancel support.
* src/cuirass/http.scm (url-handler): Add "/admin/evaluation/<id>/cancel" and
"admin/evaluation/<id>/retry" routes.
* src/cuirass/templates.scm (evaluation-info-table): Add "Cancel pending
builds" and "Retry" buttons.
2021-03-09 18:57:07 +01:00
Mathieu Othacehe
d116dc36c3
database: Add db-cancel-pending-builds!.
* src/cuirass/database.scm (db-cancel-pending-builds!): New procedure.
* tests/database.scm ("db-cancel-pending-builds!"): New test.
2021-03-09 18:45:47 +01:00
Mathieu Othacehe
70394149af
database: Add db-retry-evaluation!.
* src/cuirass/database.scm (db-retry-evaluation!): New procedure.
* tests/database.scm ("db-retry-evaluation"): New test.
2021-03-09 18:31:18 +01:00
Mathieu Othacehe
2bd6e80482
Update the Web API documentation.
* doc/cuirass.texi (Web API): Update it.
* src/cuirass/http.scm (build->hydra-build): Update it accordingly.
2021-03-09 17:02:04 +01:00
Mathieu Othacehe
265b134527
Save the default database.
* src/cuirass/database.scm (db-open): Save the default database in the
%package-database parameter.
2021-03-09 11:52:33 +01:00
Mathieu Othacehe
df39aa4821
Update documentation.
* doc/cuirass.texi: Update it.
2021-03-09 11:23:44 +01:00
Mathieu Othacehe
370ff7d8cd
Use default database parameters.
* src/cuirass/parameters.scm (%cuirass-database, %cuirass-host): New
parameters.
* src/cuirass/database.scm (db-open): Use them.
2021-03-09 07:37:29 +01:00
Mathieu Othacehe
37de70546b
Reset build timestamps on restart.
* src/cuirass/database.scm (db-restart-build!, db-restart-evaluation!): Reset
starttime and stoptime field.
2021-03-08 07:51:06 +01:00
Mathieu Othacehe
325edf2ffa
Rewrite evaluation. 2021-03-05 09:08:15 +01:00
Mathieu Othacehe
f5287dc11e
Add with-transaction.
* src/cuirass/database.scm (with-transaction): New macro.
2021-03-03 08:39:02 +01:00
Mathieu Othacehe
a5346d615e
remote: Enable core dump generation.
* src/cuirass/remote-server.scm (remote-server): Enable core dump generation.
2021-02-26 14:47:53 +01:00
Mathieu Othacehe
44df41ca7a
remote: Make sure new messages are created for each send.
* src/cuirass/remote-server.scm (zmq-start-proxy): Make sure new messages are
created for each send.
2021-02-26 12:06:46 +01:00
Mathieu Othacehe
fa191d877e
remote: Use message API.
* src/cuirass/remote-server.scm (zmq-start-proxy): Use the message API.
2021-02-26 11:39:48 +01:00
Mathieu Othacehe
e1c21224ae
remote: Use an EINTR safe message receive procedure.
* src/cuirass/remote.scm (zmq-message-receive*): New procedure.
* src/cuirass/remote-server.scm (start-fetch-worker, zmq-start-proxy): Use it.
2021-02-26 09:43:08 +01:00
Mathieu Othacehe
5f77c39f32
remote: Use copies of message contents.
* src/cuirass/remote-server.scm (zmq-start-proxy): Use copies of message
contents.
2021-02-26 09:39:22 +01:00
Mathieu Othacehe
d4acc6f566
remote: Print a warning if the poll loop is blocked.
* src/cuirass/remote-server.scm (zmq-start-proxy): Print a warning if the poll
loop is blocked for more than 5 seconds.
2021-02-26 09:35:35 +01:00