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 committed Nov 13, 2024
1 parent 9aa8b81 commit 97f7437
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 @@ -26,6 +26,7 @@ in
++ (with pkgs; [
minicom
usbsdmux
grafana-loki
]);

# The Jenkins slave service is very barebones
Expand Down Expand Up @@ -79,7 +80,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 @@ -123,6 +124,7 @@ in
netcat
python3
usbsdmux
grafana-loki
]);

serviceConfig = {
Expand Down

0 comments on commit 97f7437

Please sign in to comment.