Commit Graph

  • 18a3c3ff1c Update "make check" for the new queue runner Eelco Dolstra 2015-06-25 15:29:22 +02:00
  • 32210905d8 Automatically reload $NIX_REMOTE_SYSTEMS when it changes Eelco Dolstra 2015-06-25 12:24:11 +02:00
  • 1a0e1eb5a0 More stats Eelco Dolstra 2015-06-24 13:19:16 +02:00
  • 3f8891b6ff Fix incorrect debug message Eelco Dolstra 2015-06-23 17:53:08 +02:00
  • 62219adaf3 Send queue runner stats to statsd Eelco Dolstra 2015-06-23 14:54:34 +02:00
  • af5cbe97aa createStep(): Cache finished derivations Eelco Dolstra 2015-06-23 03:25:31 +02:00
  • 681f63a382 Typo Eelco Dolstra 2015-06-23 02:15:11 +02:00
  • 524ee295e0 Fix sending notifications in the successful case Eelco Dolstra 2015-06-23 02:13:06 +02:00
  • 4db7c51b5c Rate-limit the number of threads copying closures at the same time Eelco Dolstra 2015-06-23 01:49:14 +02:00
  • a317d24b29 hydra-queue-runner: Send build notifications Eelco Dolstra 2015-06-23 00:14:49 +02:00
  • 5312e1209b Keep per-machine stats Eelco Dolstra 2015-06-22 17:11:17 +02:00
  • d06366e7cf Remove obsolete comment Eelco Dolstra 2015-06-22 16:59:50 +02:00
  • e069ee960e Doh Eelco Dolstra 2015-06-22 16:58:40 +02:00
  • a757b783f4 Update $PATH Eelco Dolstra 2015-06-22 16:15:16 +02:00
  • e32ee3d5b9 Remove hydra-build and the old hydra-queue-runner Eelco Dolstra 2015-06-22 15:43:15 +02:00
  • 41ba7418e2 hydra-queue-runner: More stats Eelco Dolstra 2015-06-22 15:34:33 +02:00
  • 62b53a0a47 Guard against concurrent invocations of hydra-queue-runner Eelco Dolstra 2015-06-22 14:24:03 +02:00
  • fbd7c02217 Periodically dump/log status Eelco Dolstra 2015-06-22 14:15:43 +02:00
  • 4f4141e1db Add command ‘hydra-queue-runner --status’ to show current status Eelco Dolstra 2015-06-22 14:06:44 +02:00
  • 44a2b74f5a Keep track of the number of build steps that are being built Eelco Dolstra 2015-06-22 11:23:00 +02:00
  • fed71d3fe9 Move "created" field into Step::State Eelco Dolstra 2015-06-22 11:02:01 +02:00
  • 90a08db241 hydra-queue-runner: Fix assertion failure Eelco Dolstra 2015-06-22 10:59:07 +02:00
  • d744362e4a hydra-queue-runner: Fix segfault sorting machines by load Eelco Dolstra 2015-06-21 16:21:42 +02:00
  • a0eff6fc15 Fix machine selection Eelco Dolstra 2015-06-19 17:45:26 +02:00
  • a0c4120232 Don't copy src for nix-shell Eelco Dolstra 2015-06-19 17:45:11 +02:00
  • 81abb6e166 Improve parsing of hydra-build-products Eelco Dolstra 2015-06-19 17:20:20 +02:00
  • e13477bdf2 Robustness Eelco Dolstra 2015-06-19 16:35:49 +02:00
  • f196967c43 Don't create a propagated build step to the same build Eelco Dolstra 2015-06-19 15:33:37 +02:00
  • 7afc61691b Doh Eelco Dolstra 2015-06-19 15:27:49 +02:00
  • 133d298e26 Asynchronously compress build logs Eelco Dolstra 2015-06-19 14:51:59 +02:00
  • 8e408048e2 Create build step for non-top-level cached failures Eelco Dolstra 2015-06-19 11:33:15 +02:00
  • 77c8bfd392 Improve logging for aborts Eelco Dolstra 2015-06-19 10:37:22 +02:00
  • 8db1ae2855 Less verbosity Eelco Dolstra 2015-06-18 17:43:13 +02:00
  • 89b629eeb1 Fix finishing steps that are not top-level of any build Eelco Dolstra 2015-06-18 17:37:35 +02:00
  • 9cdbff2fdf Handle concurrent finishing of the same build Eelco Dolstra 2015-06-18 17:12:51 +02:00
  • 948473c909 Fix race between the queue monitor and the builder threads Eelco Dolstra 2015-06-18 16:30:28 +02:00
  • 9c03b11ca8 Simplify retry handling Eelco Dolstra 2015-06-18 14:51:08 +02:00
  • e039f5f840 Create failed build steps for cached failures Eelco Dolstra 2015-06-18 04:35:37 +02:00
  • 92ea800cfb Set finishedInDB in a few more places Eelco Dolstra 2015-06-18 04:19:21 +02:00
  • 47367451c7 hydra-queue-runner: Set isCachedBuild Eelco Dolstra 2015-06-18 03:28:58 +02:00
  • 8257812d0a Acquire exclusive table lock earlier Eelco Dolstra 2015-06-18 02:44:29 +02:00
  • 69be3cfe93 hydra-queue-runner: Handle status queries on the main thread Eelco Dolstra 2015-06-18 01:57:01 +02:00
  • a40ca6b76e hydra-queue-runner: Improve dispatcher Eelco Dolstra 2015-06-18 01:52:20 +02:00
  • 3855131185 hydra-queue-runner: Improve SSH flags Eelco Dolstra 2015-06-18 00:50:48 +02:00
  • f57d0b0c54 hydra-queue-runner: Maintain count of active build steps Eelco Dolstra 2015-06-18 00:24:56 +02:00
  • 59dae60558 hydra-queue-runner: More stats Eelco Dolstra 2015-06-17 22:38:12 +02:00
  • ec8e8edc86 hydra-queue-runner: Handle $HYDRA_DBI Eelco Dolstra 2015-06-17 22:11:01 +02:00
  • 4d9c74335d Add forgotten file Eelco Dolstra 2015-06-17 21:39:28 +02:00
  • ce9e859a9c hydra-queue-runner: Implement --unlock Eelco Dolstra 2015-06-17 21:35:20 +02:00
  • ca48818b30 Fix remote building Eelco Dolstra 2015-06-17 17:28:59 +02:00
  • 11be780948 Handle failure with output Eelco Dolstra 2015-06-17 17:11:42 +02:00
  • b1a75c7f63 getQueuedBuilds(): Handle dependent builds first Eelco Dolstra 2015-06-17 14:46:02 +02:00
  • c6d504edbb Handle SSH hosts without a @ Eelco Dolstra 2015-06-17 13:49:18 +02:00
  • 745efce828 hydra-queue-runner: Implement timeouts Eelco Dolstra 2015-06-17 13:32:06 +02:00
  • 2da4987bc2 Don't lock the CPU Eelco Dolstra 2015-06-17 11:48:38 +02:00
  • b91a616520 Automatically retry aborted builds Eelco Dolstra 2015-06-17 11:45:20 +02:00
  • e02654b3a0 Prefer cached failure over unsupported system type Eelco Dolstra 2015-06-16 18:00:39 +02:00
  • a984c0badc Merge branch 'master' into build-ng Eelco Dolstra 2015-06-15 18:21:07 +02:00
  • 42e7301c08 Add status dump facility Eelco Dolstra 2015-06-15 18:20:14 +02:00
  • dd104f14ea Make the queue monitor more robust, and better debug output Eelco Dolstra 2015-06-15 16:54:52 +02:00
  • 147eb4fd15 Support requiredSystemFeatures Eelco Dolstra 2015-06-15 16:33:50 +02:00
  • 508ab7f8a2 Tweak build steps Eelco Dolstra 2015-06-15 15:48:05 +02:00
  • 21aaa0596b Fail builds with previously failed steps early Eelco Dolstra 2015-06-15 15:31:42 +02:00
  • c00bf7cd1a Check non-runnable steps for unsupported system type Eelco Dolstra 2015-06-15 15:13:03 +02:00
  • 5019fceb20 Add a error type for "unsupported system type" Eelco Dolstra 2015-06-15 15:07:04 +02:00
  • 541fbd62cc Immediately abort builds that require an unsupported system type Eelco Dolstra 2015-06-15 14:51:49 +02:00
  • bf87d3a6ed Use stable Nix Eelco Dolstra 2015-06-15 14:51:38 +02:00
  • d6354cbe1f Fix Perl error in tests.api Eelco Dolstra 2015-06-15 11:47:56 +02:00
  • abca7a87da Cleanup Eelco Dolstra 2015-06-12 18:02:54 +02:00
  • f06ec78859 Handle building from a dirty Git tree Eelco Dolstra 2015-06-12 18:02:39 +02:00
  • 18e0a62e24 Disable 32-bit builds again Eelco Dolstra 2015-06-12 15:35:14 +02:00
  • f9cd5adae8 Queue monitor: Get only the fields we need Eelco Dolstra 2015-06-11 18:09:50 +02:00
  • c974fb893b Support cancelling builds Eelco Dolstra 2015-06-11 18:07:45 +02:00
  • c08883966c Use PostgreSQL notifications for queue events Eelco Dolstra 2015-06-11 17:38:55 +02:00
  • 672bbb1c67 hydra-update-gc-roots: Get Builds and BuildOutputs in the same query Eelco Dolstra 2015-06-11 14:09:50 +02:00
  • 9989a90e99 Keep the most recent successful build of current jobs Eelco Dolstra 2015-06-11 13:58:23 +02:00
  • d72a88b562 Don't try to handle SIGINT Eelco Dolstra 2015-06-10 15:55:46 +02:00
  • a4fb93c119 Lock builds for a shorter amount of time Eelco Dolstra 2015-06-10 15:36:21 +02:00
  • 6d738a31bf Keep track of failed paths in the Hydra database Eelco Dolstra 2015-06-10 14:57:16 +02:00
  • c68036f8b0 Pass ssh key Eelco Dolstra 2015-06-10 14:57:07 +02:00
  • 7dd1f0097e Finish copyClosure Eelco Dolstra 2015-06-09 16:03:41 +02:00
  • c93aa92563 Create BuildSteps race-free Eelco Dolstra 2015-06-09 15:03:20 +02:00
  • 61d4060522 Record the machine used for a build step Eelco Dolstra 2015-06-09 14:57:49 +02:00
  • 08633508da Fix colspan Eelco Dolstra 2015-06-09 14:42:02 +02:00
  • ca1fbdd058 Mark builds as busy Eelco Dolstra 2015-06-09 14:31:14 +02:00
  • 8b12ac1f6d Basic remote building Eelco Dolstra 2015-06-09 14:21:21 +02:00
  • 3a6cb2f270 Implement a database connection pool Eelco Dolstra 2015-05-29 20:55:13 +02:00
  • 214b95706c On SIGINT, shut down the builder threads Eelco Dolstra 2015-05-29 20:02:15 +02:00
  • bc36c7ddd0 hydra-module: Don't assume hydra is running on localhost. Shea Levy 2015-05-29 12:16:04 -04:00
  • e778821940 Make concurrency more robust Eelco Dolstra 2015-05-29 17:14:20 +02:00
  • 8640e30787 Very basic multi-threaded queue runner Eelco Dolstra 2015-05-29 01:31:12 +02:00
  • 604fdb908f Pass null values to libpqxx properly Eelco Dolstra 2015-05-28 19:06:17 +02:00
  • dc446c3980 Start of single-process hydra-queue-runner Eelco Dolstra 2015-05-28 17:39:29 +02:00
  • a91cbefda0 Shut up warnings Eelco Dolstra 2015-05-28 17:37:04 +02:00
  • ff8cb93fe7 reproduce.tt: Wrap script to prevent problems piping into bash Eelco Dolstra 2015-05-26 17:11:29 +02:00
  • c32a244bd7 reproduce.tt: Add --print-flags option Eelco Dolstra 2015-05-26 16:36:08 +02:00
  • f5ecb7a81a reproduce.tt: Use -I instead of $NIX_PATH Eelco Dolstra 2015-05-26 16:07:00 +02:00
  • b8a0956443 reproduce.tt: Add option to fetch but not build Eelco Dolstra 2015-05-26 16:01:37 +02:00
  • 91ecee0e5d Fix reproduce script Eelco Dolstra 2015-05-26 15:54:38 +02:00
  • c93ff1e817 Doh Eelco Dolstra 2015-05-26 15:25:21 +02:00