open-telemetry / opentelemetry-cpp

The OpenTelemetry C++ Client
https://opentelemetry.io/
Apache License 2.0
886 stars 421 forks source link

Instructions for running CI tests locally via Docker do not work #3118

Open psx95 opened 1 week ago

psx95 commented 1 week ago

Based on the current instructions for running the CI tests locally, I should be able to run

./ci/run_docker.sh 

from the root of the project to enter a docker shell where I can run tests manually.

However running this command results in an error

unable to prepare context: unable to evaluate symlinks in Dockerfile path /Projects/opentelemetry-cpp/ci/Dockerfile: no such file or directory

This is probably coming from this line in the shell script which seems like it is explicitly looking for a Dockerfile in the ci directory and currently there is none.

esigo commented 6 days ago

@psx95 I added documentation for devcontainer here https://github.com/open-telemetry/opentelemetry-cpp/blob/ce1e82a8bfe71ae814f6e1d219515b94560ea6ce/CONTRIBUTING.md#devcontainer-setup-for-project