Commit graph

381 commits

Author SHA1 Message Date
Graham Christensen a9182ea325
Add a PathsTagger for PR tagging based on modified paths 2018-02-03 11:02:19 -05:00
Graham Christensen e13b64f1b8
checkout: make a function for listing files changed 2018-02-03 11:02:14 -05:00
Graham Christensen cb42c4fa08
rustfmt 2018-02-03 10:59:29 -05:00
Graham Christensen cda4fa9e77
Merge pull request #58 from NixOS/automatically-schedule
Automatically schedule builds for trusted users
2018-02-03 10:04:01 -05:00
Graham Christensen f37e249ad7
fixup: pass acl to the mass rebuild worker 2018-02-03 09:44:16 -05:00
Graham Christensen c39e2a6865
Document the automatic building of PRs 2018-02-03 09:40:47 -05:00
Graham Christensen a0575eeac5
Cap the auto-scheduled builds to 10 2018-02-03 09:40:47 -05:00
Graham Christensen b2655cac5b
Test the fetching of commit messages, return a list of messages instead of a big string of messages 2018-02-03 09:40:47 -05:00
Graham Christensen 5e4360e6af
Autoschedule builds from trusted users 2018-02-03 09:40:42 -05:00
Graham Christensen eaeb97f596
Merge pull request #57 from NixOS/cleanup-outpath-parsing
Parse the results of the out paths sooner
2018-02-03 08:05:16 -05:00
Graham Christensen ac63df2a24
Try to guess things to build from the commit message in the mass rebuilder 2018-02-03 08:03:07 -05:00
Graham Christensen 41ab5d5e88
Parse the results of the out paths sooner
Prior, the OutPath just returned a file
containing a bunch of data, leaving it up to
consumers to parse it as needed.

Now, parse the data in to a hashmap of (name,
arch) => out path and return structured data.
2018-02-03 07:54:02 -05:00
Graham Christensen dd2bac70d5
Fixup writetoline / log message collector warnings 2018-02-03 07:49:09 -05:00
Graham Christensen aebecc2e0a
Merge pull request #55 from LnL7/keep-path
Keep PATH when running nix commands
2018-02-02 17:07:59 -05:00
Daiderd Jordan 7659f4f85a
Keep PATH when running nix commands
The documentation of std::process::Command mentions that setting PATH on
the command itself will influence the search path lookup. This seems to
interact differently with clear_env depending on the platform.

Fixes "No such file or directory" error on darwin.
2018-02-02 22:51:08 +01:00
Graham Christensen e62a62c9a6
Update hubcaps, close #46 2018-02-01 22:09:31 -05:00
Graham Christensen c3ffe349e3
Make writetoline not be so dumb
ordered took: Duration { secs: 0, nanos: 15943489 }
reversed took: Duration { secs: 5, nanos: 490028410 }
old ordered took: Duration { secs: 11, nanos: 176841460 }
old reversed took: Duration { secs: 19, nanos: 555249871 }
2018-02-01 10:54:45 -05:00
Graham Christensen d78e7201f1
add dtzwill 2018-01-31 21:11:54 -05:00
Graham Christensen ba73ff49c8
0.1.0 -> 0.1.1 fixup 2018-01-31 20:12:22 -05:00
Graham Christensen 79f83cc206
Merge pull request #53 from NixOS/review-comments-issue-49
Review comments issue 49
2018-01-31 20:06:21 -05:00
Graham Christensen 035f62c46d
ofborg: 0.1.0 -> 0.1.1 2018-01-31 19:40:18 -05:00
Graham Christensen 5d24478710
Correct the consume queue name, and don't panic on deeserialize errorss 2018-01-31 19:38:09 -05:00
Graham Christensen 5e2c57790e
Deleete the PHP poster code 2018-01-31 19:22:43 -05:00
Graham Christensen 310309caf3
formatting fixup on easyamqp 2018-01-31 19:22:04 -05:00
Graham Christensen 67d0a276a3
Port the comment poster over to Rust 2018-01-31 19:21:43 -05:00
Graham Christensen 3086bdc0e2
Add a typed wrapper for declaring a queue 2018-01-31 19:19:40 -05:00
Graham Christensen 23cb108a45
Add typed wrapper for queue bindings and fix the exchange declaration 2018-01-31 18:12:23 -05:00
Graham Christensen 8a2c75dfe3
Disable the supportedSystem limiter when doing evaluation checks 2018-01-31 16:48:39 -05:00
Graham Christensen 031156dc30
build results: pass the attempt ID back in the BuildResult 2018-01-31 11:42:28 -05:00
Graham Christensen 4aaab0644a
strip the x86_64-linux suffix on NixOS test build instsructions until all the linux builders are updated. 2018-01-31 10:05:01 -05:00
Graham Christensen 1b19b4ba2f
Merge pull request #50 from NixOS/typed-wrapper
Typed wrapper
2018-01-31 10:02:22 -05:00
Graham Christensen 836028cf16
Fixup connection issues 2018-01-31 09:46:23 -05:00
Graham Christensen b47704d6e4
unrelated changes with rustfmt 2018-01-31 09:29:57 -05:00
Graham Christensen 26e0612d5e
rustfmt 2018-01-31 09:29:44 -05:00
Graham Christensen 5e357d5e01
Migrate fully to session_from_config and the typed consume() wrapper 2018-01-31 09:27:11 -05:00
Graham Christensen 8ff9fa9638
Partial conversion to a typed wrappper 2018-01-31 09:06:40 -05:00
Graham Christensen 634f2bb51f
Add a typed wrapper to exchange declarations 2018-01-30 22:23:21 -05:00
Graham Christensen c0cab43513
fixup 2018-01-30 20:30:46 -05:00
Graham Christensen cb18c0d5b1
add a typed wrapper to amqp to avoid false, false, false, false 2018-01-30 17:25:56 -05:00
Graham Christensen 60a8081daa
fix typo in the web ingestion 2018-01-30 16:45:17 -05:00
Graham Christensen f9b7aace99
amqp: update to support custom client properties 2018-01-30 09:42:05 -05:00
Graham Christensen 89abac2ad5
Merge branch 'next' into released 2018-01-30 08:57:45 -05:00
Graham Christensen 478468ca2f
Merge pull request #48 from cransom/old-darwin-shellnix
make git an explicit dependency
2018-01-29 20:37:03 -05:00
Graham Christensen 3a62234aab
update amqp to support IPs in the config, and ssl: false cases 2018-01-29 20:09:40 -05:00
Casey Ransom 7c9c491e73
make git an explicit dependency
My very old (10.10.x) builder tried to run a job, but failed with `error: unknown option `reference-if-able'` as it appears to have been using the system git which is also ancient. I'm still pending another job but i think this fixes it.
2018-01-29 14:27:34 -05:00
Graham Christensen 8eb076077a
specify supportedPlatforms to allow aarch64 tests 2018-01-29 12:24:21 -05:00
Graham Christensen 07f3d265f9
update amqp to avoid self-destruction from heartbeats 2018-01-28 23:21:51 -05:00
Graham Christensen 851f73092f
Update amqp with carnix 2018-01-28 22:41:07 -05:00
Graham Christensen ba92804ea5
Make the github event intake endpoint retry connections to rabbitmq until it works 2018-01-28 22:24:44 -05:00
Graham Christensen 9e829b4a2e
Replace the plastic heartbeats with proper heartbeat support 2018-01-28 21:38:47 -05:00