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
Cole Helbling
1112e3a8c8
Merge pull request #480 from LnL7/tracing
...
tracing logging
2020-05-04 14:39:31 -07:00
Daiderd Jordan
45201a2f0e
Merge pull request #479 from LnL7/lapin-lifetimes
...
remove static lifetimes from easylapin
2020-05-03 19:10:03 +02:00
Daiderd Jordan
5be617c912
reduce publish logging to trace level
...
Each log line is pushed to the logs exchange so this is _way_ to verbose
to enable by default.
2020-05-03 15:14:42 +02:00
Daiderd Jordan
c65ec0af76
add basic structrue logging to evaluator
2020-05-03 15:14:42 +02:00
Daiderd Jordan
72b41d9ec1
add json logging
2020-05-03 15:14:42 +02:00
Daiderd Jordan
52e2105df7
silence some clippy warnings
...
It looks like the current version of rustc/clippy seems the include expanded
macros (like tracing) in the complexity. None of these warnings show up
with rust 1.42.0.
2020-05-02 23:58:21 +02:00
Daiderd Jordan
cc89c1a88d
move exit status handling to nix module
2020-05-02 21:24:52 +02:00
Daiderd Jordan
0cef8f4e0d
split out block_on_waiters
2020-05-02 21:24:52 +02:00
Daiderd Jordan
82e12ebe52
add some basic structured logging to the builder
2020-05-02 21:24:52 +02:00
Daiderd Jordan
35e08cb5d1
log -> tracing
2020-05-01 20:33:31 +02:00
Daiderd Jordan
a2e5dad97c
update carnix
2020-05-01 20:17:26 +02:00
Daiderd Jordan
ceef89c8cc
add tracing
...
An alternative logging library with support for structured logging as
well as slightly nicer default output.
2020-05-01 19:05:25 +02:00
Daiderd Jordan
c4ab7290c5
remove static lifetimes from easylapin
...
Unlike amqp::Consumer lapin channels don't need to have a 'static
lifetime, the workers just need to live at least as long as the channel.
2020-05-01 14:27:53 +02:00
Graham Christensen
3b6947cd20
Merge pull request #478 from LnL7/publish-persistent
...
make messages persistent
2020-04-30 15:42:20 -04:00
Graham Christensen
c3c0ee723e
Merge pull request #477 from LnL7/lapin-qos
...
limit prefetch count to one for lapin channels
2020-04-30 14:10:06 -04:00
Daiderd Jordan
3223f32f5c
make messages persistent
...
Should ensure we don't loose pending builds or evaluations when rabbitmq
restarts.
2020-04-30 20:01:34 +02:00
Daiderd Jordan
e0fce0e2fe
limit prefetch count to one for lapin channels
...
Otherwise the consumer will pull all messages in the queue so other
instances don't have a chance to share the load.
2020-04-30 19:19:28 +02:00
Cole Helbling
7d1014f1c2
Merge pull request #476 from cole-h/trust-me
...
config.public.json: add cole-h to trusted_users
2020-04-29 15:27:06 -07:00
Cole Helbling
b56a432946
Merge pull request #474 from LnL7/lapin
...
lapin amqp implementation
2020-04-29 15:26:33 -07:00
Daiderd Jordan
7d611646d3
ofborg: 0.1.8 -> 0.1.9
2020-04-30 00:12:47 +02:00
Daiderd Jordan
5b8d7e079a
remove glob imports in easylapin
2020-04-30 00:11:05 +02:00
Daiderd Jordan
fb8b4249f1
remove unwraps in lapin
...
Might help a little bit with debugging if any of these unexpected cases
occur.
2020-04-29 23:00:54 +02:00
Daiderd Jordan
8cb5bfd225
remove unwraps from builder
...
Mostly the same behaviour, but the result syntax is a bit nicer.
2020-04-29 23:00:54 +02:00
Daiderd Jordan
8dfcccb93e
set content_type for lapin
2020-04-29 23:00:54 +02:00
Daiderd Jordan
7dc8d407a2
implement all declare options for lapin
...
Many of these are actually not used, probably better to remove them.
2020-04-29 23:00:54 +02:00
Daiderd Jordan
737871ea84
implement ofborg version property for lapin
2020-04-29 23:00:53 +02:00
Daiderd Jordan
eae94fe00a
convert builder to easylapin
...
This is probably the safest thing to start with since it can be tested
separately from the main deployment and isn't only used for secondary
checks.
2020-04-29 23:00:53 +02:00
Daiderd Jordan
0ecd8cc74c
add easylapin module
...
This isn't very nice, but should implement everything needed to drop in
lapin as the amqp library.
2020-04-29 23:00:53 +02:00
Daiderd Jordan
586d83e6cd
apply carnix patches
...
https://nest.pijul.com/pmeunier/carnix/discussions/46
https://nest.pijul.com/pmeunier/carnix/discussions/47
2020-04-29 23:00:53 +02:00