From f5183c3c0dadaf97493d2b9e4258045c1be3dbf5 Mon Sep 17 00:00:00 2001 From: Zach Hoffman Date: Mon, 8 Jul 2024 22:43:35 -0600 Subject: [PATCH] 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