mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 18:50:12 +01:00
Improved piler environment setup
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
b38f9be102
commit
54eddcad04
@ -29,6 +29,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /home/jenkins/data:/data:ro
|
- /home/jenkins/data:/data:ro
|
||||||
- /home/jenkins/config/11-aaaa.conf:/etc/rsyslog.d/11-aaaa.conf:ro
|
- /home/jenkins/config/11-aaaa.conf:/etc/rsyslog.d/11-aaaa.conf:ro
|
||||||
|
- ./setup.sql:/tmp/setup.sql:ro
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-s", "smtp://localhost"]
|
test: ["CMD", "curl", "-s", "smtp://localhost"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
|
@ -44,7 +44,6 @@ setup_piler() {
|
|||||||
|
|
||||||
pushd "${WORKSPACE}/${PROJECT_ID}/tests"
|
pushd "${WORKSPACE}/${PROJECT_ID}/tests"
|
||||||
|
|
||||||
docker cp setup.sql "${container}:/tmp"
|
|
||||||
docker exec "$container" /usr/local/bin/setup-piler.sh
|
docker exec "$container" /usr/local/bin/setup-piler.sh
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
Loading…
Reference in New Issue
Block a user