Commit graph

1450 commits

Author SHA1 Message Date
Daiderd Jordan a8b2894b0a
update crates 2020-05-24 22:05:56 +02:00
Daiderd Jordan d053fd20fb
cargo update 2020-05-24 22:05:56 +02:00
Daiderd Jordan 69c0fbb8bb
lapin: 1.0.0-beta4 -> 1.0.0-rc6
CloseOnDrop was removed so channels can be used directly now.
2020-05-24 21:45:47 +02:00
Daiderd Jordan cdf8cbb6e0
Merge pull request #500 from LnL7/lapin-test-binaries
lapin test binaries
2020-05-24 21:43:47 +02:00
Daiderd Jordan 65699e5555
Merge pull request #499 from LnL7/crate2nix
use crate2nix
2020-05-24 20:27:22 +02:00
Daiderd Jordan bf07e6e0c0
make update-crates pure
This works with --pure now so it doesn't depend on having anything
installed outside of the nix-shell shebang anymore.
2020-05-24 20:26:30 +02:00
Daiderd Jordan 29de5c6134
remove carnix 2020-05-24 20:26:30 +02:00
Daiderd Jordan bf41d6c035
enforce Cargo.lock is up to date instead of building 2020-05-24 20:26:30 +02:00
Daiderd Jordan 0a7e29b7d7
generate Cargo.nix with cargo2nix 2020-05-24 20:26:26 +02:00
Daiderd Jordan b464c296ce
convert build faker to easylapin
Another utility used just for testing.
2020-05-24 19:43:39 +02:00
Daiderd Jordan 6014e08415
convert log message generator to easylapin
Just a utility, not used or needed by any of the services.
2020-05-24 19:43:36 +02:00
Daiderd Jordan dcb534e3ae
replace update-carnix.sh
Crate2nix hasn't been added to nixpkgs yet so it needs to be pulled in
separately.
2020-05-24 13:35:06 +02:00
Daiderd Jordan c7a5d20f52
remove workspace workarounds for carnix 2020-05-24 13:06:50 +02:00
Daiderd Jordan 634e68cb15
nixpkgs: 2020-02-19 -> 2020-05-19
It seems like the latest crate2nix depends on some changes to the rust
infrastructure in nixpkgs.

    error: cannot coerce null to a string, at pkgs/build-support/rust/build-rust-crate/configure-crate.nix:33:4
2020-05-24 12:52:09 +02:00
Daiderd Jordan d9dccbcd3a
Merge pull request #497 from LnL7/relax-ghevent-parsing
relax PullRequestAction parsing
2020-05-23 21:58:27 +02:00
Daiderd Jordan 5e48f5f019
Merge pull request #495 from LnL7/lapin-log-message-collector
convert log-message-collector to easylapin
2020-05-23 21:58:00 +02:00
Daiderd Jordan 2dc4868500
Merge pull request #493 from LnL7/lapin-stats
lapin stats
2020-05-23 21:57:30 +02:00
Daiderd Jordan b6e870f5cb
Update ofborg/src/easylapin.rs
Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
2020-05-23 21:41:11 +02:00
Daiderd Jordan e5b9084f05
relax PullRequestAction parsing
Unknown events are fine here, as long as it's a valid event continue and
consider it not interesting instead.

Should alleviate fixes like #496 in the future.
2020-05-23 09:59:39 +02:00
Daiderd Jordan 08717c5cf2
Merge pull request #496 from LnL7/converted-to-draft
handle converted_to_draft events
2020-05-23 00:32:37 +02:00
Daiderd Jordan c59aae73a5
handle converted_to_draft events
This really shouldn't break the evaluation filter.
2020-05-23 00:16:46 +02:00
Daiderd Jordan f652901df2
move prefetch qos to WorkerChannel
This way the log collecter can use a channel with prefetching while the
other workers still consume items one by one.
2020-05-22 21:55:18 +02:00
Daiderd Jordan 51b4c3dbc9
convert log-message-collector to easylapin 2020-05-22 19:30:14 +02:00
Graham Christensen d4c534d170
Merge pull request #494 from LnL7/fix-evaluation-queue
fix evaluation-filter queue
2020-05-22 08:16:54 -04:00
Daiderd Jordan cbaa7785a2
fix evaluation-filter queue
This was a typo.
2020-05-22 14:14:26 +02:00
Daiderd Jordan 41c2899e3c
convert stats to easyamqp 2020-05-21 23:38:20 +02:00
Daiderd Jordan 874bfcd028
Merge pull request #492 from LnL7/lapin-mass-rebuilder
lapin mass rebuilder
2020-05-21 23:37:10 +02:00
Daiderd Jordan b7a8808fc3
Merge pull request #491 from LnL7/lapin-evaluation-filter
lapin evaluation filter
2020-05-21 23:37:00 +02:00
Daiderd Jordan 910330c28d
start span for evaluations in consumer 2020-05-21 21:14:25 +02:00
Daiderd Jordan 9120d16bd7
convert mass rebuilder to lapin 2020-05-21 21:09:33 +02:00
Daiderd Jordan 3ce9f3edd1
generalize amqp references in SysEvents 2020-05-21 21:08:59 +02:00
Daiderd Jordan 8424c32478
add structured logging to evaluation filter 2020-05-21 20:52:01 +02:00
Daiderd Jordan bd8bed6ad3
convert evaluation filter to easylapin 2020-05-21 20:33:33 +02:00
adisbladis f1d34ee242
Merge pull request #490 from zowoq/darwin
config.public.json: add zowoq to trusted users for darwin access
2020-05-21 12:16:48 +02:00
zowoq 261a26de21 config.public.json: add zowoq to trusted users for darwin access 2020-05-21 08:59:02 +10:00
Cole Helbling bf3e5dbcab treewide: remove code references to known users 2020-05-20 10:20:07 -07:00
Cole Helbling b6862c2b49 README: "Not you: team."
Some of the information in the README is outdated, such as the sections
detailing the privileges of known users (everybody is now a known user).
The only distinction made is between that of trusted users and everybody
else. Trusted users gain an additional host to run builds and tests on:
x86_64-darwin. Everybody else is locked to x86_64-linux and
aarch64-linux.

With the removal of all mentions of "known users", the
`config.{extra-,}known-users.json` files have also been removed. This
change will require coordination with the infrastructure repo [1] --
namely, a PR removing references to these files (otherwise, I imagine,
deploys will fail).

Something Graham has mentioned a few times is how he wants to decouple
ofborg from his persona. Thus, `@ofborg` is now used in place of
`@GrahamcOfBorg` everywhere possible (it is still possible to use
`@GrahamcOfBorg`, so it has not been removed from the codebase at this
time).

[1] https://github.com/ofborg/infrastructure
2020-05-20 10:20:07 -07:00
Richard Marko a2446b4ea1 README: add Hacking section
Co-Authored-By: Cole Helbling <cole.e.helbling@outlook.com>
2020-05-20 10:20:07 -07:00
Graham Christensen 65db4d0da0
Pepper in allowing old openssl 2020-05-19 23:19:00 -04:00
Graham Christensen d6fa9f3806
import the overlay in one more place 2020-05-19 23:07:27 -04:00
Daiderd Jordan bb3c29c72c
Merge pull request #486 from LnL7/log-cleanup
reduce info logging
2020-05-19 22:08:33 +02:00
Cole Helbling 6329c1ac15
Merge pull request #487 from LnL7/lapin-comment-poster
lapin github-comment-poster
2020-05-19 13:05:52 -07:00
Daiderd Jordan cb9a125cdc
add basic structured logging to comment poster 2020-05-14 20:27:59 +02:00
Daiderd Jordan 2b59f86125
convert commnet poster to easylapin 2020-05-14 20:04:50 +02:00
Daiderd Jordan d7062d1168
reduce info logging 2020-05-12 23:05:14 +02:00
Daiderd Jordan a918d73eef
Merge pull request #484 from LnL7/lapin-comment-filter
lapin github-comment-filter
2020-05-12 21:37:44 +02:00
Daiderd Jordan d8a77b0347
Merge pull request #483 from LnL7/lapin-update
lapin: 1.0.0-beta3 -> 1.0.0-beta4
2020-05-12 21:36:54 +02:00
Daiderd Jordan 41883df47b
add basic structured logging to comment filter 2020-05-12 21:00:06 +02:00
Daiderd Jordan cc8aaae5c3
convert comment filter to easylapin 2020-05-12 21:00:03 +02:00
Daiderd Jordan 60dfc6d8d3
lapin: 1.0.0-beta3 -> 1.0.0-beta4 2020-05-11 20:48:27 +02:00