Last active
August 29, 2015 14:07
-
-
Save tvansteenburgh/024a1528cfe69a8883f1 to your computer and use it in GitHub Desktop.
charmguardian-report filters
This file contains hidden or 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
returncode: content != 0 | |
test: content not in ('charm-proof', 'make lint') | |
output: not content.startswith('bundletester failed') |
This file contains hidden or 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
(.venv)tvansteenburgh@trusty-vm:/tmp> charmguardian-report -f errors.yaml --any | wc -l | |
78 | |
(.venv)tvansteenburgh@trusty-vm:/tmp> charmguardian-report -f failing.yaml --any | wc -l | |
138 | |
(.venv)tvansteenburgh@trusty-vm:/tmp> charmguardian-report -f passing.yaml --all | wc -l | |
84 | |
(.venv)tvansteenburgh@trusty-vm:/tmp> charmguardian-report | wc -l | |
222 | |
(.venv)130 tvansteenburgh@trusty-vm:/tmp/gist> charmguardian-report -f maintainers.yaml --any | |
cs:precise/teamspeak3-1 | |
cs:precise/buildbot-slave-0 | |
cs:precise/bitlbee-4 | |
cs:precise/buildbot-master-1 |
This file contains hidden or 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
returncode: content != 0 |
This file contains hidden or 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
output: re.search('maintainers', content) | |
test: content == 'charm-proof' |
This file contains hidden or 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
returncode: content == 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment