Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: disable golang telemetry #301

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ RUN sudo apt-get update && sudo apt-get install -y --no-install-recommends \
curl -sSL "https://go.dev/dl/go${GO_VER}.linux-${ARCH}.tar.gz" | sudo tar -xz -C /usr/local/ && \
mkdir -p /home/circleci/go/bin

ENV GOPATH /home/circleci/go
ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH
ENV GOPATH="/home/circleci/go"
ENV PATH="$GOPATH/bin:/usr/local/go/bin:$PATH"

# disable telemetry (in a version-independent way)
go run golang.org/x/telemetry/cmd/gotelemetry@latest off

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
go run golang.org/x/telemetry/cmd/gotelemetry@latest off
RUN go run golang.org/x/telemetry/cmd/gotelemetry@latest off

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Saw this PR would unblock the release (if I understand the CI result on the release PR).

Thanks for looking into getting cimg-go:1.23.0 released!


# Install related tools
# renovate: datasource=github-releases depName=gotestyourself/gotestsum
Expand Down