hydra: Support per-package absolute build timeouts.
* build-aux/hydra/gnu-system.scm (package->alist): Use the 'timeout' value in the package 'properties' alist, if present.master
parent
307153c1ef
commit
ae0bcc1e9d
|
@ -78,10 +78,8 @@
|
||||||
(license . ,(package-license package))
|
(license . ,(package-license package))
|
||||||
(home-page . ,(package-home-page package))
|
(home-page . ,(package-home-page package))
|
||||||
(maintainers . ("bug-guix@gnu.org"))
|
(maintainers . ("bug-guix@gnu.org"))
|
||||||
|
(timeout . ,(or (assoc-ref (package-properties package) 'timeout)
|
||||||
;; Work around versions of 'hydra-eval-guile-jobs' before Hydra commit
|
72000)))) ; 20 hours by default
|
||||||
;; 61448ca (27 Feb. 2014) which used a default timeout of 2h.
|
|
||||||
(timeout . 72000)))
|
|
||||||
|
|
||||||
(define (package-job store job-name package system)
|
(define (package-job store job-name package system)
|
||||||
"Return a job called JOB-NAME that builds PACKAGE on SYSTEM."
|
"Return a job called JOB-NAME that builds PACKAGE on SYSTEM."
|
||||||
|
|
Reference in New Issue