Commit Graph

208 Commits

Author SHA1 Message Date
cb2493eca9 * Store the jobset's nixExprPath and nixExprInput fields in a build to
allow it to be cloned (re-executed with modified inputs) later and
  to provide some traceability.
2009-10-26 13:33:48 +00:00
69f290413c * Do not garbage collect releases. 2009-10-26 12:47:29 +00:00
2cf42489e2 * More renaming. 2009-10-20 12:35:01 +00:00
8f9417f822 * Be a bit less aggressive in rescheduling builds that have already
been done.
2009-10-19 12:36:15 +00:00
3ebe5e1069 2009-10-15 13:35:52 +00:00
1c5ab05521 * added support for twitter notification
3 environment variables are important: 
      TWITTER_USER
      TWITTER_PASS
      HYDRA_BUILD_BASEURL
   - twitter notification is off when TWITTER_USER and TWITTER_PASS are not defined
   - if HYDRA_BUILD_BASEURL is not defined, no URL is put in the twitter messages
2009-10-15 13:23:15 +00:00
71bc5b14a0 * Add --fallback to prevent problems with obsolete substitutes. 2009-10-08 11:51:49 +00:00
6cedee5476 * Allow jobsets to be disabled. 2009-10-08 11:39:16 +00:00
158a746e94 * Don't bother with the Jobs.active column anymore. 2009-10-08 11:19:39 +00:00
f158697796 * Shut up DBIx::Class. 2009-10-08 11:19:17 +00:00
076ef05578 * In the scheduler, don't check if we've already done a build (except
against the set of current builds for the job).  This ensures that
  the builds with the highest ID are what we want in the channel, even
  in case of reverts.
2009-10-07 13:18:12 +00:00
e9cf409d80 * Mark the "current" builds in a jobset, i.e. those corresponding to
the derivations that the jobset currently contains.  This is
  necessary to allow the "latest" channel to contain the correct
  builds when the sources of a jobset are reverted.
2009-10-02 16:06:28 +00:00
cbeccda5eb * Typo. 2009-08-12 13:50:59 +00:00
5e72c17540 * Include more info in notification emails. 2009-08-12 13:31:27 +00:00
c1e6797d39 * Allow overriding the sender email address. 2009-07-24 18:06:34 +00:00
f89644ddb7 time out to 3600 for now 2009-07-13 11:42:56 +00:00
1cc99505b7 2009-07-10 14:43:21 +00:00
abe0a8eb9d * Get the URI for use in notification mails from the Hydra config
file.
2009-07-10 09:47:42 +00:00
bbf718e64d * Revert for now due to Postgres breakage. 2009-07-09 10:53:31 +00:00
44454ebeac * Send email if a build fails. 2009-07-08 15:52:55 +00:00
3119cc7edc 2009-07-07 16:15:38 +00:00
24a3b39463 * Store meta.maintainers. 2009-07-07 14:33:51 +00:00
5bdd5e7152 * Added a maintainers field to the Builds table.
* Regenerated the schema bindings with the latest DBIx::Class.
2009-07-07 13:59:59 +00:00
000fffeb11 2009-04-25 11:27:46 +00:00
109cc35edf * Randomly permute the order in which builds are added. This is
mainly to prevent all those Nixpkgs builds named "kde*" from
  building at the same time.  Since they all have the same slow
  dependencies (qt, kdelibs) this tends to block the buildfarm.
2009-04-23 15:40:36 +00:00
c48ec3d340 * Autoflush stdout. 2009-04-22 22:59:54 +00:00
97a6011628 * Hack around those SQLite timeouts: just retry the transaction. 2009-04-22 22:43:04 +00:00
80691a39f5 * Don't log redundant build steps in case of cached failures. 2009-04-22 14:41:12 +00:00
db4ce0df06 2009-03-31 16:09:04 +00:00
7b7c3f2265 * Perl sucks. "getBuildLog $drvPath" doesn't mean the same as
"getBuildLog($drvPath)" if you call it in a hash, and quietly screws
  up the rest of the hash.
2009-03-26 15:32:19 +00:00
f0f9f12e42 * Use Nix's negative caching. 2009-03-26 12:53:39 +00:00
c75977ce5a * Record the input containing the Nix expression (release.nix) in the
build inputs.  Otherwise we can't (for example) reproduce a build
  later.
2009-03-23 21:42:59 +00:00
0da0384753 * Top-level: don't exit on errors. 2009-03-23 01:13:37 +00:00
d9424b6364 * Show the input bindings in evaluation error messages. 2009-03-20 17:06:50 +00:00
2755c895ff * In job inputs of type "build", allow the project and jobset names of
the input build to be specified, as well as constraints on the
  inputs of the inputs build.  For instance, you can require that a
  build has input `system = "i686-linux"'.

  This is important when one binary build serves as an input to
  another binary build.  Obviously, we shouldn't pass a build on
  i686-linux as an input to another on i686-darwin.  Hence the
  necessity for constraint.

  The constraint are currently quite limited.  What you really want to
  say is that the "system" input of the other build has to match the
  "system" input of this build.  But those require a bit more work
  since they introduce dependencies between inputs.
2009-03-20 14:50:09 +00:00
b39e2c5e32 * Doh. 2009-03-18 17:13:13 +00:00
702da969a6 * Ordering by timestamp isn't a good idea here since a newer revision
might finish building before an older revision, and therefore have a
  lower timestamp.
2009-03-18 16:46:01 +00:00
a1848b08f2 2009-03-16 17:51:42 +00:00
bf1480cc25 * Doh. 2009-03-16 17:46:46 +00:00
5853a26b13 * Don't discard old build steps when restarting a build. 2009-03-16 16:56:47 +00:00
a6e84d8431 * Option to show the tail of a log. 2009-03-16 12:16:33 +00:00
d2fc382498 * Register GC roots properly. 2009-03-15 11:56:11 +00:00
32f0665d2c * Allow users to change the value of a build's "keep" flag, which
prevents the build output from being garbage collected.
2009-03-14 23:56:57 +00:00
7c7c43335d * Job status: show the active jobs. 2009-03-13 17:32:08 +00:00
ae364b9e5f * Represent jobs explicitly in the DB. 2009-03-13 14:49:25 +00:00
f2f586d842 * Disambiguate jobs by jobset name. I.e. jobs with the same name in
different jobsets are not considered the same job.
2009-03-12 23:46:17 +00:00
a623ad157e * Add the name of the jobset to ReleaseSetJobs, otherwise we can't
distinguish between jobs with the same name in different jobsets
  (e.g. "trunk" vs "stdenv-branch" for Nixpkgs).
* Renamed the "attrName" field of Builds to "job".
* Renamed the "id" field of BuildSteps to "build".
2009-03-12 14:18:30 +00:00
70276f59ea * Remove redundant -fork. 2009-03-11 15:52:39 +00:00
f945fbb5bd * Use Catalyst's HTTP::Prefork engine by default, with some limits to
prevent the server from being overloaded.
2009-03-11 15:48:06 +00:00
7ea69e7a9d * Disregard failing substituters. 2009-03-10 11:49:18 +00:00