This project is mirrored from https://git.savannah.gnu.org/git/guix/guix-cuirass.git/.
Pull mirroring updated .
- Feb 22, 2021
-
-
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.
-
Mathieu Othacehe authored
* Makefile.am (dist_images_DATA): Update it.
-
- Feb 20, 2021
-
-
Mathieu Othacehe authored
* src/static/images/icon.svg: Remove it. * src/cuirass/http.scm (%file-white-list): Remove "images/icon.svg". * src/cuirass/templates.scm (html-page): Remove icon.svg link.
-
- Feb 19, 2021
-
-
Mathieu Othacehe authored
* src/cuirass/http.scm (%file-white-list): Rename "logo.png" into "guix.png". Add "icon.png" and "icon.svg". * src/cuirass/templates.scm (html-page): Adapt it. * src/static/images/logo.png: Rename it ... * src/static/images/guix.png: ... into this file. * src/static/images/icon.png: New file. * src/static/images/icon.svg: New file.
-
Mathieu Othacehe authored
* src/cuirass/templates.scm (build-details, evaluation-info-table): Add lock icons for admin actions.
-
- Feb 18, 2021
-
-
Mathieu Othacehe authored
* src/cuirass/templates.scm: Remove the evaluation restart dropdown arrow. * src/static/css/cuirass.css (no-dropdown-arrow): New rule.
-
Mathieu Othacehe authored
* src/cuirass/http.scm (url-handler): New route "/admin/evaluation/<id>/restart". * src/cuirass/templates.scm (evaluation-info-table): Add an evaluation restart button.
-
Mathieu Othacehe authored
* src/cuirass/database.scm (db-restart-evaluation!): New procedure. * tests/database.scm (db-restart-evaluation!): New test.
-
Mathieu Othacehe authored
* src/cuirass/templates.scm (build-details): Allow unconditionnal build restart.
-
Mathieu Othacehe authored
* src/cuirass/http.scm (url-handler): New route "/admin/build/<id>/restart". * src/cuirass/template.scm (build-details): Add a "restart" button.
-
Mathieu Othacehe authored
* src/cuirass/database.scm (db-restart-build!): New procedure. * tests/database.scm (db-restart-build!): New test.
-
Mathieu Othacehe authored
* src/cuirass/remote-server.scm (remote-server): Move the locale setup to the publish thread. * src/cuirass/remote-worker.scm (remote-worker): Ditto. * src/cuirass/remote.scm (publish-server): Set the locale.
-
- Feb 17, 2021
-
-
Mathieu Othacehe authored
* src/cuirass/remote-server.scm (remote-server): Use a default locale. * src/cuirass/remote-worker.scm (remote-worker): Ditto.
-
- Feb 14, 2021
-
-
Mathieu Othacehe authored
* src/cuirass/database.scm (db-register-builds): Remove commentary.
-
Mathieu Othacehe authored
* tests/database.scm (%dummy-worker): Fix tests.
-
- Feb 12, 2021
-
-
Mathieu Othacehe authored
-
- Feb 11, 2021
-
-
Mathieu Othacehe authored
* src/cuirass/templates.scm (machine-status): Pick the first worker build if multiple builds are started on the same worker.
-
Mathieu Othacehe authored
* src/cuirass/database.scm (db-get-build-percentage): Consider both successful and failing builds.
-
Mathieu Othacehe authored
* src/cuirass/remote.scm (zmq-server-info, zmq-worker-request-info-message): New procedures. * src/cuirass/remote-server.scm (%log-port, %publish-port): New parameters. (read-worker-exp): Handle 'worker-request-info message. (remote-server): Set the new parameters. * src/cuirass/remote-worker.scm (start-worker): Rename "server" argument. Send a 'worker-request-info message to discover the server log port and publish port. (remote-worker): Adapt it.
-
- Feb 08, 2021
-
-
Mathieu Othacehe authored
bin/cuirass.in (%options): Fix "zabbix-uri" argument.
-
Mathieu Othacehe authored
* bin/cuirass.in: Add "--zabbix-uri" argument. * src/cuirass/zabbix.scm (%zabbix-uri): Export it.
-
Mathieu Othacehe authored
-
Mathieu Othacehe authored
* src/cuirass/database.scm (db-get-worker, db-get-workers): Return last-seen field as integer.
-
- Feb 06, 2021
-
-
Mathieu Othacehe authored
* src/cuirass/remote.scm (swallow-zlib-error): New macro. (send-log): Use it.
-
Mathieu Othacehe authored
* src/cuirass/remote-worker.scm (remote-worker): Stop the avahi poll loop once the workers are started.
-
- Feb 02, 2021
-
-
Mathieu Othacehe authored
* src/cuirass/database.scm (db-get-builds): Add missing parens.
-
Mathieu Othacehe authored
* src/cuirass/database.scm (db-get-builds): Fix weather value. * tests/http.scm (build-query-result): Adapt it.
-
Mathieu Othacehe authored
* src/cuirass/templates.scm (specifications-table): Add RSS link.
-
Mathieu Othacehe authored
* src/cuirass/templates.scm (evaluation-info-table): Add RSS link.
-
Mathieu Othacehe authored
* src/cuirass/http.scm (url-handler): Pass the specification to "db-get-builds" procedure.
-
Mathieu Othacehe authored
This prevents the dates from being formatted using the current locale. * bin/cuirass.in: Use a default locale.
-
Mathieu Othacehe authored
* src/cuirass/http.scm (respond-xml): New procedure. (url-handler): Use it for the RSS feed.
-
Mathieu Othacehe authored
* src/cuirass/rss.scm: New file. * Makefile.am (dist_pkgmodule_DATA): Add it. * src/cuirass/http.scm (url-handler): Add "/events/rss" route.
-
Mathieu Othacehe authored
* src/sql/upgrade-4.sql: New file. * Makefile.am (dist_sql_DATA): Add it. * src/schema.sql (Builds)[weather]: New field. (Builds_weather_evaluation): New index. * src/cuirass/database.scm (db-get-last-status): New procedure. (db-update-build-status!): Use it and update the new weather field. (db-get-builds): Adapt it. * tests/http.scm (build-query-result): Ditto.
-
Mathieu Othacehe authored
* src/cuirass/templates.scm (build-details): Move the weather icon.
-
Mathieu Othacehe authored
* src/cuirass/remote-worker.scm (%workers-started?): New variable. (remote-worker): Use it to start workers only once.
-