"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/integration/targets/pull/runme.sh" between
ansible-2.7.6.tar.gz and ansible-2.7.7.tar.gz

About: Ansible is a platform for configuring and managing computers combining multi-node software deployment, ad hoc task execution, and configuration management.

runme.sh  (ansible-2.7.6):runme.sh  (ansible-2.7.7)
skipping to change at line 26 skipping to change at line 26
cp -av "pull-integration-test" "${repo_dir}" cp -av "pull-integration-test" "${repo_dir}"
cd "${repo_dir}" cd "${repo_dir}"
( (
git init git init
git config user.email "ansible@ansible.com" git config user.email "ansible@ansible.com"
git config user.name "Ansible Test Runner" git config user.name "Ansible Test Runner"
git add . git add .
git commit -m "Initial commit." git commit -m "Initial commit."
) )
function pass_tests {
# test for https://github.com/ansible/ansible/issues/13688
if ! grep MAGICKEYWORD "${temp_log}"; then
echo "Missing MAGICKEYWORD in output."
exit 1
fi
# test for https://github.com/ansible/ansible/issues/13681
if egrep '127\.0\.0\.1.*ok' "${temp_log}"; then
echo "Found host 127.0.0.1 in output. Only localhost should be presen
t."
exit 1
fi
# make sure one host was run
if ! egrep 'localhost.*ok' "${temp_log}"; then
echo "Did not find host localhost in output."
exit 1
fi
}
ANSIBLE_CONFIG='' ansible-pull -d "${pull_dir}" -U "${repo_dir}" "$@" | tee "${t emp_log}" ANSIBLE_CONFIG='' ansible-pull -d "${pull_dir}" -U "${repo_dir}" "$@" | tee "${t emp_log}"
# test for https://github.com/ansible/ansible/issues/13688 pass_tests
if ! grep MAGICKEYWORD "${temp_log}"; then
echo "Missing MAGICKEYWORD in output." # ensure complex extra vars work
exit 1 PASSWORD='test'
fi USER=${USER:-'broken_docker'}
JSON_EXTRA_ARGS='{"docker_registries_login": [{ "docker_password": "'"${PASSWORD
# test for https://github.com/ansible/ansible/issues/13681 }"'", "docker_username": "'"${USER}"'", "docker_registry_url":"repository-manage
if egrep '127\.0\.0\.1.*ok' "${temp_log}"; then r.company.com:5001"}], "docker_registries_logout": [{ "docker_password": "'"${PA
echo "Found host 127.0.0.1 in output. Only localhost should be present." SSWORD}"'", "docker_username": "'"${USER}"'", "docker_registry_url":"repository-
exit 1 manager.company.com:5001"}] }'
fi
# make sure one host was run ANSIBLE_CONFIG='' ansible-pull -d "${pull_dir}" -U "${repo_dir}" -e "${JSON_EXTR
if ! egrep 'localhost.*ok' "${temp_log}"; then A_ARGS}" "$@" --tags untagged,test_ev | tee "${temp_log}"
echo "Did not find host localhost in output."
exit 1 pass_tests
fi
 End of changes. 2 change blocks. 
0 lines changed or deleted 20 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)