forked from pub-solar/os
Fix path in drone runner exec
This commit is contained in:
parent
63435d6e59
commit
c5362c0453
|
@ -20,7 +20,11 @@ in
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
};
|
};
|
||||||
|
|
||||||
path = "${pkgs.git}/bin:${pkgs.nix}/bin:${pkgs.libvirt}/bin";
|
path = [
|
||||||
|
pkgs.git
|
||||||
|
pkgs.nix
|
||||||
|
pkgs.libvirt
|
||||||
|
];
|
||||||
|
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
after = [ "network.target" "libvirtd.service" ];
|
after = [ "network.target" "libvirtd.service" ];
|
||||||
|
|
|
@ -6,7 +6,7 @@ self: with self; ''
|
||||||
--env=DRONE_RPC_PROTO=$DRONE_RPC_PROTO \
|
--env=DRONE_RPC_PROTO=$DRONE_RPC_PROTO \
|
||||||
--env=DRONE_RPC_HOST=$DRONE_RPC_HOST \
|
--env=DRONE_RPC_HOST=$DRONE_RPC_HOST \
|
||||||
--env=DRONE_RPC_SECRET=$(${self.libsecret}/bin/secret-tool lookup drone rpc-secret) \
|
--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) \
|
--env=DRONE_RUNNER_NAME=$(${self.inetutils}/bin/hostname) \
|
||||||
--publish=3000:3000 \
|
--publish=3000:3000 \
|
||||||
--restart=always \
|
--restart=always \
|
||||||
|
|
Loading…
Reference in a new issue