Fix path in drone runner exec

This commit is contained in:
Benjamin Bädorf 2022-08-14 20:24:50 +02:00
parent dded778e7b
commit 2ca921b4a3
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C
2 changed files with 6 additions and 2 deletions

View file

@ -20,7 +20,11 @@ in
Restart = "always";
};
path = "${pkgs.git}/bin:${pkgs.nix}/bin:${pkgs.libvirt}/bin";
path = [
pkgs.git
pkgs.nix
pkgs.libvirt
];
wantedBy = [ "multi-user.target" ];
after = [ "network.target" "libvirtd.service" ];

View file

@ -6,7 +6,7 @@ self: with self; ''
--env=DRONE_RPC_PROTO=$DRONE_RPC_PROTO \
--env=DRONE_RPC_HOST=$DRONE_RPC_HOST \
--env=DRONE_RPC_SECRET=$(${self.libsecret}/bin/secret-tool lookup drone rpc-secret) \
--env=DRONE_RUNNER_CAPACITY=4 \
--env=DRONE_RUNNER_CAPACITY=8 \
--env=DRONE_RUNNER_NAME=$(${self.inetutils}/bin/hostname) \
--publish=30010:30010 \
--restart=always \