02cba75610
Add an action to download a specific output of a build as a .nar.bz2
...
E.g. http://hydra/build/3515983/output/out downloads the output named
"out" as a bzip2-compressed NAR.
2013-08-21 14:30:38 +02:00
edb88ef452
Remove unused ActiveJobs source
2013-08-20 15:22:46 +02:00
14e418cafa
Don't show bogus last-checked times
2013-08-16 18:26:01 +02:00
6264995198
Remove the jobs status page
...
The per-system presentation doesn't make much sense any more given
issue #60 . It should be replaced by (say) a grid showing each job per
evaluation.
2013-08-16 17:16:15 +02:00
e54c361a95
Remove per-platform links from the job page
...
Having different builds within a job is obsolete (issue #60 ), one
should have different job per platform (e.g. build.x86_64-linux).
2013-08-16 16:39:42 +02:00
a9c6f522e6
clear_queue_non_current: Don't use isCurrent
2013-08-16 16:38:09 +02:00
46f8b25c1f
Keep builds that failed with output
...
The user may want to look at the output, so they shouldn't be
GC'ed right away.
2013-08-16 16:36:06 +02:00
d16738e130
hydra-update-gc-roots: Keep the most recent evaluations
...
We now keep all builds in the N most recent evaluations of a jobset,
rather than the N most recent builds of every job. Note that this
means that typically fewer builds will be kept (since jobs may be
unchanged across evaluations).
2013-08-16 16:21:30 +02:00
8e1ade4422
Fix display of non-aggregate builds
2013-08-15 13:57:47 +02:00
242072bbd6
Hide the views tab for project that don't have them
...
Views are obsolete (replaced by the declarative "aggregate" build
mechanism) so we don't want people creating new ones.
2013-08-15 13:54:23 +02:00
c9a0e12804
Hide project/jobset in constituent list
2013-08-15 03:35:18 +02:00
72a0fa6ec5
Sort constituents by job name
2013-08-15 03:28:21 +02:00
06c74085b5
Make "Add to release" a modal dialog
2013-08-15 03:07:20 +02:00
d92d83a82a
Fix broken redirect when editing a release
2013-08-15 02:57:36 +02:00
1776d9118f
Rename aggregate members to constituents
2013-08-15 02:33:10 +02:00
e4141afcc9
On the build page, show how many aggregate constituents failed
...
(Also, renamed aggregate "member" to "constituent", since "member" is
rather vague.)
2013-08-15 02:17:06 +02:00
81322de94e
Show aggregate members
2013-08-15 00:30:19 +02:00
d58142b3f0
Store aggregate members in the database
...
For presentation purposes, we need to know what builds are part of an
aggregate build. So at evaluation time, look at the "members"
attribute, find the corresponding builds in the eval, and create a
mapping in the AggregateMembers table.
2013-08-14 01:59:29 +02:00
c27f4bbaf5
Add a redirect from an eval to a named member
...
E.g. /eval/798867/job/tarball redirects to the build with job name
"tarball".
2013-08-13 01:56:45 +02:00
a25ea193f7
Add a /eval action to /build to go from a build to the latest finished eval
2013-08-13 01:43:50 +02:00
fcdca0d4de
Fix some XML wellformedness issues
2013-08-13 00:41:37 +02:00
4792256e43
Add some more fields to the JSON output of /build
2013-08-12 22:57:53 +02:00
bef263c930
Add a ‘latest-finished’ action
...
It redirects to the latest successful build from a finished
evaluation. This is mostly useful for the Nixpkgs/NixOS mirroring
script, which need the latest finished evaluation in which some
aggregate job (such as ‘tested’ in NixOS) succeeded.
2013-08-12 22:17:04 +02:00
84acccb3ea
Index builds on stop time
...
This is necessary to make the /all page fast, since it sorts builds on
descending stop time.
2013-08-12 20:19:10 +02:00
452c8e36d1
Materialize the number of finished builds
...
The NrBuilds table tracks the value of ‘select count(*) from Builds
where finished = 0’, keeping it up to date via a trigger. This is
necessary to make the /all page fast, since otherwise it needs to do a
sequential scan on the Builds table.
2013-08-12 20:19:10 +02:00
182f725612
Don't pass an undefined input
2013-08-12 18:15:11 +02:00
d96df42c03
GitInput.pm: Don't do a chdir to the Git clone
...
Doing a chdir in the parent is evil. For instance, we had Hydra core
dumps ending up in the cloned directory. Therefore, the function
‘run’ allows doing a chdir in the child. The function ‘grab’ returns
the child's stdout and throws an exception if the child fails.
2013-08-12 17:46:26 +02:00
90eedcf256
HipChat notification: add support for Mercurial inputs for determining who might have broken the build.
2013-08-07 08:53:32 +00:00
96e987bbfa
Use inputTypes from plugins to determine valid input types
...
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-07-29 17:42:49 -04:00
687ca429c3
Pass project and jobset to fetchInput
...
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-07-29 15:33:22 -04:00
f231c23b75
Only serialize JSON and HTML, not the C::C::REST defaults
...
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-07-26 14:25:25 -04:00
eab13d8736
ToJSON is automatically called recursively
...
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-07-26 13:54:07 -04:00
d6b23272e3
Don't try to serialize if there's nothing to serialize
...
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-07-26 12:04:27 -04:00
f7bcf9fc19
The field is actually enabled, not disabled
...
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-07-25 17:59:13 -04:00
1404d33005
Show when a Project's jobsets are disabled
...
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-07-25 17:48:28 -04:00
513c030268
Do not use local clone for Bazaar inputs.
2013-07-22 20:42:17 +02:00
6574d125c7
Get rid of a warning in the HipChat plugin
2013-07-19 14:43:04 +02:00
2d5e06918b
Hydra::View::Plain: Explicitly set the response body.
...
This fixes a bug with Catalyst 1.39 whereby a raw hash table would
erroneously be returned for /nix-cache-info.
2013-07-12 16:53:48 +02:00
438d7f7c5c
Reply 404 for requests for non-existent .narinfo.
2013-07-12 16:52:40 +02:00
db3647aa15
Set the character set
...
Cherry-picked from the persona branch.
2013-07-12 15:04:13 +02:00
d071bbfb28
Fix Hipchat notification
2013-07-12 15:04:13 +02:00
7a0f80f016
Include the email override list in the Jobset serialization
...
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-07-11 11:01:36 -04:00
efd011fbc3
Revert "Don't call buildFinished after we already know it failed"
...
I don't understand perl strings.
This reverts commit b2f6be9686
.
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-07-08 14:30:46 -04:00
b2f6be9686
Don't call buildFinished after we already know it failed
...
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-07-08 13:52:51 -04:00
166d56088f
Call buildFinished when a cached build is added
...
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-07-08 13:35:34 -04:00
b46f2134e0
Revert "Emable overriding the email template."
...
This doesn't work as planned, will re-work.
This reverts commit 304f8a5714
.
2013-07-05 18:10:50 -04:00
a168f43515
Revert "Handle HYDRA_EMAIL_TEMPLATES that are paths"
...
This doesn't work as planned, will re-work.
This reverts commit d2ce7747a0
.
2013-07-05 18:10:21 -04:00
d2ce7747a0
Handle HYDRA_EMAIL_TEMPLATES that are paths
...
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-07-05 17:22:51 -04:00
304f8a5714
Emable overriding the email template.
...
The HYDRA_EMAIL_TEMPLATE env var can be set to any value understood by
https://metacpan.org/module/Template#process-template-vars-output-options
as the $template argument.
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-07-05 16:29:09 -04:00
be3ca0dd84
Fix jobset update
...
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-07-05 14:44:29 -04:00