Skip to content
Snippets Groups Projects
This project is mirrored from https://git.savannah.gnu.org/git/guix/guix-cuirass.git/. Pull mirroring updated .
  1. Apr 06, 2021
    • Mathieu Othacehe's avatar
      Add jobs support. · bba13114
      Mathieu Othacehe authored
      Each evaluation registration produces a list of new jobs. Until now, only the
      jobs which build outputs were not stored in the "Outputs" table were added to
      the "Builds" table.
      
      It means that Cuirass looses track of the job list associated to a given
      evaluation.  This is problematic to provide the overall build status of an
      evaluation or to find the evaluation providing the best build coverage.
      
      Add a new "Jobs" table that stores the job list of each evaluation.  Also add
      a new "/api/jobs" API to consult it.
      
      * src/sql/upgrade-2.sql: New file.
      * Makefile.am (dist_sql_DATA): Add it.
      * src/schema.sql (Jobs): New table.
      * src/cuirass/database.scm (db-add-job, db-get-jobs): New procedures.
      (db-register-builds): Call db-add-job.
      * src/cuirass/http.scm (url-handler): New "/api/jobs" route.
      * tests/database.scm ("db-get-jobs", "db-get-jobs names"): New tests.
      * doc/cuirass.texi (Web API, Database): Document it.
      Unverified
      bba13114
  2. Mar 29, 2021
  3. Mar 27, 2021
  4. Mar 26, 2021
    • Mathieu Othacehe's avatar
      http: Rename respond-gzipped-file. · ff3f25d2
      Mathieu Othacehe authored
      * src/cuirass/http (respond-gzipped-file): Rename it to ...
      (respond-compressed-file): ... this new procedure. Add support for bzip2
      compressed files.
      (url-handler): Adapt it.
      Unverified
      ff3f25d2
    • Mathieu Othacehe's avatar
      base: Record the log file. · d5724217
      Mathieu Othacehe authored
      * src/cuirass/base.scm (handle-build-event): Add a store argument and use it
      to record the log file.
      (spawn-builds): Adapt it.
      Unverified
      d5724217
    • Mathieu Othacehe's avatar
      base: Remove unused argument. · a6e7d856
      Mathieu Othacehe authored
      * src/cuirass/base.scm (set-build-successful!): Remove log argument.
      Unverified
      a6e7d856
    • Vincent Legoll's avatar
      css: Set the search box z-index. · eb5786a2
      Vincent Legoll authored
      * src/static/css/cuirass.css (#search): Set z-index to 1.
      Unverified
      eb5786a2
    • Mathieu Othacehe's avatar
      Fix single checkout update. · f5a2eeae
      Mathieu Othacehe authored
      When a new evaluation is triggered by a single channel update, the
      matching specification can have other channels that are not updated. In that
      case, "db-get-checkouts" will only return the checkout corresponding to the
      channel update.
      
      This cause "channel-instances->profile" to fail this way:
      
      In guix/channels.scm:
         911:32  3 (channel-instances->derivation _)
         871:36  2 (channel-instances->manifest (#<<channel-instance> cha?>))
          759:6  1 (channel-instance-derivations (#<<channel-instance> ch?>))
      In ice-9/boot-9.scm:
        1669:16  0 (raise-exception _ #:continuable? _)
      
      ice-9/boot-9.scm:1669:16: In procedure raise-exception:
      ERROR:
        1. &message: "'guix' channel is lacking"
        2. &fix-hint: "Make sure your list of channels\ncontains one channel named @code{guix} providing the core of Guix."
        3. &error-location: #<<location> file: "guix/channels.scm" line: 557 column: 18>
      
      Introduce a db-get-latest-checkout procedure that returns the last checkout of
      a given channel. Use it to request the checkouts of all the channels before
      creating the profile.
      
      * src/cuirass/database.scm (db-get-latest-checkout): New procedure.
      * tests/database.scm ("db-get-latest-checkout"): New test.
      * src/cuirass/scripts/evaluate.scm (latest-checkouts): New procedure.
      (cuirass-evaluate): Use it.
      Unverified
      f5a2eeae
  5. Mar 25, 2021
  6. Mar 24, 2021
  7. Mar 23, 2021
  8. Mar 21, 2021
  9. Mar 20, 2021
  10. Mar 15, 2021
  11. Mar 13, 2021
  12. Mar 12, 2021
Loading