7c8814118b
chore: synchronize lockfile
...
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-12-14 19:12:48 +01:00
43ec489263
refactor: asyncify everything
...
Tracing actually works now. Me and clippy have signed a non-aggression pact.
2024-11-16 23:49:18 +03:00
b561c15dcf
wip: wire up otel
...
doesn't actually work? idk
2024-11-16 19:51:33 +03:00
d3e5505812
refactor: upgrade everything to latest now that hubcaps is gone
2024-11-16 19:14:09 +03:00
96d583f34e
refactor: excise the remaining github code
2024-11-16 19:13:23 +03:00
e9afc0ea38
refactor: get rid of async-std
2024-11-16 17:49:07 +03:00
42546e5bc7
feat: add a debug Gerrit event listener
...
This should be piped into `ofborgctl listen gerrit-events` or something
later on.
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-11-14 22:25:16 +01:00
ba4b005719
feat: add Gerrit SSH API
...
Make also the event-streamer use it.
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-11-14 20:38:33 +01:00
2db0eff088
feat: Gerrit HTTP API and partial VCS implementation
...
This implements the Gerrit surface of the VCS API async API via HTTP.
TODO:
- Event streamer should go somewhere else
- We need to replace the missing features
There's some impedence mismatch on IDs but this can be solved by harder
refactors.
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-11-14 18:52:57 +01:00
34de912604
feat: generalize GitHub API into a VCS agnostic API
...
This generalizes all the GitHub specific API in a minimal amount of
changes.
Bump OfBorg to 0.90.0 as this is really not OfBorg anymore.
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-11-05 22:19:51 +01:00
cf30f9017f
feat: complete pastebin service
...
This is a full fledged internal pastebin service that no one can view
yet!
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-10-30 23:12:16 +01:00
c1e0230858
feat: introduce ofborgctl for testing purposes
...
To test all our microservices and more!
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-10-30 22:07:48 +01:00
8406768fbb
treewide: first generalization design for VCS
...
- add myself as author
- update dependencies
I will be doing a lot of work to get somewhere…
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-10-30 20:07:33 +01:00
829b4d2c45
feat: support environment variables in password-file option
...
This way, we can do `$CREDENTIALS_DIRECTORY/rabbitmq-password`.
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-10-28 15:57:02 +01:00
Cole Helbling
9254a448b7
Use rustls instead of openssl
2024-05-19 16:41:18 -07:00
Ryan Hendrickson
7101ab45ba
eval/nixpkgs: parse Bash-braces in commits
...
Add support for expanding the Bash-like brace syntax.
2023-09-15 11:19:19 -07:00
Cole Helbling
cf2c6712bd
config: convert PEM to DER format on the fly
...
hubcaps requires a DER formatted key, but their instructions for
converting PEM to DER didn't work for me. So, we rely on rustls-pemfile
to parse the PEM key into DER bytes and hand that to hubcaps.
2023-02-14 12:59:49 -08:00
Cole Helbling
6daa9f8f94
Enable tokio1 compatibility
...
Fixes the following issue:
thread 'main' panicked at 'there is no reactor running, must be called from the context of a Tokio 1.x runtime', /build/cargo-vendor-dir/hyper-0.14.23/src/client/connect/dns.rs:121:24
2022-12-03 13:50:13 -08:00
Artturin
6ebf32f30a
use upstream hubcaps
2022-12-03 12:00:40 -08:00
Artturin
0ef997b143
run 'cargo upgrade --incompatible --package log' and remove unused #[macro_use]
import
2022-11-10 19:02:44 +02:00
Artturin
d917f2f3dd
run 'cargo upgrade --incompatible --package lapin'
...
.basic_publish now takes a &[u8] instead of Vec<u8>
https://docs.rs/lapin/1.10.0/lapin/struct.Channel.html#method.basic_publish
https://docs.rs/lapin/latest/lapin/struct.Channel.html#method.basic_publish
2022-11-10 18:52:15 +02:00
Artturin
03904a5d2f
run 'cargo upgrade --incompatible --package uuid'
2022-11-10 08:49:31 +02:00
Artturin
80db7e831e
run 'cargo upgrade --incompatible --package tracing-subscriber' and add
...
necessary feature for EnvFilter
2022-11-10 08:48:30 +02:00
Artturin
91cf8e1bf3
run 'cargo upgrade --incompatible --package tempfile'
2022-11-10 08:46:46 +02:00
Artturin
f32e521c16
run 'cargo upgrade --incompatible --package sys-info'
2022-11-10 08:46:08 +02:00
Artturin
a6ee33a540
run 'cargo upgrade --incompatible --package md5'
2022-11-10 08:45:13 +02:00
Artturin
c27d62b5c4
update async-std pin
2022-11-10 08:29:21 +02:00
Artturin
e1ff628c1a
run 'cargo upgrade'
2022-11-10 07:50:10 +02:00
Artturin
261607a76d
run 'cargo update'
2022-11-01 21:58:51 +02:00
Artturin
b8077fc935
buildresult.rs: use skipped instead of neutral for a skipped job
...
doesn't make much sense for a skipped job to be neutral
2022-04-19 11:04:16 -07:00
Cole Helbling
008c9c5728
tasks/eval: use regex to match labels on word boundary
...
This prevents a PR named "libsdl: xyz" being tagged as "6.topic: bsd".
This is slightly more robust than simply checking if the strings
"bsd" or "darwin" or "macos" are present in the title.
2022-03-16 12:48:49 -07:00
Cole Helbling
7c2410f11f
Support building x86_64 packages on aarch64-darwin
...
Thanks to Rosetta 2, we can build x86 packages on aarch64-darwin
machines (although, it's not perfect).
This adds a new configuration option -- `additional_build_systems` --
which will cause the builder to spawn additional async tasks for each
additional build system.
2022-02-25 12:16:25 -08:00
Cole Helbling
0a682f561c
Bump hubcaps fork again to use u64 over u32 for CheckSuite ids
2021-12-29 13:06:00 -08:00
Cole Helbling
c16f183447
Bump hubcaps fork to fix "invalid value: integer 4660755204
, expected i32"
...
....I hope.
2021-12-29 11:17:11 -08:00
Andreas Rammhold
179f1fc018
Update rust dependencies
2021-07-07 12:19:54 -07:00
Daiderd Jordan
350e2855b2
lapin: 1.0.0-rc6 -> 1.0.0
2020-05-29 14:52:13 -07:00
Daiderd Jordan
ec4decddcc
lapin: 1.0.0-beta4 -> 1.0.0-rc6
...
Turns out this was totally fine.
This reverts commit 16d8b612cb
.
2020-05-25 14:31:43 -07:00
Daiderd Jordan
bacdeffd8a
async-std: 1.6.0 -> 1.5.0
...
Seems to cause an issue with the executors somehow.
thread 'main' panicked at 'cannot run an executor inside another executor', <::std::macros::panic macros>:2:4
2020-05-25 23:00:20 +02:00
Daiderd Jordan
16d8b612cb
Revert "lapin: 1.0.0-beta4 -> 1.0.0-rc6"
...
This reverts commit 69c0fbb8bb
.
2020-05-25 13:38:59 -07:00
Daiderd Jordan
b9c72fbaf1
hyper-native-tls: 0.2.4 -> 0.3.0
...
This depends on openssl 0.9.24, which only supports OpenSSL up to 1.1.0,
while the default OpenSSL in nixpkgs is 1.1.1g.
2020-05-24 23:33:08 +02:00
Daiderd Jordan
b44b9af757
rust-amqp: remove
2020-05-24 22:22:15 +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
60dfc6d8d3
lapin: 1.0.0-beta3 -> 1.0.0-beta4
2020-05-11 20:48:27 +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
7d611646d3
ofborg: 0.1.8 -> 0.1.9
2020-04-30 00:12:47 +02:00
Daiderd Jordan
a3618c84b6
add lapin dependencies
...
An async amqp library, but more importantly unlike the current amqp
library it implements heartbeats.
2020-04-29 23:00:53 +02:00
Daiderd Jordan
7ccb4943a1
move simple-build to a separate project
...
This is mostly intended as an example and since this is only useful for
testing it should be relatively safe.
2020-04-24 22:17:12 +02:00
Daiderd Jordan
1c0c5e304c
init cargo workspace
...
Enables splittig up the code a bit more, and hopefully helps keep the
compilation time down.
2020-04-24 21:27:33 +02:00