forked from mirrors/nixpkgs
commit
4a633b5618
|
@ -77,6 +77,7 @@ in
|
|||
elk = handleTestOn ["x86_64-linux"] ./elk.nix {};
|
||||
env = handleTest ./env.nix {};
|
||||
etcd = handleTestOn ["x86_64-linux"] ./etcd.nix {};
|
||||
etcd-cluster = handleTestOn ["x86_64-linux"] ./etcd-cluster.nix {};
|
||||
ferm = handleTest ./ferm.nix {};
|
||||
firefox = handleTest ./firefox.nix {};
|
||||
firewall = handleTest ./firewall.nix {};
|
||||
|
|
|
@ -140,7 +140,7 @@ in {
|
|||
};
|
||||
|
||||
subtest "should add another member", sub {
|
||||
$node1->succeed("etcdctl member add node3 https://node3:2380");
|
||||
$node1->waitUntilSucceeds("etcdctl member add node3 https://node3:2380");
|
||||
$node3->start();
|
||||
$node3->waitForUnit("etcd.service");
|
||||
$node3->waitUntilSucceeds("etcdctl member list | grep 'node3'");
|
||||
|
|
|
@ -4,7 +4,7 @@ with lib;
|
|||
|
||||
buildGoPackage rec {
|
||||
name = "etcd-${version}";
|
||||
version = "3.3.1"; # After updating check that nixos tests pass
|
||||
version = "3.3.13"; # After updating check that nixos tests pass
|
||||
rev = "v${version}";
|
||||
|
||||
goPackagePath = "github.com/coreos/etcd";
|
||||
|
@ -13,15 +13,12 @@ buildGoPackage rec {
|
|||
inherit rev;
|
||||
owner = "coreos";
|
||||
repo = "etcd";
|
||||
sha256 = "11gzmi05y4kpnzgqc737l0wk5svxai4z17nl92jazqga6zhyavyl";
|
||||
sha256 = "1kac4qfr83f2hdz35403f1ald05wc85vvhw79vxb431n61jvyaqy";
|
||||
};
|
||||
|
||||
subPackages = [
|
||||
"cmd/etcd"
|
||||
"cmd/etcdctl"
|
||||
"cmd/tools/benchmark"
|
||||
"cmd/tools/etcd-dump-db"
|
||||
"cmd/tools/etcd-dump-logs"
|
||||
];
|
||||
|
||||
buildInputs = [ libpcap ];
|
||||
|
|
Loading…
Reference in a new issue