Commit graph

261 commits

Author SHA1 Message Date
Graham Christensen 06ea8606d6
Updatee amqp 2018-01-26 13:19:43 -05:00
Graham Christensen 1150d441be
Make publishing not mandatory since the lib doesn't handlee it properly 2018-01-26 13:18:48 -05:00
Graham Christensen 116c094877
Use bounded queues for the asynccmd task 2018-01-26 10:06:43 -05:00
Graham Christensen e71bcfa20b
Update amqp via carnix and direct builds to linux 2018-01-26 10:06:01 -05:00
Graham Christensen 1ef1c2f7e3
obnoxious debug stuff 2018-01-24 21:33:14 -05:00
Graham Christensen 6995551d16
Properly send job results to the job result queue 2018-01-24 19:32:47 -05:00
Graham Christensen 9b672e7d1f
Update amqp to handle io errs hopefully better 2018-01-24 19:32:30 -05:00
Graham Christensen f92db96f6a
Add a test for handling non-utf8 data 2018-01-24 09:08:33 -05:00
Graham Christensen 70d1f6f048
Move all the scratch file generation in to a class, and in to a specific subdir 2018-01-23 15:22:29 -05:00
Graham Christensen 2d91659380
Try to make the async cmd check more stable 2018-01-23 13:11:51 -05:00
Graham Christensen 67beebc680
Tighten up the warnings 2018-01-23 12:54:26 -05:00
Graham Christensen 30c722ff59
Redo the async command runner to wait on the child process and log threads on separate threads that the notify a wait receivern to wait on the waiters. 2018-01-23 11:31:38 -05:00
Graham Christensen 6d2915c816
Log collection 2018-01-22 21:45:15 -05:00
Graham Christensen 14fefdd51c
Create a log message generator for testing log saving / display 2018-01-22 09:48:30 -05:00
Graham Christensen b80eb71f67
Fixup testst 2018-01-21 18:00:42 -05:00
Graham Christensen 73ac0527ee
Make build workers reply to the job-defined exchange/routing key 2018-01-21 17:53:30 -05:00
Graham Christensen cc62b0cf1c
Convert the exchange / routing key types to Optional, as they should be 2018-01-21 17:40:17 -05:00
Graham Christensen d3857bd9ab
Send logs to per-PR queues 2018-01-21 14:29:48 -05:00
Graham Christensen d1c2512a2d
Remove useless code 2018-01-21 14:27:37 -05:00
Graham Christensen e66776cee8
Rustfmt 2018-01-21 14:17:25 -05:00
Graham Christensen b1aa41b2de
revert nixpkgs to a version with a working aarch64 rust 2018-01-21 14:06:43 -05:00
Graham Christensen f2556bc154
Pin log versions for mysterious carnix errors 2018-01-20 14:24:17 -05:00
Graham Christensen 1fb43ae09d
Update the config format to support omitting feedback.* but not feedback.full_logs 2018-01-20 12:40:02 -05:00
Graham Christensen 76cea8c462
Update nixpkgs and carnix 2018-01-20 12:39:34 -05:00
Graham Christensen bc85a61bd7
Update the tests for the full log 2018-01-20 12:26:41 -05:00
Graham Christensen 9122586689
Enable turning off the logs by default 2018-01-20 12:20:54 -05:00
Graham Christensen 2e5ab9dd1e
Add an option to control streaming logs 2018-01-20 12:14:24 -05:00
Graham Christensen c6e629b4ae
Make logs routable by the comment filter 2018-01-20 12:12:58 -05:00
Graham Christensen 32a4397634
Cleanup 2018-01-20 11:43:30 -05:00
Graham Christensen 58b34d662f
Send a message when a build starts, and associate a uuid ('attempt-id') with the build run to help log consumers understand builder failures 2018-01-20 11:42:27 -05:00
Graham Christensen e2696fbe5f
Write a test on the build job 2018-01-20 08:38:51 -05:00
Graham Christensen 47f3ba4bef
Send log messages 2018-01-19 21:59:54 -05:00
Graham Christensen 67869640ec
cherry-pick BuildLogMsg 2018-01-19 20:59:34 -05:00
Graham Christensen fc0e89ce01
Add a rudimentary test on the building of a PR 2018-01-19 20:59:34 -05:00
Graham Christensen 3979a82b71
Delete test.rs 2018-01-19 20:59:34 -05:00
Graham Christensen b94a4577fc
Convert the builder to use a notifyworker 2018-01-19 20:59:33 -05:00
Graham Christensen 44f4bca820
Move the tell'ing in to an Actions class 2018-01-19 20:59:33 -05:00
Graham Christensen 83909fb35d
tick basic events for mass rebuilder 2018-01-19 20:59:33 -05:00
Graham Christensen 9fcb621b48
Stats support maybe 2018-01-19 20:59:33 -05:00
Graham Christensen 960e9766d4
fixup signatures 2018-01-19 20:59:24 -05:00
Graham Christensen f717f7f962
Experiment with ticks via tell 2018-01-19 20:59:24 -05:00
Graham Christensen 0923e45ef8
Add a test worker, seems to be able to publish only 2 messages per second due to the broken underlying library 2018-01-19 20:59:24 -05:00
Graham Christensen bd5fa9bcc0
Add a worker that can return things during run time 2018-01-19 20:59:24 -05:00
Graham Christensen e4db4e8a2f
Create an asynccmd for running Commands in the background 2018-01-19 20:53:36 -05:00
Graham Christensen ffc7119362
Merge pull request #40 from NixOS/notify-logged-disintegration
Extracting common improvements from the two build log PRs
2018-01-19 11:39:32 -05:00
Graham Christensen 56f0701b80
Note about the comment parser and the x86_64-linux limit on tests 2018-01-19 11:15:37 -05:00
Graham Christensen 2135dd3941
Ignore local rust-amqp checkouts 2018-01-19 11:14:00 -05:00
Graham Christensen 2a4f56fd96
Update rust-amqp to handle rabbitmq write-heavy workloads better 2018-01-19 11:14:00 -05:00
Graham Christensen b29650ffed
ofborg/nix.rs: Create Command's separately and add some rudimentary tests 2018-01-19 11:13:55 -05:00
Graham Christensen df5f44f61c
Merge branch 'next' into released 2018-01-14 15:02:27 -05:00