All scripts should be executed from the project root.
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/projectsBuild all images
./jenkins-airflow/utils/build_airflow.sh /path/to/projectsAfter 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/projectsYou 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 downThe docker script accepts the following parameters for action
up, starts the envdown, stops the envrestart_new_imgs, restarts the env and creates new imagesrestart_and_build_img-<container_name>, restarts the env and creates new image only for the specified container- no action param, restarts the env