Skip to content

Commit

Permalink
Docker: add otel-cli tool (#2589)
Browse files Browse the repository at this point in the history
This will be used in conjunection with
kubernetes/test-infra#30010 and
https://blog.howardjohn.info/posts/shell-tracing/ to give us tracing of
job execution to help understand and analyze job/test execution better.

The tool is 18mb so pretty low cost.
  • Loading branch information
howardjohn authored Jul 14, 2023
1 parent 42f5f71 commit 4a087e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/build-tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ ENV KPT_VERSION=v1.0.0-beta.35
ENV KUBECTL_VERSION=1.27.3
ENV KUBECTX_VERSION=0.9.4
ENV KUBETEST2_VERSION=b019714a389563c9a788f119f801520d059b6533
# TODO: switch to v0.4.0 when its out; we depend on some bug fixes since v0.3.0
ENV OTEL_CLI_VERSION=159cd1ec2e3f992e5f963dc70269b068c1038738
ENV PROTOC_GEN_GRPC_GATEWAY_VERSION=v1.16.0
ENV PROTOC_GEN_VALIDATE_VERSION=1.0.1
ENV PROTOC_VERSION=23.4
Expand Down Expand Up @@ -148,6 +150,7 @@ RUN go install -ldflags="-s -w" github.com/wadey/gocovmerge@${GOCOVMERGE_VERSION
RUN go install -ldflags="-s -w" github.com/imsky/junit-merger/src/junit-merger@${JUNIT_MERGER_VERSION}
RUN go install -ldflags="-s -w" golang.org/x/perf/cmd/benchstat@${BENCHSTAT_VERSION}
RUN go install -ldflags="-s -w" github.com/google/go-containerregistry/cmd/crane@${CRANE_VERSION}
RUN go install -ldflags="-s -w" github.com/equinix-labs/otel-cli@${OTEL_CLI_VERSION}
# Install latest version of Istio-owned tools in this release
RUN go install -ldflags="-s -w" \
istio.io/tools/cmd/protoc-gen-docs@${ISTIO_TOOLS_SHA} \
Expand Down

0 comments on commit 4a087e1

Please sign in to comment.