mirror of
https://github.com/Threnklyn/jira.git
synced 2026-05-18 20:23:28 +02:00
try travis cache and log atlas-run start output
This commit is contained in:
@@ -16,3 +16,8 @@ script:
|
||||
- make lint
|
||||
- make
|
||||
- export OSHT_VERBOSE=1 && prove -v
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- t/.maven-cache
|
||||
- t/start.log
|
||||
+1
-3
@@ -19,9 +19,7 @@ RUNS docker run --detach -v $(pwd)/.maven-cache:/root/.m2/repository --name go-j
|
||||
RUNS sleep 5
|
||||
|
||||
echo "# Waiting for jira service to be listening on port 8080"
|
||||
docker exec -i go-jira-test tail -f screenlog.0
|
||||
|
||||
#| grep -m 1 'jira started successfully' | sed 's/^/# /'
|
||||
docker exec -i go-jira-test tail -f screenlog.0 | tee start.log | grep -m 1 'jira started successfully' | sed 's/^/# /'
|
||||
|
||||
# wait for healthchecks to pass, curl will retry 900 times over 15 min waiting
|
||||
RUNS curl -q -L --retry 900 --retry-delay 1 -f -s "http://localhost:8080/rest/api/2/serverInfo?doHealthCheck=1"
|
||||
|
||||
Reference in New Issue
Block a user