From 54eddcad04dcc37a8d1cacd006afd156a4a04da4 Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Wed, 14 Jun 2023 11:44:41 +0200 Subject: [PATCH] Improved piler environment setup Signed-off-by: Janos SUTO --- tests/docker-compose.yaml | 1 + tests/setup.inc | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/docker-compose.yaml b/tests/docker-compose.yaml index a3a9d1f6..2210c717 100644 --- a/tests/docker-compose.yaml +++ b/tests/docker-compose.yaml @@ -29,6 +29,7 @@ services: volumes: - /home/jenkins/data:/data:ro - /home/jenkins/config/11-aaaa.conf:/etc/rsyslog.d/11-aaaa.conf:ro + - ./setup.sql:/tmp/setup.sql:ro healthcheck: test: ["CMD", "curl", "-s", "smtp://localhost"] interval: 10s diff --git a/tests/setup.inc b/tests/setup.inc index 53e886c7..9da3b41d 100644 --- a/tests/setup.inc +++ b/tests/setup.inc @@ -44,7 +44,6 @@ setup_piler() { pushd "${WORKSPACE}/${PROJECT_ID}/tests" - docker cp setup.sql "${container}:/tmp" docker exec "$container" /usr/local/bin/setup-piler.sh popd