This project is mirrored from https://git.savannah.gnu.org/git/guix/guix-cuirass.git/.
Pull mirroring updated .
- Mar 10, 2021
-
-
Mathieu Othacehe authored
* 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.
-
Mathieu Othacehe authored
* src/cuirass/database.scm (db-cancel-pending-builds!): New procedure. * tests/database.scm ("db-cancel-pending-builds!"): New test.
-
Mathieu Othacehe authored
* src/cuirass/database.scm (db-retry-evaluation!): New procedure. * tests/database.scm ("db-retry-evaluation"): New test.
-
Mathieu Othacehe authored
* README: Explain how to create the test database.
-
Mathieu Othacehe authored
* README: Update it. * examples/hello.scm: New file.
-
Mathieu Othacehe authored
* tests/common.scm: New file. * tests/database.scm: Use it. * tests/http.scm: Ditto. * tests/metrics.scm: Ditto.
-
Mathieu Othacehe authored
* doc/cuirass.texi (Web API): Update it. * src/cuirass/http.scm (build->hydra-build): Update it accordingly.
-
- Mar 09, 2021
-
-
Mathieu Othacehe authored
doc/cuirass.texi (Database): Update it.
-
Mathieu Othacehe authored
* src/cuirass/database.scm (db-open): Save the default database in the %package-database parameter.
-
Mathieu Othacehe authored
* doc/cuirass.texi: Update it.
-
Mathieu Othacehe authored
* src/cuirass/parameters.scm (%cuirass-database, %cuirass-host): New parameters. * src/cuirass/database.scm (db-open): Use them.
-
- Mar 08, 2021
-
-
Mathieu Othacehe authored
* src/cuirass/database.scm (db-restart-build!, db-restart-evaluation!): Reset starttime and stoptime field.
-
Mathieu Othacehe authored
* tests/database.scm ("db-register-builds"): Fix it.
-
- Mar 05, 2021
-
-
Mathieu Othacehe authored
* bin/evaluate.in: Add doc strings.
-
Mathieu Othacehe authored
* bin/evaluate.in (inferior-evaluation): Move profile building to ... (main): ... here.
-
Mathieu Othacehe authored
-
Mathieu Othacehe authored
* Makefile.am (nobase_dist_pkgdata_DATA): Remove it. * examples/gnu-system.scm: Remove it. * examples/guix-jobs.scm: Remove it. * examples/guix-track-git.scm: Remove it. * examples/hello-git.scm: Remove it. * examples/hello-singleton.scm: Remove it. * examples/hello-subset.scm: Remove it. * examples/random-jobs.scm: Remove it. * examples/random.scm: Remove it.
-
- Mar 03, 2021
-
-
Mathieu Othacehe authored
* src/cuirass/database.scm (with-transaction): New macro.
-
- Feb 26, 2021
-
-
Mathieu Othacehe authored
* src/cuirass/remote-server.scm (remote-server): Enable core dump generation.
-
Mathieu Othacehe authored
* src/cuirass/remote-server.scm (zmq-start-proxy): Make sure new messages are created for each send.
-
Mathieu Othacehe authored
* src/cuirass/remote-server.scm (zmq-start-proxy): Use the message API.
-
Mathieu Othacehe authored
* src/cuirass/remote.scm (zmq-message-receive*): New procedure. * src/cuirass/remote-server.scm (start-fetch-worker, zmq-start-proxy): Use it.
-
Mathieu Othacehe authored
* src/cuirass/remote-server.scm (zmq-start-proxy): Use copies of message contents.
-
Mathieu Othacehe authored
* src/cuirass/remote-server.scm (zmq-start-proxy): Print a warning if the poll loop is blocked for more than 5 seconds.
-
Mathieu Othacehe authored
* src/cuirass/remote-server.scm (start-fetch-worker): Use the message API.
-
- Feb 25, 2021
-
-
Mathieu Othacehe authored
* src/cuirass/database.scm (db-add-build-product): Ignore duplicated BuildProducts.
-
- Feb 24, 2021
-
-
Mathieu Othacehe authored
* src/cuirass/database.scm (db-remove-unresponsive-workers): Restart the builds that are started on unresponsive workers. * tests/database.scm ("db-remove-unresponsive-workers"): Test it.
-
Mathieu Othacehe authored
* src/cuirass/notification.scm (notification-email, notification-mastodon): Catch notification errors.
-
Mathieu Othacehe authored
* src/cuirass/remote-server.scm (run-fetch): Add log message.
-
- Feb 22, 2021
-
-
Mathieu Othacehe authored
src/cuirass/notification.scm (notification-text): Keep it on one line.
-
Mathieu Othacehe authored
* src/cuirass/mail.scm (mu-debug): Remove it. * src/cuirass/utils.scm (mu-debug): Ditto. * src/cuirass/parameters.scm (mu-debug): New variable. * src/cuirass/remote-server.scm (start-fetch-worker): Force parameters module load. * tests/database.scm: Load parameters module.
-
Mathieu Othacehe authored
* src/cuirass/zabbix.scm (%zabbix-uri): Remove it. (zabbix-available?): Replace %zabbix-uri by %zabbix-url.
-
Mathieu Othacehe authored
* tests/database.scm (mu-debug): Move to ... * src/cuirass/utils.scm: ... here.
-
Mathieu Othacehe authored
* src/schema.sql: Reorder fields. * src/cuirass/database.scm (db-get-specifications): Ditto.
-
Mathieu Othacehe authored
* src/cuirass/parameters.scm (%mastodon-instance-name, %mastodon-instance-url, %mastodon-instance-token): New variables. * src/cuirass/mastodon.scm (send-status): Remove "instance-name", "instance-url" and "instance-token" parameters. * src/cuirass/notification (notification-mastodon): Adapt accordingly.
-
Mathieu Othacehe authored
* src/cuirass/database.scm (db-add-specification): Make notifications field optional.
-
Mathieu Othacehe authored
* src/cuirass/parameters.scm: New file. * Makefile.am (dist_pkgmodule_DATA): Add it. * bin/cuirass.in: Add "parameters" argument. * src/cuirass/base.scm (read-parameters): New procedure. * src/cuirass/notification.scm (build-details-url): New procedure. (notification-text): Use it. * src/cuirass/rss.scm (build-details-url): New procedure. (build->rss-item): Use it. (rss-feed): Remove "base-url" argument. * src/cuirass/remote-server.scm: Add "parameters" argument. * src/cuirass/zabbix.scm (%zabbix-uri, %zabbix-uri, %zabbix-password): Remove them. (zabbix-request, zabbix-login): Adapt accordingly.
-
- Feb 21, 2021
-
-
Mathieu Othacehe authored
* src/cuirass/mastodon.scm: New file. * Makefile.am (dist_pkgmodule_DATA): Add it. * src/cuirass/notification.scm (notification-type): Add "mastodon". (notification-mastodon): New procedure. (send-notifications): Add it.
-
Mathieu Othacehe authored
* src/cuirass/mail.scm: New file. * src/cuirass/notification.scm: New file. * src/sql/upgrade-5.sql: New file. * Makefile.am (dist_pkgmodule_DATA, dist_sql_DATA): Add them. * src/schema.sql (Specifications)[notifications]: New field. * bin/cuirass.in: Wrap inside the "with-notification" macro. * src/cuirass/remote-server.scm (remote-server): Ditto. * src/cuirass/database.scm (db-add-specification): Add notifications field. (db-get-specifications): Ditto. (db-update-build-status!): Send notifications. * tests/mail.sh: New file. * tests/database.scm (mu-debug, tmp-mail): New variables. (mailer): New procedure. (example-spec): Add an email notification. ("mail-notification"): New test case.
-
Mathieu Othacehe authored
* src/cuirass/rss.scm (date->rfc822-str): Move it to ... * src/cuirass/utils.scm: ... here.
-