-
Notifications
You must be signed in to change notification settings - Fork 446
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix_resource_detector_access
- Loading branch information
Showing
118 changed files
with
2,609 additions
and
284 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Copyright The OpenTelemetry Authors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
FROM otel/cpp_format_tools | ||
|
||
ARG GRPC_VERSION=v1.55.0 | ||
ARG PROTOBUF_VERSION=23.4 | ||
ARG ABSEIL_CPP_VERSION=20240116.1 | ||
|
||
ENV PROTOBUF_VERSION=${PROTOBUF_VERSION} | ||
ENV ABSEIL_CPP_VERSION=${ABSEIL_CPP_VERSION} | ||
|
||
COPY ci /opt/ci | ||
|
||
RUN apt update && apt install -y wget \ | ||
ninja-build \ | ||
libcurl4-openssl-dev \ | ||
markdownlint | ||
|
||
RUN cd /opt/ci && bash setup_cmake.sh | ||
RUN cd /opt/ci && bash setup_ci_environment.sh | ||
RUN cd /opt && bash ci/setup_googletest.sh \ | ||
&& bash ci/setup_grpc.sh -r ${GRPC_VERSION} | ||
|
||
ADD https://github.com/bazelbuild/bazelisk/releases/download/v1.22.1/bazelisk-linux-amd64 /usr/local/bin | ||
|
||
RUN git config --global core.autocrlf input \ | ||
&& chmod +x /usr/local/bin/bazelisk-linux-amd64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// Copyright The OpenTelemetry Authors | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: | ||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.162.0/containers/javascript-node | ||
{ | ||
"name": "opentelemetry-cpp", | ||
"build": { | ||
"context": "..", | ||
"dockerfile": "Dockerfile.dev", | ||
"args": { | ||
"GRPC_VERSION": "v1.55.0", | ||
"PROTOBUF_VERSION": "23.4", | ||
"ABSEIL_CPP_VERSION":"20240116.1" | ||
} | ||
}, | ||
"settings": { | ||
"terminal.integrated.shell.linux": "/bin/sh" | ||
}, | ||
"extensions": [ | ||
"ms-vscode.cpptools", | ||
"ms-azuretools.vscode-docker", | ||
"ms-vscode.cpptools-extension-pack" | ||
], | ||
|
||
"remoteUser": "root" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.