Skip to content

Commit

Permalink
Add grafana-loki tool to agent
Browse files Browse the repository at this point in the history
Signed-off-by: Maarit Härkönen <[email protected]>
  • Loading branch information
maaharko authored and joinemm committed Nov 14, 2024
1 parent d2bf17c commit 0faecbd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hosts/testagent/agents-common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ in
++ (with pkgs; [
minicom
usbsdmux
grafana-loki
]);

# The Jenkins slave service is very barebones
Expand Down Expand Up @@ -95,7 +96,7 @@ in
jenkins-connect-script = pkgs.writeShellScript "jenkins-connect.sh" ''
JENKINS_SECRET="$(
curl --proto =https -u admin:$ADMIN_PASSWORD \
$CONTROLLER/computer/${device}/jenkins-agent.jnlp |
$CONTROLLER/computer/${device}/jenkins-agent.jnlp |
sed "s/.*<application-desc><argument>\([a-z0-9]*\).*/\1\n/"
)"
Expand Down Expand Up @@ -139,6 +140,7 @@ in
netcat
python3
usbsdmux
grafana-loki
]);

serviceConfig = {
Expand Down

0 comments on commit 0faecbd

Please sign in to comment.