Delete debugging info

This commit is contained in:
Sergei Antipov 2018-02-15 15:54:10 +07:00
parent 6319a737b8
commit aceab46912
2 changed files with 4 additions and 8 deletions

View File

@ -2,7 +2,7 @@
# -*- mode: sh; -*- # -*- mode: sh; -*-
# File: before_install.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 # Copyright (C) 2018 Sergei Antipov
# Description: # Description:
@ -13,11 +13,7 @@ set -o pipefail
# Latest Ansible install # Latest Ansible install
pip install docker-py ansible pip install docker-py ansible
echo "Debugging information"
which python
pip list
ansible --version
docker version
# Pull docker image or build it # Pull docker image or build it
if [ -f tests/Dockerfile.${DISTRIBUTION}_${DIST_VERSION} ] if [ -f tests/Dockerfile.${DISTRIBUTION}_${DIST_VERSION} ]
then then

View File

@ -2,7 +2,7 @@
# -*- mode: sh; -*- # -*- mode: sh; -*-
# File: test.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 # Copyright (C) 2018 Sergei Antipov
# Description: # 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} docker kill mongo{1,2,3} && docker rm mongo{1,2,3}
# Test 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 # 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' \ 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' \ | grep -q 'changed=0.*failed=0' \