Skip to content

Commit

Permalink
remove msarahan conda-build instrumentation
Browse files Browse the repository at this point in the history
  • Loading branch information
msarahan committed Oct 30, 2024
1 parent 949f3b5 commit 4d6f44c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
5 changes: 2 additions & 3 deletions ci-conda.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -236,12 +236,11 @@ rm -rf gh_*

# Install OpenTelemetry instrumentation
pip install opentelemetry-distro[otlp] opentelemetry-exporter-prometheus
opentelemetry-bootstrap -a install
curl -L -o "otel-cli-${CPU_ARCH}.tar.gz" https://github.com/equinix-labs/otel-cli/releases/download/v0.4.5/otel-cli_0.4.5_linux_${CPU_ARCH}.tar.gz
tar -zxf "otel-cli-${CPU_ARCH}.tar.gz"
mv otel-cli /usr/local/bin/
git clone -b add-conda-build-instrumentation https://github.com/msarahan/opentelemetry-python-contrib
pip install -e ./opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-conda-build
opentelemetry-bootstrap -a install
rm -rf "otel-cli-${CPU_ARCH}.tar.gz"
EOF


Expand Down
5 changes: 2 additions & 3 deletions ci-wheel.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -165,12 +165,11 @@ COPY pip.conf /etc/xdg/pip/pip.conf
RUN <<EOF
# Install OpenTelemetry instrumentation
pip install opentelemetry-distro[otlp] opentelemetry-exporter-prometheus
opentelemetry-bootstrap -a install
curl -L -o "otel-cli-${CPU_ARCH}.tar.gz" https://github.com/equinix-labs/otel-cli/releases/download/v0.4.5/otel-cli_0.4.5_linux_${CPU_ARCH}.tar.gz
tar -zxf "otel-cli-${CPU_ARCH}.tar.gz"
mv otel-cli /usr/local/bin/
git clone -b add-conda-build-instrumentation https://github.com/msarahan/opentelemetry-python-contrib
pip install -e ./opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-conda-build
opentelemetry-bootstrap -a install
rm -rf "otel-cli-${CPU_ARCH}.tar.gz"
EOF

CMD ["/bin/bash"]
5 changes: 2 additions & 3 deletions citestwheel.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,11 @@ EOF
RUN <<EOF
# Install OpenTelemetry instrumentation
pip install opentelemetry-distro[otlp] opentelemetry-exporter-prometheus
opentelemetry-bootstrap -a install
curl -L -o "otel-cli-${CPU_ARCH}.tar.gz" https://github.com/equinix-labs/otel-cli/releases/download/v0.4.5/otel-cli_0.4.5_linux_${CPU_ARCH}.tar.gz
tar -zxf "otel-cli-${CPU_ARCH}.tar.gz"
mv otel-cli /usr/local/bin/
git clone -b add-conda-build-instrumentation https://github.com/msarahan/opentelemetry-python-contrib
pip install -e ./opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-conda-build
opentelemetry-bootstrap -a install
rm -rf "otel-cli-${CPU_ARCH}.tar.gz"
EOF

# Install latest gha-tools
Expand Down

0 comments on commit 4d6f44c

Please sign in to comment.