opentelemetry-cpp/ci
Douglas Heriot b1253a7484
[SDK] Add credentials option to OTLP gRPC client (#3402) (#3403)
This allows passing custom `ChannelCredentials` when creating gRPC channels, to support authentication protocols that require short-lived tokens.
2025-06-07 11:10:50 +02:00
..
ports/protobuf [BUILD] Remove benchmark overlay for vcpkg (#2695) 2024-06-06 17:47:45 +02:00
README.md [MAINTAINER] Add devcontainer (#3123) 2025-01-15 22:42:05 +01:00
do_ci.ps1 [SDK] Add credentials option to OTLP gRPC client (#3402) (#3403) 2025-06-07 11:10:50 +02:00
do_ci.sh [SDK] Add credentials option to OTLP gRPC client (#3402) (#3403) 2025-06-07 11:10:50 +02:00
docfx.cmd Enforce copyright check in CI (#1965) 2023-02-08 15:04:21 -08:00
docfx.json Update docs to use relative code links. (#1447) 2022-07-01 12:54:20 -07:00
fix-abseil-cpp-issue-1536.patch [CI] Build failures with ABSEIL 20240116 and CMAKE 3.30 (#3002) 2024-07-12 12:17:04 +02:00
install_abseil.sh [DEVCONTAINER] fix grpc install (#3325) 2025-03-27 08:39:53 +01:00
install_bazelisk.sh Upgrade Bazel and Bazelisk version (#2118) 2023-04-27 15:59:45 -07:00
install_format_tools.sh [CI] Upgrade to clang-format 18 (#2684) 2024-05-29 22:01:06 +02:00
install_gcc48.sh Add missing Copyright headers (#754) 2021-05-25 11:37:08 +05:30
install_iwyu.sh [CI] build iwyu (#3459) 2025-06-04 09:31:25 +02:00
install_osx_bazelisk.sh Add missing Copyright headers (#754) 2021-05-25 11:37:08 +05:30
install_protobuf.sh [CMAKE] bump cmake minimum required version to 3.14 (#3349) 2025-04-12 19:29:53 -07:00
install_windows_bazelisk.ps1 Upgrade Bazel and Bazelisk version (#2118) 2023-04-27 15:59:45 -07:00
install_windows_protobuf.ps1 Update copyright for the remaining repo (#1963) 2023-02-07 06:08:51 -08:00
run_docker.sh [MAINTAINER] Add devcontainer (#3123) 2025-01-15 22:42:05 +01:00
setup_ci_environment.sh [CI] build iwyu (#3459) 2025-06-04 09:31:25 +02:00
setup_cmake.ps1 [CMAKE] bump cmake minimum required version to 3.14 (#3349) 2025-04-12 19:29:53 -07:00
setup_cmake.sh [CMAKE] bump cmake minimum required version to 3.14 (#3349) 2025-04-12 19:29:53 -07:00
setup_cmake_macos.sh [CMAKE] bump cmake minimum required version to 3.14 (#3349) 2025-04-12 19:29:53 -07:00
setup_gcc10.sh [CI] Enable ARM64 build in CI (#2699) 2024-06-19 09:25:08 +02:00
setup_googletest.sh [CI] Use platform CMake (#2627) 2024-04-04 22:09:47 +02:00
setup_grpc.sh [CMAKE] bump cmake minimum required version to 3.14 (#3349) 2025-04-12 19:29:53 -07:00
setup_windows_ci_environment.ps1 [INSTALL] add cmake components to the package (#3220) 2025-04-02 09:54:17 +02:00
toc.yml add docfx ci (#336) 2020-09-21 09:01:30 -07:00
valgrind-suppressions Remove static global context_handler_ variable (#322) 2020-09-21 15:59:08 -07:00
verify_packages.sh Support `pkg-config` (#2269) 2023-08-22 13:28:18 -07:00

README.md

Building and running tests as a developer

CI tests can be run on docker by invoking the script ./ci/run_docker.sh ./ci/do_ci.sh {TARGET}or inside devcontainer by invoking the script ./ci/do_ci.sh {TARGET} where the targets are:

  • cmake.test: build cmake targets and run tests.
  • cmake.maintainer.test: build with cmake and test, in maintainer mode.
  • cmake.legacy.test: build cmake targets with gcc 4.8 and run tests.
  • cmake.c++20.test: build cmake targets with the C++20 standard and run tests.
  • cmake.test_example_plugin: build and test an example OpenTelemetry plugin.
  • cmake.exporter.otprotocol.test: build and test the otprotocol exporter
  • bazel.test: build bazel targets and run tests.
  • bazel.legacy.test: build bazel targets and run tests for the targets meant to work with older compilers.
  • bazel.noexcept: build bazel targets and run tests with exceptions disabled.
  • bazel.nortti: build bazel targets and run tests with runtime type identification disabled.
  • bazel.asan: build bazel targets and run tests with AddressSanitizer.
  • bazel.tsan: build bazel targets and run tests with ThreadSanitizer.
  • bazel.valgrind: build bazel targets and run tests under the valgrind memory checker.
  • benchmark: run all benchmarks.
  • format: use tools/format.sh to enforce text formatting.
  • third_party.tags: store third_party release tags.
  • code.coverage: build cmake targets with CXX option --coverage and run tests.

Additionally, ./ci/run_docker.sh can be invoked with no arguments to get a docker shell where tests can be run manually.