Commit Graph

154 Commits (master)

Author SHA1 Message Date
Mathieu Lirzin 46c9d432ea
database: Use an external SQL schema. 2016-07-25 02:12:39 +02:00
Mathieu Lirzin 730832c2fb
cuirass: Fix specification file error message. 2016-07-25 02:12:38 +02:00
Mathieu Lirzin 89b1f89cfc
Move '%program-name' to (cuirass ui) module. 2016-07-25 02:12:37 +02:00
Mathieu Lirzin 55e72cb107 gnu-system: Add 'license->alist' procedure. 2016-07-14 17:44:23 +02:00
Mathieu Lirzin 1a542e4d1b Remove redundancies in the specification examples. 2016-07-14 17:44:23 +02:00
Mathieu Lirzin 3efe57e0ca cuirass: Fix 'show-help'. 2016-07-14 17:44:23 +02:00
Mathieu Lirzin 2ea7029a31 Update README example. 2016-07-14 17:44:23 +02:00
Mathieu Lirzin 1b804d7402 gnu-system: Use 'specification->package' when possible. 2016-07-14 17:44:23 +02:00
Mathieu Lirzin efe96ced25 base: Remove unneeded 'guix-variable'. 2016-07-13 23:30:59 +02:00
Mathieu Lirzin 0808ab3ecd Remove unnecessary (cuirass job) module. 2016-07-13 14:16:36 +02:00
Mathieu Lirzin 53c12be409 Evaluate derivations in a separate process.
This fixes a bug where different Guix branches gave the same
derivations.
2016-07-13 14:07:24 +02:00
Mathieu Lirzin 92f5d0dfe4 Add guix-jobs.scm specification file. 2016-07-04 17:01:58 +02:00
Mathieu Lirzin ecd001cb22 gnu-system: Fix '%job-name' calls.
This calls were using its previous name 'job-name'.
2016-07-04 13:51:14 +02:00
Mathieu Lirzin 85d3ba4e45 cuirass: process-spec: Use 'when' instead of 'and'.
This is done because 'set-load-path!' returns a undefined value.
2016-07-04 13:51:03 +02:00
Mathieu Lirzin fe30eb7e82 Add 'basic.sh' test. 2016-07-03 16:50:27 +02:00
Mathieu Lirzin 987f83b000 Fix single char for 'database' in %options. 2016-07-03 16:22:23 +02:00
Mathieu Lirzin 3377d948ef cuirass: Add '--one-shot' command line argument. 2016-07-02 23:08:52 +02:00
Mathieu Lirzin 7e9af4298e cuirass: Remove '--use-file' command line argument. 2016-07-02 23:00:17 +02:00
Mathieu Lirzin 4b53493c3b cuirass: Move code from main to auxiliary procedures. 2016-07-02 22:30:17 +02:00
Mathieu Lirzin b65612c264 cuirass: Remove unneeded quasiquote. 2016-07-02 18:08:06 +02:00
Mathieu Lirzin 13db5aa618 λ all the things! 2016-07-02 15:49:34 +02:00
Mathieu Lirzin 7ae6ce0690 Add %package-cachedir parameter. 2016-07-02 15:34:40 +02:00
Mathieu Lirzin 88e72887a0 Add test for 'with-directory-excursion'. 2016-07-02 03:35:19 +02:00
Mathieu Lirzin 2bace10106 Add (cuirass utils) module.
Move 'with-directory-excursion' here.
2016-07-02 03:13:29 +02:00
Mathieu Lirzin 94f910355c job: Add load-path field to <job-spec>. 2016-07-02 01:51:56 +02:00
Mathieu Lirzin b185505db0 cuirass: Remove dead code. 2016-07-02 01:04:34 +02:00
Mathieu Lirzin ca6b5d6677 job: Add 'commit' and 'tag' field to <job-spec>. 2016-07-01 16:46:10 +02:00
Mathieu Lirzin efef5c29c8 Fix 0f04df2691. 2016-07-01 16:44:46 +02:00
Mathieu Lirzin a62624301b base: Add %program-name parameter object. 2016-07-01 16:00:14 +02:00
Mathieu Lirzin 0f04df2691 Avoid pattern matching on records which relies on slot order. 2016-07-01 16:00:04 +02:00
Mathieu Lirzin 9a9b3fbd45 database: Remove commented code. 2016-06-29 16:32:55 +02:00
Mathieu Lirzin 990c902fcc Store build logs in the database. 2016-06-29 16:16:48 +02:00
Mathieu Lirzin 4a778022f9 Fix temporary database location.
Don't create it in 'srcdir' to please 'make distcheck'.
2016-06-26 22:54:49 +02:00
Mathieu Lirzin 5ff38984e8 Make %package-database a parameter object.
Move it to (cuirass database).
2016-06-26 22:54:49 +02:00
Mathieu Lirzin 5efdcb4441 Add a '--database' command line argument. 2016-06-26 17:02:23 +02:00
Mathieu Lirzin 944f8b5467 Store derivation results in the database. 2016-06-26 16:59:27 +02:00
Mathieu Lirzin b24541e604 Add (cuirass database) module. 2016-06-26 16:59:26 +02:00
Mathieu Lirzin 992b57dade Support multiples <job-spec> evaluation. 2016-06-16 11:42:59 +02:00
Mathieu Lirzin 6587ddea5a Guix modules must be available. 2016-06-16 02:12:33 +02:00
Mathieu Lirzin b103ab7eae Change <job-spec> and <job> semantics. 2016-06-16 02:12:33 +02:00
Mathieu Lirzin 7d7251a974
cuirass: Adapt output of 'build-packages'.
* bin/cuirass.in (build-packages): Display derivation and output file
names.
2016-06-13 18:11:25 +02:00
Mathieu Lirzin e5609c29c4
gnu-system: Add hello subset.
* tests/gnu-system.scm (hydra-jobs): Add hello subset.
2016-06-13 18:11:09 +02:00
Mathieu Lirzin 6642651271
cuirass: Add --subset command line option.
bin/cuirass.in (%options, show-help): Add --subset option.
(evaluate): Add ARGS argument.
(main): Adjust accordingly.
2016-06-13 18:11:02 +02:00
Mathieu Lirzin 49ab3c8b0d
job: Add <job-spec> record type.
* src/cuirass/job.scm <job-spec>: New record type.
(%make-job-spec, make-job-spec, job-spec-name, job-spec-proc)
(job-spec-metadata): New procedures.
* tests/gnu-system.scm (package-job): Rename to ...
(package-job-spec): ... this.  Use 'make-job-spec'.
(package-cross-job): Rename to ...
(package-cross-job-spec): ... this.  Use 'make-job-spec'.
(tarball-jobs): Rename to ...
(tarball-job-specs): ... this.  Use 'make-job-spec'.
(package->alist): Rename to ...
(package-metadata): ... this.  Adapt.
(package->job): Rename to ...
(package->jobspec): ... this.  Adapt.
(hydra-jobs): Adapt.
2016-06-13 18:10:52 +02:00
Mathieu Lirzin 9f5896ccd2
cuirass: Build packages outside of 'evaluate' procedure.
* bin/cuirass.in (evaluate): Move 'build-packages' call to ...
(main): ... here.
2016-06-13 18:10:39 +02:00
Mathieu Lirzin b4c615fb73
cuirass: Use always the same connection to the store.
* bin/cuirass.in (evaluate): Add STORE argument.  Move 'open-connection'
call to ...
(main): ... here.
2016-06-13 18:10:14 +02:00
Mathieu Lirzin 64c64d8d71
cuirass: Fix 'show-help' argument.
* bin/cuirass.in (show-help): Remove reference to unbound variable
'program-name'.  Turn PROG into a mandatory argument.
2016-06-13 18:09:55 +02:00
Mathieu Lirzin 39750281f6
job: Add 'metadata' field to <job>.
* src/cuirass/job.scm <job>: Add 'metadata' field.
(job-metadata, %make-job): New procedures.
2016-06-13 18:09:45 +02:00
Mathieu Lirzin ab54de1f35
cuirass: Allow defining jobs outside of the repository.
* tests/gnu-system.scm: New file.
* bin/cuirass.in (evaluate, main): Use it.
2016-06-13 18:09:23 +02:00
Mathieu Lirzin ecffeb7536
job: Add <job> record type.
* src/cuirass/job.scm: New file.
* Makefile.am (dist_pkgmodule_DATA): Add it.
* bin/cuirass.in (evaluate, build-packages): Use it.
2016-06-10 23:39:27 +02:00