From 51dfd3585f673a0168094eb0fffbff2d761475c1 Mon Sep 17 00:00:00 2001 From: Ondrej Sika Date: Tue, 26 Nov 2024 23:01:49 +0100 Subject: [PATCH] feat(cmd/install_bin): Add alloy to slu ib --- cmd/install_bin/tools.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cmd/install_bin/tools.go b/cmd/install_bin/tools.go index ce7d619..d1a399c 100644 --- a/cmd/install_bin/tools.go +++ b/cmd/install_bin/tools.go @@ -398,6 +398,12 @@ var Tools = []Tool{ UrlTemplate: "https://github.com/grafana/loki/releases/download/{{.Version}}/logcli-{{.Os}}-{{.Arch}}.zip", SourcePath: "logcli-{{.Os}}-{{.Arch}}", }, + { + Name: "alloy", + GetVersionFunc: func() string { return github_utils.GetLatestRelease("grafana", "alloy") }, + UrlTemplate: "https://github.com/grafana/alloy/releases/download/{{.Version}}/alloy-{{.Os}}-{{.Arch}}.zip", + SourcePath: "alloy-{{.Os}}-{{.Arch}}", + }, { Name: "coredns", GetVersionFunc: func() string { return github_utils.GetLatestRelease("coredns", "coredns") },