Fix path in drone runner exec
This commit is contained in:
parent
dded778e7b
commit
2ca921b4a3
|
@ -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" ];
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue