mirror of https://github.com/docker/docs.git
Write to file to signal success for make integration
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
This commit is contained in:
parent
9303df90d5
commit
4216a37149
|
@ -8,6 +8,11 @@ function cleanup {
|
|||
fi
|
||||
}
|
||||
|
||||
function cleanupAndExit {
|
||||
cleanup
|
||||
rm /test_output/SUCCESS
|
||||
}
|
||||
|
||||
if [[ -z "${CIRCLECI}" ]]; then
|
||||
BUILDOPTS="--force-rm"
|
||||
fi
|
||||
|
@ -17,7 +22,8 @@ set -x
|
|||
|
||||
cleanup
|
||||
|
||||
docker-compose -f development.yml config
|
||||
docker-compose -f development.yml build ${BUILDOPTS} --pull | tee
|
||||
docker-compose -f development.yml up --abort-on-container-exit
|
||||
|
||||
trap cleanup SIGINT SIGTERM EXIT
|
||||
trap cleanupAndExit SIGINT SIGTERM EXIT
|
||||
|
|
|
@ -44,4 +44,4 @@ bin/notary ${OPTS} delegation add ${REPONAME} targets/releases fixtures/secure.e
|
|||
bin/notary ${OPTS} add ${REPONAME} readmetarget README.md
|
||||
bin/notary ${OPTS} publish ${REPONAME}
|
||||
bin/notary ${OPTS} delegation list ${REPONAME} | grep targets/releases
|
||||
cat README.md | bin/notary ${OPTS} verify $REPONAME readmetarget > /dev/null
|
||||
cat README.md | bin/notary ${OPTS} verify $REPONAME readmetarget > /test_output/SUCCESS
|
||||
|
|
|
@ -27,6 +27,8 @@ mysql:
|
|||
- MYSQL_ALLOW_EMPTY_PASSWORD="true"
|
||||
command: mysqld --innodb_file_per_table
|
||||
client:
|
||||
volumes:
|
||||
- ./test_output:/test_output
|
||||
build: .
|
||||
dockerfile: Dockerfile
|
||||
links:
|
||||
|
|
Loading…
Reference in New Issue