diff --git a/.goreleaser.yml b/.goreleaser.yml index 408afbc42..9651647af 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -25,22 +25,13 @@ builds: goarch: - amd64 - arm64 - - arm - - ppc64 - - ppc64le ignore: - - goos: windows - goarch: arm - goos: windows goarch: arm64 - - goos: windows - goarch: ppc64 - - goos: windows - goarch: ppc64le - - goos: darwin - goarch: ppc64 + - goos: linux + goarch: arm64 - goos: darwin - goarch: ppc64le + goarch: amd64 prebuilt: path: tmp/collector_{{ .Os }}_{{ .Arch }}{{ .Ext }} - id: updater @@ -54,22 +45,13 @@ builds: goarch: - amd64 - arm64 - - arm - - ppc64 - - ppc64le ignore: - - goos: windows - goarch: arm - goos: windows goarch: arm64 - - goos: windows - goarch: ppc64 - - goos: windows - goarch: ppc64le - - goos: darwin - goarch: ppc64 + - goos: linux + goarch: arm64 - goos: darwin - goarch: ppc64le + goarch: amd64 prebuilt: path: tmp/updater_{{ .Os }}_{{ .Arch }}{{ .Ext }} - id: supervisor @@ -82,22 +64,13 @@ builds: goarch: - amd64 - arm64 - - arm - - ppc64 - - ppc64le ignore: - - goos: windows - goarch: arm - goos: windows goarch: arm64 - - goos: windows - goarch: ppc64 - - goos: windows - goarch: ppc64le - - goos: darwin - goarch: ppc64 + - goos: linux + goarch: arm64 - goos: darwin - goarch: ppc64le + goarch: amd64 prebuilt: path: release_deps/supervisor_bin/opampsupervisor_{{ .Os }}_{{ .Arch }}{{ .Ext }} diff --git a/Makefile b/Makefile index 084f599d4..651698b56 100644 --- a/Makefile +++ b/Makefile @@ -75,7 +75,7 @@ build-binaries: agent updater build-all: build-linux build-darwin build-windows .PHONY: build-linux -build-linux: build-linux-amd64 build-linux-arm64 build-linux-arm build-linux-ppc64 build-linux-ppc64le +build-linux: build-linux-amd64 build-linux-arm64 .PHONY: build-darwin build-darwin: build-darwin-amd64 build-darwin-arm64 diff --git a/buildscripts/download-dependencies.sh b/buildscripts/download-dependencies.sh index aa74647e2..bccf8f94a 100755 --- a/buildscripts/download-dependencies.sh +++ b/buildscripts/download-dependencies.sh @@ -32,7 +32,7 @@ curl -fL -o "$DOWNLOAD_DIR/opentelemetry-java-contrib-jmx-metrics.jar" \ # download contrib repo and manually build supervisor repos echo "Cloning supervisor repo" SUPERVISOR_REPO="https://github.com/open-telemetry/opentelemetry-collector-contrib.git" -PLATFORMS=("linux/amd64" "linux/arm64" "linux/arm" "linux/ppc64" "linux/ppc64le" "darwin/amd64" "darwin/arm64" "windows/amd64") +PLATFORMS=("linux/amd64" "darwin/arm64" "windows/amd64") mkdir "$DOWNLOAD_DIR/supervisor_bin" $(cd $DOWNLOAD_DIR && git clone --depth 1 "$SUPERVISOR_REPO")