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
Daiderd Jordan
8430fe84ca
update carnix
2020-04-29 23:00:53 +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
5a75be23ca
generalize SimpleNotifyWorker trait
2020-04-29 23:00:53 +02:00
Daiderd Jordan
3722158a05
generalize SimpleWorker trait
2020-04-29 23:00:52 +02:00
Cole Helbling
b8402d69b2
config.public.json: add cole-h to trusted_users
...
This will let me build packages like `fish` on darwin, to try and catch
any new regressions (there's been one in each of the past two bumps I've
submitted...).
2020-04-28 21:43:43 -07:00
Graham Christensen
ed4fcea227
Merge pull request #473 from LnL7/generic-easyamqp
...
generic easyamqp
2020-04-27 16:51:27 -04:00
Daiderd Jordan
5ad80e878b
make amqp consume generic and split traits
...
This removes the final library specfic type from the traits.
2020-04-27 22:40:51 +02:00
Daiderd Jordan
98723462a0
remove amqp return types
2020-04-27 22:21:25 +02:00
Daiderd Jordan
a34a4accaf
make amqp error type generic
2020-04-27 22:12:31 +02:00
Daiderd Jordan
a87cf357d0
remove amqp arguments
...
These are not used anywhere and the table is a type specific to the amqp
library.
2020-04-27 22:09:10 +02:00
Graham Christensen
bef27f6ab9
Merge pull request #471 from LnL7/carnix-workspace
...
carnix workspace
2020-04-25 08:49:14 -04:00
Daiderd Jordan
5669d9b47e
disable debug build on darwin
...
Currently broken due to the .dSYM folders it generates next to the binaries.
See https://github.com/NixOS/nixpkgs/pull/83488
2020-04-25 14:38:44 +02:00
Daiderd Jordan
40c759e027
add build for ofborg-simple-build
2020-04-25 14:32:42 +02:00
Daiderd Jordan
96639e9d7e
work around carnix workspace issue
...
Carnix doesn't properly handle includes for workspace members, this
works around the issue by specifying what should be generated directly
in Cargo.toml.
https://nest.pijul.com/pmeunier/carnix/discussions/46
2020-04-25 14:28:29 +02:00
Daiderd Jordan
0139cd5621
move carnix files to workspace
2020-04-25 13:54:57 +02:00
Graham Christensen
041d96d890
Merge pull request #470 from cole-h/missing-variants
...
ghevent: add missing variants
2020-04-24 17:33:06 -04:00
Graham Christensen
b4afb127df
Merge pull request #469 from LnL7/cargo-workspace
...
introduce cargo workspace
2020-04-24 17:24:42 -04:00
Cole Helbling
db165abf99
ghevent: add missing variants
...
So we don't see log messages that are literal pages long. Pulled from
here: https://developer.github.com/v3/activity/events/types/#pullrequestevent
2020-04-24 14:18:21 -07: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
Graham Christensen
329a08f53d
Merge pull request #468 from emilazy/trust-emily
...
config.public.json: add emilazy to trusted_users
2020-04-23 15:19:08 -04:00
Graham Christensen
d823531dea
Merge pull request #425 from marsam/marsam-trusted-users
...
config.public.json: add marsam to trusted_users
2020-04-23 15:18:56 -04:00
Emily
650f0912d8
config.public.json: add emilazy to trusted_users
2020-04-23 20:17:11 +01:00
Graham Christensen
b3a3b4b0ee
Merge pull request #467 from cole-h/unbump
...
Revert "Bump amqp"
2020-04-23 11:39:21 -04:00
Cole Helbling
a3475d1c0d
Revert "Bump amqp"
...
This reverts commit fa299dedaa
.
2020-04-23 08:21:34 -07:00
Graham Christensen
98455feb18
Merge pull request #464 from cole-h/bump
...
Bump amqp
2020-04-22 16:24:24 -04:00
Cole Helbling
fa299dedaa
Bump amqp
...
Hopefully this will deal with (or at least help address) our
`SendError(..)` panics and log collector unavailability.
2020-04-22 09:53:53 -07:00
Graham Christensen
0581cc59ed
Merge pull request #462 from doronbehar/patch-1
...
config.public.json: add @doronbehar
2020-04-20 07:49:02 -04:00
Graham Christensen
b8e39f7d22
Merge pull request #460 from cole-h/nix1-removal
...
Nix1 removal
2020-04-20 07:48:51 -04:00
Doron Behar
bd80f1fe58
config.public.json: add @doronbehar
...
Per @domenkozar 's comment:
https://github.com/NixOS/nixpkgs/issues/50105#issuecomment-614886167
2020-04-17 12:35:24 +00:00
Cole Helbling
f5e0318f9f
nix: fix failing test
...
Nix 2.3.4 now shows the assertion that failed since NixOS/nix@307bcb9 , changing
the message we need to check against.
2020-04-12 11:06:16 -07:00
Cole Helbling
35bb3a8975
Remove nix1
...
As of NixOS/nixpkgs@7121160 , nix1 has been removed from Nixpkgs. Thus, we
remove it here.
2020-04-12 11:04:40 -07:00
Graham Christensen
a095c36668
Merge pull request #458 from cole-h/logging
...
{checkout,clone}: redirect output to /dev/null
2020-04-09 17:23:20 -04:00
Cole Helbling
b33d3de6cf
tasks/evaluate: show issue number not id
...
The `id` field is not the GitHub PR or issue number; the `number` field
is.
2020-04-09 14:06:58 -07:00
Cole Helbling
db190207a2
{checkout,clone}: redirect output to /dev/null
...
It fills the logs with typically-useless information. We don't really
care about the novels people write in their commit messages.
The only `git` commands that were left unmodified are the ones where we
use their output in some way (and thus, it isn't printed to stdout/err
anyways).
2020-04-09 13:47:10 -07:00
Graham Christensen
83d748169c
Merge pull request #457 from cole-h/logging
...
More logging
2020-04-07 16:39:28 -04:00
Cole Helbling
5de114c151
tasks/build: don't use \n
to split log line
...
Otherwise, we have one line that has the log prefix, and one line
immediately following that doesn't.
2020-04-07 13:27:37 -07:00
Cole Helbling
5fd48be23d
tasks/eval/nixpkgs: don't request review from PR author
...
GitHub doesn't let us, so we silently skip them.
2020-04-07 13:27:21 -07:00
Graham Christensen
284a7bfeaa
Merge pull request #456 from NixOS/retryon-bad-creds
...
Retry on bad creds
2020-04-07 08:29:02 -04:00
Graham Christensen
3dc7498211
retry a job if we get an expired creds error
2020-04-07 08:16:08 -04:00
Graham Christensen
e65a24aa89
commitstatuserror: handle each error case separately, not based on 'internal' error
2020-04-07 08:14:02 -04:00
Graham Christensen
b4989e44f8
Merge pull request #455 from cole-h/logging
...
Cargo.toml: enable debug symbols in release profile
2020-04-06 16:18:53 -04:00
Cole Helbling
8e284c5b6b
Cargo.toml: enable debug symbols in release profile
...
Maybe now we'll be able to read the backtraces generated by
`error-chain` via `hubcaps`.
2020-04-06 13:01:40 -07:00