opentelemetry-cpp/ci
Ehsan Saei 836dda6f06
run_docker user (#1123)
2021-12-10 10:53:17 -08:00
..
ports Add spell check to CI (#527) 2021-01-21 09:49:02 +05:30
Dockerfile Add Recordable implementation for otprotocol exporter (#49) 2020-04-06 12:56:13 -07:00
README.md checkout opentelemetry-proto v0.11.0 (#1055) 2021-11-09 16:20:12 -08:00
do_ci.ps1 Jaeger bazel (Linux only) (#1077) 2021-11-25 10:01:58 -08:00
do_ci.sh Jaeger exporter: extend supported attributes types (#1106) 2021-12-06 15:31:47 -08:00
docfx.cmd add docfx ci (#336) 2020-09-21 09:01:30 -07:00
docfx.json script to add versioning info (#399) 2020-12-04 07:55:23 +05:30
install_abseil.sh Add absl/stl CI builds using cmake (#855) 2021-06-17 00:50:01 +05:30
install_bazelisk.sh Disable bazel build for gcc 4.8, upgrade versions for grpc and bazel, document bazel support (#953) 2021-08-19 14:43:16 -07:00
install_format_tools.sh Add missing Copyright headers (#754) 2021-05-25 11:37:08 +05:30
install_gcc48.sh Add missing Copyright headers (#754) 2021-05-25 11:37:08 +05:30
install_osx_bazelisk.sh Add missing Copyright headers (#754) 2021-05-25 11:37:08 +05:30
install_protobuf.sh Add missing Copyright headers (#754) 2021-05-25 11:37:08 +05:30
install_windows_bazelisk.ps1 Upgrade Bazel & Bazelisk version to the latest releases (#407) 2020-11-25 10:00:26 -08:00
install_windows_protobuf.ps1 Fix build break by pinning to local port files (#235) 2020-07-31 13:16:42 -07:00
run_docker.sh run_docker user (#1123) 2021-12-10 10:53:17 -08:00
setup_ci_environment.sh Add missing Copyright headers (#754) 2021-05-25 11:37:08 +05:30
setup_cmake.sh Add missing Copyright headers (#754) 2021-05-25 11:37:08 +05:30
setup_grpc.sh Disable bazel build for gcc 4.8, upgrade versions for grpc and bazel, document bazel support (#953) 2021-08-19 14:43:16 -07:00
setup_thrift.sh Jaeger bazel (Linux only) (#1077) 2021-11-25 10:01:58 -08:00
setup_windows_ci_environment.ps1 Add json.hpp to CI and Build Tools (#306) 2020-08-31 11:12:34 -07:00
setup_windows_cmake.ps1 Add windows ci. (#18) 2020-01-03 10:05:01 -08: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

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} where the targets are:

  • cmake.test: build cmake targets and run tests.
  • 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.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.