mirror of
https://github.com/Threnklyn/jira.git
synced 2026-06-07 13:33:32 +02:00
make maven cache directory local so we can ensure it is always there for travis testing
This commit is contained in:
@@ -12,3 +12,4 @@ t/issue.props
|
|||||||
t/.jira.d/templates
|
t/.jira.d/templates
|
||||||
dist/
|
dist/
|
||||||
src/
|
src/
|
||||||
|
t/.maven-cache
|
||||||
+3
-1
@@ -10,8 +10,10 @@ docker rm -f go-jira-test
|
|||||||
|
|
||||||
RUNS docker build . -t go-jira-test
|
RUNS docker build . -t go-jira-test
|
||||||
|
|
||||||
|
mkdir -p $(pwd)/.maven-cache
|
||||||
|
|
||||||
# start newt jira service, cache the users m2 directory to make startup faster
|
# start newt jira service, cache the users m2 directory to make startup faster
|
||||||
RUNS docker run --detach -v $HOME/.m2/repository:/root/.m2/repository --name go-jira-test --publish 8080:8080 go-jira-test:latest
|
RUNS docker run --detach -v $(pwd)/.maven-cache:/root/.m2/repository --name go-jira-test --publish 8080:8080 go-jira-test:latest
|
||||||
|
|
||||||
echo "# Waiting for jira service to be listening on port 8080"
|
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 | grep -m 1 'jira started successfully' | sed 's/^/# /'
|
||||||
|
|||||||
Reference in New Issue
Block a user