c4e39d4769
Add one-shot jobsets
...
There are jobsets that are evaluated only once, that is, after they've
been evaluated, they're disabled automatically. This is primarily
useful for doing releases: for instance, doing an evaluation with
"officialRelease" set to "true" should be done only once.
2013-10-11 12:01:52 +02:00
0babdf3532
Adjust to the NixOS/Nixpkgs merge
2013-10-11 10:58:34 +02:00
f592ce0026
Fix extreme slowness in hydra-queue-runner
...
If there are builds in the queue that depend on another scheduled
build, then hydra-queue-runner will start the dependency first and
block the dependent builds. This is implemented in
findBuildDependencyInQueue. However, if there are tens of thousands
of such dependent builds, since each call to
findBuildDependencyInQueue may take a second or so, hydra-queue-runner
will spend hours just deciding which builds *not* to do. Thus very
little progress is made.
So now, when a build is started, we immediately check which builds are
"blocked" by it (i.e. depend on it), and remove such builds from
consideration.
2013-10-11 10:54:02 +02:00
a49457b2fd
Don't break inside durations
2013-10-10 12:43:27 +02:00
26470f1656
Check all inputs for blame but only email selected inputs
...
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-10-08 14:47:24 -04:00
804617f075
Email responsible authors if requested
...
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-10-08 13:24:49 -04:00
f8b80c99c2
Include who-broke-the-build information in notification emails
...
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-10-08 13:24:49 -04:00
272d9e235d
Remove unused assignment
...
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-10-08 13:24:49 -04:00
2c90857689
getResponsibleAuthors: Respect checkResponsible
...
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-10-08 13:24:49 -04:00
58ad3b4b6c
Enable setting checkresponsible in the edit jobset form
...
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-10-08 13:24:49 -04:00
3e1f930928
Enable setting emailresponsible in the edit jobset form
...
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-10-08 13:24:49 -04:00
3e4a4e3761
Propagate checkresponsible from JobsetInput to BuildInput
...
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-10-08 13:24:49 -04:00
07157f8125
Update Schema classes
...
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-10-08 13:24:49 -04:00
6342464110
Add DB columns for when to notify responsible committers and which inputs should be checked
...
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-10-08 13:24:49 -04:00
7913701d54
Factor a getResponsibleAuthors helper out of the HipChatNotification
...
Signed-off-by: Shea Levy <shea@shealevy.com >
2013-10-08 13:24:49 -04:00
20f1bf215a
Make actions dropdown easier to find by making the dropdown title bold
2013-10-08 13:32:46 +02:00
0ec03aa0f4
Handle builds with multiple outputs correctly in Hydra channels
2013-10-07 17:06:17 +02:00
5ccff14f6b
In Hydra channels, show only packages matching the user's system type
...
Fixes NixOS/nix#169 .
2013-10-07 14:53:27 +02:00
5294a0a8a0
Register restarted derivations as GC roots
2013-10-04 17:11:42 +02:00
052bab169d
Add a jobset eval action to restart all aborted/cancelled builds
2013-10-04 17:01:47 +02:00
85d51074b9
Jobset eval page: Show all aborted builds under the "aborted jobs" tab
...
Previously some might be included under the "new jobs" tab
2013-10-04 16:36:22 +02:00
e334ff541d
Jobset eval page: Show the number of builds in each tab
2013-10-04 16:35:56 +02:00
aa49b128a8
Remove the "clone build" feature
2013-10-04 15:43:51 +02:00
7818bb75ed
Add an action to cancel all builds in a jobset eval
2013-10-04 15:40:43 +02:00
3e54f0a6ab
Fix an uninitialized value warning
2013-10-04 14:47:30 +02:00
ee5b655535
Maintain the order of the input alternatives
2013-10-03 20:03:57 +02:00
550bf210fe
Use more flash messages
2013-10-03 19:54:22 +02:00
383bc62803
Restore link to clearvcscache
2013-10-03 19:43:21 +02:00
720c3892a3
Use delete instead of delete_all
...
DBIC's delete_all method fetches all rows separately, which is slow.
2013-10-03 19:42:44 +02:00
f32077b5e8
Simplify jobset cloning
...
We can just show the normal "edit jobset" page for the original jobset
and then do a PUT request to create a new jobset.
Also simplified updating the jobset inputs. We can just delete all of
them and recreate them from the user parameters. That's safe because
it's done in a transaction.
2013-10-03 19:28:25 +02:00
232f46c750
Use the REST API in the web interface for editing jobsets
2013-10-03 18:49:37 +02:00
63062f7bba
Instead hard breaks in multi-line error messages
2013-10-03 18:05:37 +02:00
851c3329d0
Implement DELETE for jobsets and use it in the web interface
2013-10-03 17:54:40 +02:00
ae13dd3e67
Use the REST API in the web interface for editing projects
2013-10-03 17:23:41 +02:00
8355dc57ee
Ensure proper encoding of error messages
2013-10-03 17:20:00 +02:00
acdeaa1d80
Fix tabs
2013-10-03 15:14:55 +02:00
97c76f34df
Remove more dead code
2013-10-03 15:14:40 +02:00
ed132cf1fc
Remove obsolete JobStatus source
2013-10-03 15:05:53 +02:00
c7a039bd05
Remove the Errors page
...
The same info is readily available under the most recent jobset eval
page.
2013-10-03 15:00:28 +02:00
64d617a6b2
Remove already disabled jobstatus code
2013-10-03 14:56:07 +02:00
adcdfcde6b
Remove some obsolete JSON APIs
2013-10-03 14:50:56 +02:00
c8e5faf81e
Clean up error handling
2013-10-03 14:45:23 +02:00
4ddb173ca1
Use notFound instead of status_not_found
2013-10-03 14:16:21 +02:00
2166c478ef
Fix and clean up editing project settings
2013-10-03 14:05:10 +02:00
b1f7096935
Restore old findBuildDependencyInQueue behaviour
2013-10-03 13:08:32 +02:00
b1a26e6caa
Revert "Add a dependency_lookup configuration option to enable (slow) dependency lookup in queue. This behaviour was disabled temporarily in accefbb79
due to slowness in very large queues, but some people might be dependent on it, so it is configurable until the previous behaviour is implemented more efficiently."
...
This reverts commit 24f5a6b15f
.
2013-10-03 13:07:32 +02:00
9f3b47c963
Allow only project owners to delete projects / jobsets
...
Giant gaping security hole.
2013-10-03 13:06:16 +02:00
7a5ec00ea1
Fix a "Argument isn't numeric" warning if there are not jobsets
2013-10-03 13:04:20 +02:00
77fd72070f
Fix showing the project's display name
2013-10-03 10:17:53 +00:00
24f5a6b15f
Add a dependency_lookup configuration option to enable (slow) dependency lookup in queue. This behaviour was disabled temporarily in accefbb79
due to slowness in very large queues, but some people might be dependent on it, so it is configurable until the previous behaviour is implemented more efficiently.
2013-10-03 09:09:18 +00:00