Skip to content

Commit

Permalink
EVEREST-107 RC builds telemetry (#494)
Browse files Browse the repository at this point in the history
  • Loading branch information
oksana-grishchenko authored Jul 12, 2024
1 parent 4dfe1fc commit dde1e7e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,11 @@ jobs:
- name: Everest - build binary
run: |
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 make release
if [[ $env.IS_RC ]]; then
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 make rc
else
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 make release
fi
- name: Everest - setup docker build metadata
uses: docker/metadata-action@v5
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ release: FLAGS += -X 'github.com/percona/everest/cmd/config.TelemetryURL=https:/

release: build ## Build release version

rc: FLAGS += -X 'github.com/percona/everest/cmd/config.TelemetryURL=https://check-dev.percona.com' -X 'github.com/percona/everest/cmd/config.TelemetryInterval=24h'

rc: build ## Build RC version

release-cli:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -v $(LD_FLAGS_CLI) -o ./dist/everestctl-linux-amd64 ./cmd/cli
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -v $(LD_FLAGS_CLI) -o ./dist/everestctl-linux-arm64 ./cmd/cli
Expand Down

0 comments on commit dde1e7e

Please sign in to comment.