Delete debugging info
This commit is contained in:
parent
6319a737b8
commit
aceab46912
|
@ -2,7 +2,7 @@
|
|||
# -*- mode: sh; -*-
|
||||
|
||||
# File: before_install.sh
|
||||
# Time-stamp: <2018-02-15 15:13:20>
|
||||
# Time-stamp: <2018-02-15 15:54:06>
|
||||
# Copyright (C) 2018 Sergei Antipov
|
||||
# Description:
|
||||
|
||||
|
@ -13,11 +13,7 @@ set -o pipefail
|
|||
|
||||
# Latest Ansible install
|
||||
pip install docker-py ansible
|
||||
echo "Debugging information"
|
||||
which python
|
||||
pip list
|
||||
ansible --version
|
||||
docker version
|
||||
|
||||
# Pull docker image or build it
|
||||
if [ -f tests/Dockerfile.${DISTRIBUTION}_${DIST_VERSION} ]
|
||||
then
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# -*- mode: sh; -*-
|
||||
|
||||
# File: test.sh
|
||||
# Time-stamp: <2018-02-15 15:25:12>
|
||||
# Time-stamp: <2018-02-15 15:53:53>
|
||||
# Copyright (C) 2018 Sergei Antipov
|
||||
# Description:
|
||||
|
||||
|
@ -30,7 +30,7 @@ ansible-playbook -i tests/hosts tests/site.yml -e target=mongo1 -e image_name=${
|
|||
docker kill mongo{1,2,3} && docker rm mongo{1,2,3}
|
||||
|
||||
# Test 3
|
||||
ansible-playbook -i tests/hosts tests/site.yml -e target=mongo -e image_name=${DISTRIBUTION}:${DIST_VERSION} -e mongodb_version=${MONGODB_VERSION} -e mongodb_replication_replset='testrs' -vvv
|
||||
ansible-playbook -i tests/hosts tests/site.yml -e target=mongo -e image_name=${DISTRIBUTION}:${DIST_VERSION} -e mongodb_version=${MONGODB_VERSION} -e mongodb_replication_replset='testrs'
|
||||
# Idempotence test
|
||||
ansible-playbook -i tests/hosts tests/site.yml -e target=mongo -e image_name=${DISTRIBUTION}:${DIST_VERSION} -e mongodb_version=${MONGODB_VERSION} -e mongodb_replication_replset='testrs' \
|
||||
| grep -q 'changed=0.*failed=0' \
|
||||
|
|
Loading…
Reference in New Issue