Compare commits

..

2 commits

Author SHA1 Message Date
Harald Hoyer acdb0851e7 fix: update goose-cli to version 1.0.17-2
Updated the goose-cli package version and its related fetch attributes, including source revision and hashes. Added a new test to skip and removed unnecessary test exclusions for Darwin.
2025-04-15 12:09:01 +02:00
Harald Hoyer 35988e7888 feat(coturn): update configuration for secret management
Removed comment clutter and streamlined the configuration for better readability and maintenance. Ensured the sops secrets and ACME certificate handling remain functional.
2025-04-15 10:26:46 +02:00
2 changed files with 12 additions and 15 deletions

View file

@ -23,20 +23,20 @@ let
meta.license = lib.licenses.unfree; meta.license = lib.licenses.unfree;
}; };
in in
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage {
pname = "goose-cli"; pname = "goose-cli";
version = "1.0.17"; version = "1.0.17-2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "block"; owner = "block";
repo = "goose"; repo = "goose";
tag = "v${version}"; #tag = "v${version}";
#rev = "e7ad230957053dac7643701a69439ac19d5d2bf6"; rev = "167ac0efdc372ddbc80273c44d8497eafe0a901e";
hash = "sha256-l/lcwTNUq2xJHh0MKhnDZjRJ/5cANbdar/Vusf38esQ="; hash = "sha256-dWvqanbNvC4IX6ZRdTZhB0+T9vGNVxAEBj8DtPfN/VE=";
}; };
useFetchCargoVendor = true; useFetchCargoVendor = true;
cargoHash = "sha256-1xKWzgptnM1ZP0nQXILBoaKVwL2FyXpldTUIa1ITQO0="; cargoHash = "sha256-53W6gpt5eLw/WHMdEEWD4GmriHk2cAsNRzHv7niAb/0=";
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
@ -59,11 +59,10 @@ rustPlatform.buildRustPackage rec {
# need dbus-daemon # need dbus-daemon
"--skip=config::base::tests::test_multiple_secrets" "--skip=config::base::tests::test_multiple_secrets"
"--skip=config::base::tests::test_secret_management" "--skip=config::base::tests::test_secret_management"
"--skip=logging::tests::test_log_file_name::with_session_name_and_error_capture"
# Observer should be Some with both init project keys set # Observer should be Some with both init project keys set
"--skip=tracing::langfuse_layer::tests::test_create_langfuse_observer" "--skip=tracing::langfuse_layer::tests::test_create_langfuse_observer"
"--skip=providers::gcpauth::tests::test_token_refresh_race_condition" "--skip=providers::gcpauth::tests::test_token_refresh_race_condition"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# Lazy instance has previously been poisoned # Lazy instance has previously been poisoned
"--skip=jetbrains::tests::test_capabilities" "--skip=jetbrains::tests::test_capabilities"
"--skip=jetbrains::tests::test_router_creation" "--skip=jetbrains::tests::test_router_creation"

View file

@ -1,12 +1,11 @@
{ { pkgs
pkgs, , lib
lib, , config
config, , ...
...
}: }:
{ {
sops.secrets."coturn/static-auth-secret" = { sops.secrets."coturn/static-auth-secret" = {
sopsFile = ../../../.secrets/hetzner/coturn.yaml; # bring your own password file sopsFile = ../../../.secrets/hetzner/coturn.yaml;
restartUnits = [ "coturn.service" ]; restartUnits = [ "coturn.service" ];
owner = "turnserver"; owner = "turnserver";
}; };
@ -36,7 +35,6 @@
# get a certificate # get a certificate
security.acme.certs.${config.services.coturn.realm} = { security.acme.certs.${config.services.coturn.realm} = {
# insert here the right configuration to obtain a certificate
postRun = "systemctl restart coturn.service"; postRun = "systemctl restart coturn.service";
group = "turnserver"; group = "turnserver";
}; };