Skip to content

Commit

Permalink
small updates
Browse files Browse the repository at this point in the history
  • Loading branch information
nr-dadams committed Oct 3, 2024
1 parent 8212657 commit 58fd6ac
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 6 deletions.
67 changes: 67 additions & 0 deletions build/goreleaser/linux/build_legac.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# build other arch
- id: linux-agent-legacy
main: ./cmd/newrelic-infra
binary: newrelic-infra
env:
- CGO_ENABLED=0
goos:
- linux
ldflags:
- -s -w -X main.buildVersion={{.Version}}
- -s -w -X main.gitCommit={{.Commit}}
- -s -w -X main.buildDate={{.Date}}
goarch:
- 386
- mips
- mips64
- mipsle
- mips64le
- ppc64le
- s390x
gomips:
- hardfloat

- id: linux-ctl-legacy
main: ./cmd/newrelic-infra-ctl
binary: newrelic-infra-ctl
env:
- CGO_ENABLED=0
goos:
- linux
ldflags:
- -s -w -X main.buildVersion={{.Version}}
- -s -w -X main.gitCommit={{.Commit}}
- -s -w -X main.buildDate={{.Date}}
goarch:
- 386
- mips
- mips64
- mipsle
- mips64le
- ppc64le
- s390x
gomips:
- hardfloat

- id: linux-service-legacy
main: ./cmd/newrelic-infra-service
binary: newrelic-infra-service
env:
- CGO_ENABLED=0
goos:
- linux
ldflags:
- -s -w -X main.buildVersion={{.Version}}
- -s -w -X main.gitCommit={{.Commit}}
- -s -w -X main.buildDate={{.Date}}
goarch:
- 386
- mips
- mips64
- mipsle
- mips64le
- ppc64le
- s390x
gomips:
- hardfloat
# end build other arch
File renamed without changes.
13 changes: 7 additions & 6 deletions build/release.mk
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@ release/pkg-linux: release/get-fluentbit-linux-arm64

.PHONY : release/pkg-linux-fips
release/pkg-linux-fips: release/deps release/clean generate-goreleaser-multiarch-fips
release/pkg-linux-fips: release/get-integrations-amd64 #NO FIPS ASSETS AVAILABLE FOR NOW
release/pkg-linux-fips: release/get-integrations-arm64 #NO FIPS ASSETS AVAILABLE FOR NOW
release/pkg-linux-fips: release/get-integrations-arm #NO FIPS ASSETS AVAILABLE FOR NOW
release/pkg-linux-fips: release/get-fluentbit-linux-amd64 #NO FIPS ASSETS AVAILABLE FOR NOW
#release/pkg-linux: release/get-fluentbit-linux-arm
release/pkg-linux-fips: release/get-fluentbit-linux-arm64 #NO FIPS ASSETS AVAILABLE FOR NOW
# release/pkg-linux-fips: release/get-integrations-amd64 #NO FIPS ASSETS AVAILABLE FOR NOW
# release/pkg-linux-fips: release/get-integrations-arm64 #NO FIPS ASSETS AVAILABLE FOR NOW
# release/pkg-linux-fips: release/get-integrations-arm #NO FIPS ASSETS AVAILABLE FOR NOW
# release/pkg-linux-fips: release/get-fluentbit-linux-amd64 #NO FIPS ASSETS AVAILABLE FOR NOW
# #release/pkg-linux: release/get-fluentbit-linux-arm
# release/pkg-linux-fips: release/get-fluentbit-linux-arm64 #NO FIPS ASSETS AVAILABLE FOR NOW
@echo "=== [release/pkg-linux-fips] PRE-RELEASE compiling all binaries, creating packages, archives"
$(GORELEASER_BIN) release --config $(GORELEASER_CONFIG_LINUX) $(PKG_FLAGS)

Expand Down Expand Up @@ -340,6 +340,7 @@ generate-goreleaser-multiarch-fips:
cat $(CURDIR)/build/goreleaser/linux/header.yml\
$(CURDIR)/build/goreleaser/linux/build_amd64_fips.yml\
$(CURDIR)/build/goreleaser/linux/build_arm64_fips.yml\
$(CURDIR)/build/goreleaser/linux/build_legacy_fips.yml\
$(CURDIR)/build/goreleaser/linux/archives_header.yml\
$(CURDIR)/build/goreleaser/linux/archives_amd64.yml\
$(CURDIR)/build/goreleaser/linux/archives_arm64.yml\
Expand Down

0 comments on commit 58fd6ac

Please sign in to comment.