Skip to content

Instantly share code, notes, and snippets.

@bloodearnest
Created October 1, 2013 14:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bloodearnest/6779561 to your computer and use it in GitHub Desktop.
Save bloodearnest/6779561 to your computer and use it in GitHub Desktop.
musing on a charm-tester charm that's configurable in what it relation-set's
$ juju deploy charm-tester test
$ juju deploy charm-under-test charm
$
$ juju set test relation-config="
joined:
port: 8080
sitename: test.local
"
$ # 1. start test
$ juju add-relation charm:website test:test-relation
$ # 2. use amulet to sentry/wait and inspect how charm-under-test responded to being sent above relation data
$ # 3. profit?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment