Skip to content

xBis7/otel-testing

Repository files navigation

All scripts should be executed from the project root.

jenkins-airflow

Jenkins

We can conditionally check if we need to run jenkins from a war file but we have to copy it in any case. It needs to be available.

Generate the war file

./jenkins-airflow/utils/get_custom_jenkins_war.sh /path/to/projects

Airflow

Build all images

./jenkins-airflow/utils/build_airflow.sh /path/to/projects

partial-spans

After cloning the repo, run this

./run_partial_spans_tests.sh /path/to/projects all true <your_username> <remote_repo_or_username_to_pull_from>

it sets up the projects locally and runs all scripts for partial-spans. It should succeed.

Running the above script without and parameters other than the path, executes only the tests and skips the setup.

./run_partial_spans_tests.sh /path/to/projects

You can find the jaeger UI in http://localhost:16686/. You should be able to see the spans generated by the tests under the tester service.

To stop the docker environment

./partial-spans/utils/handle_docker.sh /path/to/projects down

The docker script accepts the following parameters for action

  • up, starts the env
  • down, stops the env
  • restart_new_imgs, restarts the env and creates new images
  • restart_and_build_img - <container_name>, restarts the env and creates new image only for the specified container
  • no action param, restarts the env

About

Scripts for setting up and testing an environment with an otel-collector and various other services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors