Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
e2etest/run.sh
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
executable file
18 lines (13 sloc)
759 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#build | |
work=$(dirname $(pwd)) | |
build/allimages.sh $work/mysql-sample $work/springbatch-sample $work/spring-boot-sample | |
#pre e2e : deploy | |
export ANSIBLE_INVENTORY=/etc/ansible/hosts | |
ansible-playbook deploy/deploy.yml --extra-vars "log=$(pwd)/log configurations_dest=$(pwd)/configurations" | |
#pre e2e : prepare | |
docker run --rm -v $(pwd)/configurations:/properties -v $(pwd)/pre-e2e/input:/input springbatch-sample > log/batch.log | |
#e2e : test postman | |
docker run --name newman-sample -v $(pwd):/etc/newman -t postman/newman_ubuntu1404 run test/restapp.postman_collection.json --environment configurations/restapp.postman_environment.json --reporters html,cli --reporter-html-export log/newman-results.html | |
#post e2e : clean | |
post-e2e/docker-stop.sh |