nixos/tests/gerrit: Drop dead hook to LFS plugin (#347660)

This commit is contained in:
Florian Klink 2024-10-16 08:46:51 +02:00 committed by GitHub
commit 23f0d0153c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,12 +1,6 @@
import ./make-test-python.nix ({ pkgs, ... }:
let
lfs = pkgs.fetchurl {
url = "https://gerrit-ci.gerritforge.com/job/plugin-lfs-bazel-master/90/artifact/bazel-bin/plugins/lfs/lfs.jar";
sha256 = "023b0kd8djm3cn1lf1xl67yv3j12yl8bxccn42lkfmwxjwjfqw6h";
};
in {
{
name = "gerrit";
meta = with pkgs.lib.maintainers; {
@ -25,12 +19,9 @@ in {
listenAddress = "[::]:80";
jvmHeapLimit = "1g";
plugins = [ lfs ];
builtinPlugins = [ "hooks" "webhooks" ];
settings = {
gerrit.canonicalWebUrl = "http://server";
lfs.plugin = "lfs";
plugins.allowRemoteAdmin = true;
sshd.listenAddress = "[::]:2222";
sshd.advertisedAddress = "[::]:2222";
};