This is an automated email from the ASF dual-hosted git repository.
rshah pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
The following commit(s) were added to refs/heads/master by this push:
new 1a80eb73f9 Expose TOMCAT_VERSION to Traffic Router tests docker
compose service (#8042)
1a80eb73f9 is described below
commit 1a80eb73f97121cf72b592e40841515a8b33f60d
Author: Zach Hoffman <[email protected]>
AuthorDate: Tue Jul 9 09:03:30 2024 -0600
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(+)
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