Skip to content

Instantly share code, notes, and snippets.

@tvansteenburgh
Last active August 29, 2015 14:07
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tvansteenburgh/024a1528cfe69a8883f1 to your computer and use it in GitHub Desktop.
Save tvansteenburgh/024a1528cfe69a8883f1 to your computer and use it in GitHub Desktop.
charmguardian-report filters
returncode: content != 0
test: content not in ('charm-proof', 'make lint')
output: not content.startswith('bundletester failed')
(.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
returncode: content != 0
output: re.search('maintainers', content)
test: content == 'charm-proof'
returncode: content == 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment