Skip to content

Commit

Permalink
feat(cmd/install_bin): Add alloy to slu ib
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejsika committed Nov 26, 2024
1 parent 8fedc0c commit 51dfd35
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmd/install_bin/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -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") },
Expand Down

0 comments on commit 51dfd35

Please sign in to comment.