June Clementine Strawberry
df1edcf498
adjust complement cert generation
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-03-10 10:40:44 -04:00
June Clementine Strawberry
0e2ca7d719
implement disable TLS validation config option
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-03-09 21:55:07 -04:00
June Clementine Strawberry
5efe804a20
always disable fed, evict admins, and forget the room when banning a room
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-03-08 18:29:19 -05:00
June Clementine Strawberry
1ecd027389
always run checks when building in nix (doCheck true)
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-03-03 01:06:04 -05:00
strawberry
88e7e50daf
add missing source OCI image label metadata
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2025-02-07 11:49:00 -05:00
strawberry
43e6c27bb7
misc nix tweaks to maybe speedup ci
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2025-02-06 18:27:36 -05:00
June Clementine Strawberry
4b331fe50e
update README.md, crate metadata, and OCI image metadata
...
Signed-off-by: June Clementine Strawberry <strawberry@puppygock.gay>
2025-01-26 01:08:39 -05:00
Jade Ellis
d86061084c
Publish haswell images to image registries ( #674 )
...
* push haswell images to docker repos
* Add OCI labels to image
* fixup! Add OCI labels to image
* fixup! push haswell images to docker repos
* fixup! Add OCI labels to image
* fixup! Add OCI labels to image
* fixup! Add OCI labels to image
2025-01-25 20:05:41 -05:00
strawberry
1852eeebf2
disable more unnecessary features in various build outputs
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2025-01-11 20:48:36 -05:00
strawberry
17273b1cea
upload CI binaries to webserver for easy direct download
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-12-13 11:09:29 -05:00
strawberry
b73d558cba
start producing haswell target optimised x86 binaries for rocksdb fast CRC32 support
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-12-13 01:57:45 -05:00
strawberry
9cb71e212a
nix: bump flake.lock finally after 3 months
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-12-09 17:03:54 -05:00
strawberry
e1bd6a7c2d
nix: try bumping to latest complement
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-12-09 12:52:06 -05:00
strawberry
ab4a283870
update complement config
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-12-09 12:28:14 -05:00
strawberry
1606441d09
disable admin_room_notices for complement, update welcome text
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-12-09 12:28:14 -05:00
morguldir
e0494c1538
add /bin/conduit to OCI image contents
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-12-04 00:51:57 +00:00
strawberry
7f96b2f92a
nix: remove libllvm, libgcc, and llvm from OCI images as well
...
aarch64 OCI images love llvm??
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-11-15 23:18:12 -05:00
strawberry
fd2a002480
dont build sentry or perf_measurements features for complement
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-11-15 09:41:17 -05:00
strawberry
6cbaef2d12
always set RUST_BACKTRACE=full in OCI images
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-11-02 13:17:31 -04:00
strawberry
30e3e45f9f
misc CI improvements, build macOS binaries, flake improvements/fixes
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-10-24 21:29:17 -04:00
strawberry
a7c4a7933d
disable log colours in the complement config
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-10-24 20:52:14 -04:00
strawberry
45254638b1
drop target-cpu optimised builds
...
this seems too broken.
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-10-24 20:48:59 -04:00
strawberry
c47337f3db
docs: ignore development.md and contributing.md from lychee
...
and update 2 other nix references
Signed-off-by: strawberry <strawberry@puppygock.gay>
Signed-off-by: morguldir <morguldir@protonmail.com>
2024-09-08 10:24:38 -04:00
strawberry
909eeac5b0
drop target CPU for aarch64 to cortex-a53 instead of cortex-a73
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-09-06 19:02:04 -04:00
strawberry
23690fd837
make jemalloc stats an optional feature
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-08-29 19:19:20 +00:00
strawberry
82b973a8b1
nix: use cortex-a73 / ARMv8-a, strip and remove unnecessary bloat
...
for some reason gcc is included in OCI images
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-08-07 12:04:41 -04:00
strawberry
fb8a2846df
ci/nix: use a "test"
cargo profile
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-07-25 22:50:10 -04:00
strawberry
39f19c483a
nix: use all-features for complement OCI images
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-07-24 19:55:46 -04:00
strawberry
463fa4fd53
nix: dont build unnecessary jemalloc docs or cxx integration
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-07-22 17:57:51 -04:00
Myned
4788040458
fix media_startup_check typo
...
Signed-off-by: Myned <dev@bjork.tech>
2024-07-22 13:31:20 -04:00
strawberry
649e9da1f8
nix: try to make armv8.2-a / cortex-a55 optimised builds if target is aarch64
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-07-14 12:08:18 -04:00
strawberry
9370e93a8d
nix: try to make x86-64-v2 optimised builds if target is x86_64
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-07-14 12:08:18 -04:00
Charles Hall
1ab77aeb91
don't strip binary for dev builds
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-07-14 12:06:52 -04:00
strawberry
080975ab0e
adjust/update complement conduwuit config.toml
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-07-10 22:00:46 -04:00
strawberry
05befa4ba2
nix: make enableLiburing in rocksdb conditional instead of default true
...
for some reason enableLiburing in nixpkgs rocksdb is default
true which breaks Darwin entirely
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-07-10 22:00:46 -04:00
strawberry
438911c18d
nix: remove unnecessary dependencies gathering from allFeatures
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-07-10 22:00:46 -04:00
strawberry
68ad351f84
nix: partially remove some liburing overrides
...
the argument one is weird and causing build script invalid arguments
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-07-10 22:00:46 -04:00
strawberry
f40a3ea4a6
docs: more improvements, fixes, cleanup, etc
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-06-16 21:30:51 -04:00
strawberry
e5c9bf1992
misc build changes to mdbook, add favicon/logo
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-06-16 13:16:51 -04:00
strawberry
95ca9d00a2
nix: get all features from main crate
2024-06-02 23:01:12 +00:00
Benjamin Lee
b4cd8e9140
fix dynamic builds with liburing
...
The original implementation of this was really weird, so I restructed it
a lot while debugging, and am just gonna leave the restructured version.
Root cause of the segfault seems to be that upstream nixpkgs liburing
derivation is generating both static and dynamic libraries, causing
rocksdb to statically link liburing in a dynamic build, pulling in some
allocator stuff at the same time. I created a PR[1] to fix this upstream,
but it probably won't be available on nixos-unstable for quite a while,
so we can also patch it locally.
[1]: https://github.com/NixOS/nixpkgs/pull/314945
2024-05-27 04:54:57 -04:00
Benjamin Lee
68b96026ec
unmark dynamically-linked jemalloc builds as broken
...
It turns out that this was actually fixed by
bec507d739
and
857ac42aac
, but we didn't identify it at the
time. Notably, the `dynamic` devshell is still broken.
2024-05-27 04:54:57 -04:00
strawberry
c32406aa0e
replace deprecated config option for complement
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-05-25 22:28:43 -04:00
strawberry
ba2f22b5d3
nix: remove jemalloc (now default) targets, add jq input for default
...
jq input change was from 17eb354590
to prevent unnecessary bindgen rebuilds
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-05-25 22:28:43 -04:00
morguldir
9aa372d83b
nix: Allow excluding features, allow disabling release_max_log_level
2024-05-24 15:12:23 -04:00
morguldir
5893901a75
Explicitly include snappy as well
...
Not sure what changed that we need this
Signed-off-by: morguldir <morguldir@protonmail.com>
2024-05-24 12:46:15 -04:00
morguldir
8ba9b33a95
Make sure we use the liburing of the platform we're building for
...
Signed-off-by: morguldir <morguldir@protonmail.com>
2024-05-24 12:46:15 -04:00
morguldir
70047ff26d
Make rocksdb include liburing, and tell gcc the path during the build
...
With: strings /nix/store/9skicdac6xs4yww1nd3h7m6xydv4hxlj-rocksdb-9.1.1/lib/librocksdb.so.9|rg io_uring|wc -l
112
With: strings result/bin/conduit |rg io_uring|wc -l
5
Without: strings static-x86_64-unknown-linux-musl-jemalloc |rg io_uring | wc -l
0
Signed-off-by: morguldir <morguldir@protonmail.com>
2024-05-24 12:46:15 -04:00
Benjamin Lee
a007338b34
mark dynamic jemalloc builds as broken on linux
2024-05-24 10:53:47 -04:00
Benjamin Lee
3d1507e6dd
mark static rocksdb broken on darwin
2024-05-24 10:53:47 -04:00