From 1a80eb73f97121cf72b592e40841515a8b33f60d Mon Sep 17 00:00:00 2001 From: Zach Hoffman Date: Tue, 9 Jul 2024 09:03:30 -0600 Subject: [PATCH] Expose TOMCAT_VERSION to Traffic Router tests docker compose service (#8042) Expose TOMCAT_VERSION to Traffic Router tests docker-compose service --- traffic_router/tests/.env | 1 + traffic_router/tests/docker-compose.yml | 2 ++ 2 files changed, 3 insertions(+) create mode 120000 traffic_router/tests/.env diff --git a/traffic_router/tests/.env b/traffic_router/tests/.env new file mode 120000 index 0000000000..c7360fb82d --- /dev/null +++ b/traffic_router/tests/.env @@ -0,0 +1 @@ +../../.env \ No newline at end of file diff --git a/traffic_router/tests/docker-compose.yml b/traffic_router/tests/docker-compose.yml index 0bdd2fcc88..ad04440002 100644 --- a/traffic_router/tests/docker-compose.yml +++ b/traffic_router/tests/docker-compose.yml @@ -31,6 +31,8 @@ services: - traffic_router:/traffic_router - ../../junit:/junit - ../../.m2:/root/.m2 + env_file: # This makes TOMCAT_VERSION avaiable to the container. + - .env environment: DEBUG_ENABLE: 'false' # Set to 'true' to debug the TR unit tests DEBUG_PORT: 8000