| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
| |
* src/cuirass/utils.scm (call-with-temporary-directory): New procedure.
* src/cuirass/repo.scm: Use it. New file.
* tests/repo.scm: New tests.
* Makefile.am (dist_pkgmodule_DATA, TESTS): Add them.
|
|
|
|
|
|
|
|
|
|
|
| |
* examples/gnu-system.scm: Moved from 'tests' directory.
* examples/guix-jobs.scm: Likewise.
* examples/guix-track-git.scm: Likewise.
* examples/hello-git.scm: Likewise.
* examples/hello-singleton.scm: Likewise.
* examples/hello-subset.scm: Likewise.
* Makefile.am (EXTRA_DIST): Adapt.
* README <Example>: Likewise.
|
|
|
|
|
|
|
|
| |
* src/schema.sql (Specifications): Make 'repo_name' the primary key.
(Stamps, Evaluations): Adapt.
* src/cuirass/database.scm (db-get-specifications): Likewise.
(db-add-specification): Ignore if SPEC has already been added.
* tests/database.scm (example-spec): Adapt.
|
|
|
|
|
|
|
|
|
|
|
| |
* guix.scm: New file; specify Guix package.
* guix/ci.scm: New file; expose to Guix.
* build-aux/pre-inst-env.in: Add it to GUIX_PACKAGE_PATH.
* bin/evaluate.in (main): Lookup proc using name specified by #:proc.
* tests/guix-track-git.scm: New file.
* tests/hello-git.scm: Test it.
Signed-off-by: Mathieu Lirzin <mthl@gnu.org>
|
|
|
|
|
|
|
|
|
|
| |
* src/schema.sql (Specifications): Add no_compile_p column.
* src/cuirass/database.scm (db-add-specification)
(db-get-specifications): Handle #:no-compile? property.
* tests/database.scm (example-spec): Adapt.
* src/cuirass/base.scm (process-specs): Skip compilation if #:no-compile?.
Signed-off-by: Mathieu Lirzin <mthl@gnu.org>
|
|
|
|
| |
* tests/database.scm: Use 'test-group-cleanup'.
|
|
|
|
|
| |
* tests/http.scm ("spec->json-string"): Make expected result more
readable.
|
|
|
|
|
|
|
| |
* src/cuirass/http.scm: New file.
* tests/http.scm: Likewise.
* Makefile.am (dist_pkgmodule_DATA, TESTS): Add them.
* configure.ac: Check for (json) module.
|
|
|
|
|
| |
* src/cuirass/utils.scm (alist?): New procedure.
* tests/utils.scm ("alist?"): New test.
|
|
|
|
|
|
| |
* src/schema.sql (Evaluations): Add 'revision' column.
* src/cuirass/database.scm (db-add-evaluation): Adapt.
All callers changed.
|
|
|
|
|
|
|
| |
* tests/base.scm: Add missing 'test-begin' and 'test-end'.
* tests/database.scm: Likewise.
* tests/ui.scm: Likewise.
* tests/utils.scm: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/schema.sql (Derivations): New table.
(Evaluations): Remove 'derivation' and 'job_name' columns. Add 'id'
column.
* src/cuirass/database.scm (db-add-evaluation): Adapt.
(db-get-derivation, db-add-derivation): New procedures.
(evaluation-exists?, db-get-evaluation): Delete.
* bin/evaluate.in (main): Adapt.
* tests/database.scm ("sqlite-exec"): Likewise.
("db-add-derivation", "db-get-derivation"): New tests.
("db-add-evaluation", "db-get-evaluation"): Delete.
|
|
|
|
| |
* tests/database/scm ("db-add-build-log"): Delete.
|
|
|
|
|
| |
* tests/hello-singleton.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
|
| |
|
| |
|
|
|
|
| |
Adapt src/cuirass/database.scm and its tests.
|
|
|
|
| |
Export it. Add a test.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This fixes a bug where different Guix branches gave the same
derivations.
|
| |
|
|
|
|
| |
This calls were using its previous name 'job-name'.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Don't create it in 'srcdir' to please 'make distcheck'.
|
|
|
|
| |
Move it to (cuirass database).
|
| |
|
| |
|
| |
|
|
|
|
| |
* tests/gnu-system.scm (hydra-jobs): Add hello subset.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* tests/gnu-system.scm: New file.
* bin/cuirass.in (evaluate, main): Use it.
|
|
|