Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return requested commit if matched configure regexp #190

Merged
merged 4 commits into from
Oct 17, 2023
Merged

Conversation

cinek810
Copy link
Owner

This is to allow configuration like:

allowed_for: 
   comits:
     - "tags/version-.*"

@@ -68,7 +68,7 @@ check_message_with_newline_in_output "ansible-deployer run -t task_with_ansible_

echo -e " ___ ____ _ _ _ _\n / _ \___ \ __ _ ___| |__ ___ ___| | ___ __ _ _ _ __ ___| |__ ___ _ __| |_\n | | | |__) / _\` | _____ / __| '_ \ / _ \/ __| |/ / '__| | | | '_ \ / __| '_ \ / _ \| '__| __|\n | |_| / __/ (_| | |_____| | (__| | | | __/ (__| <| | | |_| | | | | \__ \ | | | (_) | | | |_\n \___/_____\__,_| \___|_| |_|\___|\___|_|\_\_| \__,_|_| |_| |___/_| |_|\___/|_| \__|\n \n _ _ _ _ _ _\n | (_)_ __ ___ (_) |_ ___ _ __ | |_(_) ___ _ __\n | | | '_ \` _ \| | __| / _ \| '_ \| __| |/ _ \| '_ \ \n | | | | | | | | | |_ | (_) | |_) | |_| | (_) | | | |\n |_|_|_| |_| |_|_|\__| \___/| .__/ \__|_|\___/|_| |_|\n |_|\n"
# Check --limit option
check_message_in_output "ansible-deployer run -t task_with_limit -s testing -i testInfra2 -l xyzHost4" "ERROR\! Specified hosts and/or --limit does not match any hosts"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It comes from ansible-playbook.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know - that's why I try to adjust the test to the message.

@cinek810 cinek810 merged commit 9013918 into main Oct 17, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants