Skip to content

Commit

Permalink
add FreeBSD/arm64 to packaging targets
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Mar 27, 2024
1 parent e908a2f commit c8f5e70
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ Main (unreleased)

- Add conversion from static to flow mode for `loki.source.windowsevent` via `legacy_bookmark_path`. (@mattdurham)

- Add support for FreeBSD/arm64. (@evgeni)

### Features

- Added a new CLI flag `--stability.level` which defines the minimum stability
Expand Down
17 changes: 16 additions & 1 deletion tools/make/packaging.mk
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ dist-agent-binaries: dist/grafana-agent-linux-amd64 \
dist/grafana-agent-windows-amd64.exe \
dist/grafana-agent-windows-boringcrypto-amd64.exe \
dist/grafana-agent-freebsd-amd64 \
dist/grafana-agent-freebsd-arm64 \
dist/grafana-agent-linux-arm64-boringcrypto

dist/grafana-agent-linux-amd64: GO_TAGS += netgo builtinassets promtail_journal_enabled
Expand Down Expand Up @@ -97,6 +98,13 @@ dist/grafana-agent-freebsd-amd64: generate-ui
$(PACKAGING_VARS) AGENT_BINARY=$@ "$(MAKE)" -f $(PARENT_MAKEFILE) agent


dist/grafana-agent-freebsd-arm64: GO_TAGS += netgo builtinassets
dist/grafana-agent-freebsd-arm64: GOOS := freebsd
dist/grafana-agent-freebsd-arm64: GOARCH := arm64
dist/grafana-agent-freebsd-arm64: generate-ui
$(PACKAGING_VARS) AGENT_BINARY=$@ "$(MAKE)" -f $(PARENT_MAKEFILE) agent


dist/grafana-agent-linux-amd64-boringcrypto: GO_TAGS += netgo builtinassets promtail_journal_enabled
dist/grafana-agent-linux-amd64-boringcrypto: GOOS := linux
dist/grafana-agent-linux-amd64-boringcrypto: GOARCH := amd64
Expand All @@ -122,7 +130,8 @@ dist-agentctl-binaries: dist/grafana-agentctl-linux-amd64 \
dist/grafana-agentctl-darwin-amd64 \
dist/grafana-agentctl-darwin-arm64 \
dist/grafana-agentctl-windows-amd64.exe \
dist/grafana-agentctl-freebsd-amd64
dist/grafana-agentctl-freebsd-amd64 \
dist/grafana-agentctl-freebsd-arm64

dist/grafana-agentctl-linux-amd64: GO_TAGS += netgo promtail_journal_enabled
dist/grafana-agentctl-linux-amd64: GOOS := linux
Expand Down Expand Up @@ -171,6 +180,12 @@ dist/grafana-agentctl-freebsd-amd64: GOARCH := amd64
dist/grafana-agentctl-freebsd-amd64:
$(PACKAGING_VARS) AGENTCTL_BINARY=$@ "$(MAKE)" -f $(PARENT_MAKEFILE) agentctl

dist/grafana-agentctl-freebsd-arm64: GO_TAGS += netgo
dist/grafana-agentctl-freebsd-arm64: GOOS := freebsd
dist/grafana-agentctl-freebsd-arm64: GOARCH := arm64
dist/grafana-agentctl-freebsd-arm64:
$(PACKAGING_VARS) AGENTCTL_BINARY=$@ "$(MAKE)" -f $(PARENT_MAKEFILE) agentctl

#
# agent-flow release binaries
#
Expand Down

0 comments on commit c8f5e70

Please sign in to comment.