summaryrefslogtreecommitdiff
path: root/build-aux/hydra
Commit message (Expand)AuthorAgeFilesLines
* ci: Add log and outputs keys.•••Add 'log and 'outputs properties to hydra objects. This way Cuirass won't have to go through every derivation to add those properties. * gnu/ci.scm (package->alist, image-jobs, system-test-jobs, tarball-jobs): Add 'log and 'outputs properties. * build-aux/hydra/guix-modular.scm (build-job): Ditto. Mathieu Othacehe2020-10-011-0/+6
* ci: Add nix-name and system keys.•••Add 'nix-name and 'system properties to hydra objects. This way Cuirass won't have to go through every derivation to add those properties. * gnu/ci.scm (package->alist, image-jobs, system-test-jobs, tarball-jobs): Add 'nix-name and 'system properties. * build-aux/hydra/guix-modular.scm (build-job): Ditto. Mathieu Othacehe2020-10-011-11/+13
* Remove workaround for 'time-monotonic' in Guile 2.2.2.•••This is a followup to e688c2df3924423b67892cc9939ca099c729d1cb. * build-aux/hydra/evaluate.scm <top level>: Remove 'time-monotonic' definition. * guix/cache.scm: Likewise. * guix/progress.scm: Likewise. * guix/scripts/substitute.scm: Likewise. * guix/scripts/weather.scm: Likewise. * tests/cache.scm: Likewise. Ludovic Courtès2020-03-221-7/+0
* hydra: evaluate: Use 'with-build-handler'.•••* build-aux/hydra/evaluate.scm (command-line): Remove 'set!' for 'build-things'. Use 'with-build-handler' instead. * build-aux/hydra/gnu-system.scm (hydra-jobs): Add comment about removing 'show-what-to-build' call. Ludovic Courtès2020-03-222-42/+38
* hydra: Remove uses of _IOLBF.•••_IOLBF & co. were deprecated in Guile 2.2 and removed in 3.0. * build-aux/hydra/gnu-system.scm: Pass 'line instead of _IOLBF to 'setvbuf'. * build-aux/hydra/guix-modular.scm: Likewise. Ludovic Courtès2020-03-052-4/+4
* ci: Make sure the Guix checkout is the one providing Cuirass proc.•••Fixes <https://bugs.gnu.org/36378>. Reported by Reza Alizadeh Majd <r.majd@pantherx.org>. * build-aux/hydra/gnu-system.scm (find-current-checkout): New procedure. (hydra-jobs): Use FIND-CURRENT-CHECKOUT to define CHECKOUT. Pass it to the inferior Guix as an extra argument whose key is 'superior-guix-checkout'. * gnu/ci.scm (find-current-checkout): New procedure. (hydra-jobs): Use FIND-CURRENT-CHECKOUT to define CHECKOUT. This will return '#f' if the current Guix is an inferior. In that case, use the 'superior-guix-checkout' argument provided by the superior Guix. Clément Lassieur2019-12-011-14/+22
* hydra: Compute jobs in an inferior.•••Previously we would rely on auto-compilation of all the Guix modules. The complete evaluation would take ~15mn on berlin.guixsd.org and require lots of RAM. This approach should be faster since potentially only part of the modules are rebuilt. Furthermore, as a side-effect, it builds the derivations that 'guix pull' uses. * build-aux/hydra/gnu-system.scm: Remove 'eval-when' form. (hydra-jobs): New procedure. * gnu/ci.scm (package->alist, qemu-jobs, system-test-jobs) (tarball-jobs): Return strings for the 'license' field. * guix/self.scm (compiled-guix)[*cli-modules*]: Add (gnu ci). Ludovic Courtès2019-01-061-28/+45
* hydra: evaluate: Add the checkout to the store.•••* build-aux/hydra/evaluate.scm <top level>: Add call to 'add-to-store'. Use that as the 'file-name' attribute. Call 'primitive-load' in a directory excursion to SOURCE. Ludovic Courtès2019-01-061-22/+33
* hydra: Move job definitions to (gnu ci).•••* build-aux/hydra/gnu-system.scm: Move code to... * gnu/ci.scm: ... here. New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. Ludovic Courtès2019-01-061-404/+3
* hydra: Use short timeouts for the QEMU jobs and system tests.•••These builds shouldn't take too long. Sometimes the guest kernel crashes and the VM gets stuck; we should be able to terminate those jobs quickly. * build-aux/hydra/gnu-system.scm (qemu-jobs)[->alist]: Add 'max-silent-time' and 'timeout'. (system-test-jobs)[test->thunk]: Likewise. Ludovic Courtès2018-12-291-0/+4
* hydra: Increase image sizes for USB image and Flash image.•••* build-aux/hydra/gnu-system.scm (qemu-jobs) <usb-image>: Increase from 1024 MiB to 1500 MiB. <flash-image>: Increase from 1024 MiB to 1500 MiB. Danny Milosavljevic2018-12-091-2/+2
* hydra: Remove useless 'parameterize'.•••* build-aux/hydra/gnu-system.scm (manifests->packages): Remove 'parameterize'. Clément Lassieur2018-09-141-6/+5
* hydra: Add support for manifests.•••* build-aux/hydra/gnu-system.scm (arguments->manifests, manifests->packages): New procedures. (hydra-jobs): Add a "manifests" subset. * doc/guix.texi (Continuous Integration): Update accordingly. Clément Lassieur2018-09-131-0/+35
* hydra: Make sure we add an absolute file name to the load path.•••Previously, under Cuirass, we'd add "build-aux/cuirass/../hydra/../..". But then, commit c45477d2a1a651485feede20fe0f3d15aec48b39 added this in (gnu system vm): (local-file (search-path %load-path "guix/store/schema.sql")) Since 'search-path' would not return an absolute file name, 'local-file' would try to resolve that relative to "gnu/system", leading to: ERROR: In procedure force: In procedure canonicalize-path: No such file or directory: "/gnu/store/…-guix-ce573b1/gnu/system/build-aux/cuirass/../hydra/../../guix/store/schema.sql * build-aux/hydra/gnu-system.scm <top level>: Canonicalize DIR before adding it to %LOAD-PATH. Ludovic Courtès2018-06-151-1/+2
* hydra: guix-modular: Build the full Guix.•••* build-aux/hydra/guix-modular.scm (build-job): Pass #:pull-version to BUILD. Ludovic Courtès2018-06-101-0/+1
* hydra: Switch back to "-" instead of "@" in package job names.•••Fixes a regression introduced in ede121de426f9c56820852888a0b370f0ccbce49. Reported by Mark H Weaver <mhw@netris.org>. * build-aux/hydra/gnu-system.scm (job-name): Pass "-" as the second argument to 'package-full-name'. Ludovic Courtès2018-05-121-1/+2
* hydra: Fix uses of 'eval-when'.•••* build-aux/hydra/gnu-system.scm: Use (expand load eval) in 'eval-when' clause so as to not poison a cat and to ensure %load-compiled-path is properly set when the 'use-modules' clauses are expanded. * build-aux/hydra/guix.scm: Likewise. Ludovic Courtès2018-04-092-3/+3
* hydra: guix-modular: Honor the 'systems' argument.•••* build-aux/hydra/guix-modular.scm (hydra-jobs)[systems]: Define as in gnu-system.scm. Honor SYSTEMS. Ludovic Courtès2018-04-081-9/+5
* hydra: guix-modular: Explicitly build for the latest 2.2.•••* build-aux/hydra/guix-modular.scm (build-job): Pass #:guile-version to 'build'. Ludovic Courtès2018-04-081-1/+2
* hydra: Clear '%load-compiled-path' for gnu-system.scm.•••On hydra.gnu.org GUILE_LOAD_COMPILED_PATH happened to be empty so we were fine. However on GuixSD with Cuirass, we could have a conflicting non-empty path and .go files for some of the (guix …) and (gnu …) modules would be taken from there. * build-aux/hydra/gnu-system.scm: Set %load-compiled-path. Ludovic Courtès2018-04-081-0/+9
* hydra: 'guix-modular' jobs use the new 'build-self'.•••* build-aux/hydra/guix-modular.scm: Remove 'eval-when' form that fiddled with '%load-path'. (build-job): Load 'build-aux/build-self.scm' and call the procedure it returns. * build-aux/hydra/evaluate.scm: The 'build-things' replacement no longer calls 'exit'. Ludovic Courtès2018-04-082-30/+13
* cuirass: Add job specs for the modular Guix.•••* build-aux/cuirass/guix-modular.scm: New file. * Makefile.am (EXTRA_DIST): Add it. Ludovic Courtès2018-04-081-3/+4
* Merge branch 'master' into core-updatesMarius Bakke2018-02-011-15/+32
|\
| * hydra: Fix up arm qemu job.•••* build-aux/hydra/gnu-system.scm (qemu-jobs): Fix up arm qemu job. Follow-up to 44b0303762f58badd9b9f8f1145e54b76b9d19d2. Danny Milosavljevic2018-01-291-1/+1
| * hydra: Only build the "flash image" on arm.•••* build-aux/hydra/gnu-system.scm (qemu-jobs): Only build the "flash image" on arm. Danny Milosavljevic2018-01-291-22/+26
| * hydra: Work around import problem.•••* build-aux/hydra/gnu-system.scm: qemu-jobs: Work around import problem. Follow-up to 1fe805b290f26db477bcd49be91af54f6c5d061f. Danny Milosavljevic2018-01-291-1/+1
| * hydra: Add (gnu bootloader) import.•••* build-aux/hydra/gnu-system.scm: Add (gnu bootloader) import. Follow-up to de2bc8d6da0ba4e74ed083af66a22cf96f74e67f. Danny Milosavljevic2018-01-291-0/+1
| * hydra: Add arm image builder.•••* build-aux/hydra/gnu-system.scm (%u-boot-systems): New variable. (%guixsd-supported-systems): Add armhf-linux. (qemu-jobs): Use u-boot if system in %u-boot-systems. Danny Milosavljevic2018-01-291-2/+14
* | hydra: Make the list of target systems a parameter.•••* build-aux/hydra/gnu-system.scm (hydra-jobs): Define 'systems' and use it. Ludovic Courtès2018-01-211-2/+8
* | hydra: Do not cross-build from non-Intel platforms.•••* build-aux/hydra/gnu-system.scm (hydra-jobs)[cross-jobs](pointless?): Return #t on non-Intel. Ludovic Courtès2017-12-291-2/+9
|/
* hydra: Pre-load the compiler.•••Starting from Guile 2.2.3, '%fresh-auto-compile' does what it says and would auto-compile everything, including the compiler (see <https://bugs.gnu.org/29226>). * build-aux/hydra/gnu-system.scm: Call 'compile'. Ludovic Courtès2017-12-131-4/+6
* hydra: Invalidate derivation caches after each architecture evaluation.•••This reduces max RSS from 1.3G to 1.0G. * guix/derivations.scm (invalidate-derivation-caches!): New procedure. * build-aux/hydra/gnu-system.scm (hydra-jobs): Use it. Add 'format' call. Ludovic Courtès2017-12-131-0/+7
* hydra: Add jobs for the modular Guix.•••* build-aux/hydra/guix-modular.scm: New file. * Makefile.am (EXTRA_DIST): Add it. Ludovic Courtès2017-11-211-0/+104
* hydra: 'evaluate' passes an alist to the entry point.•••* build-aux/hydra/evaluate.scm (%top-srcdir): New variable. <top level>: Pass it to 'hydra-jobs'. Ludovic Courtès2017-11-211-1/+8
* hydra: Add jobs for all of '%final-inputs'.•••* build-aux/hydra/gnu-system.scm (package->job): Create a 'base.' job when PACKAGE is a member of BASE-PACKAGES. (all-packages)[adjust]: New procedure. Fold over %FINAL-INPUTS and add it to the result. Ludovic Courtès2017-11-071-11/+17
* hydra: Build hidden packages.•••* build-aux/hydra/gnu-system.scm (all-packages): Pass #:select? to 'fold-packages'. Ludovic Courtès2017-11-071-1/+2
* hydra: Factorize package list creation.•••* build-aux/hydra/gnu-system.scm (all-packages): New procedure, with body taken from... (hydra-jobs): ... here. Use it. Ludovic Courtès2017-11-071-11/+14
* cuirass: Add 'cuirass-jobs.scm' target to compute the Cuirass jobs.•••* build-aux/hydra/evaluate.scm: Support "cuirass" command line option. * Makefile.am (cuirass-jobs.scm): New target. Jan Nieuwenhuizen2017-09-281-4/+9
* cuirass: Support subset with list of package[@version].•••* build-aux/hydra/gnu-system.scm (hydra-jobs): Support subset of packages: ("name[@version" ...). Jan Nieuwenhuizen2017-09-271-0/+12
* cuirass: Add gnu-system build spec.•••* build-aux/hydra/gnu-system.scm (hydra-jobs): Support subset "hello". * build-aux/cuirass/gnu-system.scm: New file. * doc/guix.texi (Continuous Integration): Update example spec. Jan Nieuwenhuizen2017-09-271-0/+7
* hydra: Add 'guix.SYSTEM' jobs.•••* build-aux/hydra/guix.scm (package->alist): Disable grafting. (hydra-jobs): Return 'guix.SYSTEM' jobs in addition to 'tarball'. Ludovic Courtès2017-07-251-2/+18
* hydra: Simplify 'tarball' job.•••* build-aux/hydra/guix.scm (tarball-package): Remove. (hydra-jobs): Use 'dist-package' instead of 'tarball-package'. Ludovic Courtès2017-07-251-31/+4
* build: Add iso9660 system image generator.•••* build-aux/hydra/gnu-system.scm (qemu-jobs): Add 'iso9660-image . * gnu/build/vm.scm (make-iso9660-image): New variable. Export it. * gnu/system/vm.scm (iso9660-image): New variable. Use make-iso9660-image. (system-disk-image): Use iso9660-image. Danny Milosavljevic2017-07-031-1/+8
* hydra: Don't build non-substitutable packages.•••* build-aux/hydra/gnu-system.scm (package->job): Compute PACKAGE's derivation; return #f if 'substitutable-derivation?' returns #f. Ludovic Courtès2017-06-151-1/+5
* hydra: Cross-build Guile 2.2.•••* build-aux/hydra/gnu-system.scm (%core-packages): Add GUILE-2.2. Ludovic Courtès2017-05-161-1/+1
* maint: Add 'time-monotonic' bug workaround in build-aux/hydra/evaluate.scm.•••* build-aux/hydra/evaluate.scm: Add 'time-monotonic' workaround for Guile 2.2. Ludovic Courtès2017-05-071-1/+8
* hydra: Don't build deprecated packages.•••* build-aux/hydra/gnu-system.scm (hydra-jobs): When iterating over the packages, exclude those that match 'package-superseded'. Ludovic Courtès2017-03-301-5/+8
* Merge branch 'master' into core-updates•••Most conflicts are from 6fd52309b8f52c9bb59fccffac53e029ce94b698. Marius Bakke2017-03-301-0/+1
|\
| * hydra: Include the localstatedir in the binary tarball.•••This is a followup to 6b63c43e0661406bf9e8c4c54f517744fc2ffdb3. * build-aux/hydra/gnu-system.scm (tarball-jobs): Pass #:localstatedir? #t to 'self-contained-tarball'. Ludovic Courtès2017-03-301-0/+1
* | Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner2017-03-131-1/+8
|\|