Fix vcs ref
This commit is contained in:
parent
75d3a4974a
commit
9789c073b4
4
build.sh
4
build.sh
@ -6,7 +6,7 @@ BUILD_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
|
|||||||
BUILD_TAG=docker_build
|
BUILD_TAG=docker_build
|
||||||
BUILD_WORKINGDIR=${BUILD_WORKINGDIR:-.}
|
BUILD_WORKINGDIR=${BUILD_WORKINGDIR:-.}
|
||||||
DOCKERFILE=${DOCKERFILE:-Dockerfile}
|
DOCKERFILE=${DOCKERFILE:-Dockerfile}
|
||||||
VCS_REF=${TRAVIS_COMMIT::8}
|
VCS_REF=${TRAVIS_COMMIT::7}
|
||||||
RUNNING_TIMEOUT=120
|
RUNNING_TIMEOUT=120
|
||||||
RUNNING_LOG_CHECK="is listening on"
|
RUNNING_LOG_CHECK="is listening on"
|
||||||
|
|
||||||
@ -62,7 +62,7 @@ echo
|
|||||||
|
|
||||||
echo "### Test"
|
echo "### Test"
|
||||||
docker rm -f ${PROJECT} > /dev/null 2>&1 || true
|
docker rm -f ${PROJECT} > /dev/null 2>&1 || true
|
||||||
docker run -d -p 8000:80 \
|
docker run -d -p 8000:8000 \
|
||||||
-e "JLS_VIRTUAL_HOSTS=docker.test" \
|
-e "JLS_VIRTUAL_HOSTS=docker.test" \
|
||||||
--name ${PROJECT} ${BUILD_TAG}
|
--name ${PROJECT} ${BUILD_TAG}
|
||||||
echo
|
echo
|
||||||
|
Loading…
Reference in New Issue
Block a user