I am asumming that you have following this already taken care in your dev machine
- Fully configured up and running [Ghost][1] blog
- Successfully installed [Buster][2] Script
- Already have Git Page for your account
| import os | |
| import humanize | |
| import requests | |
| import datetime | |
| import tabulate | |
| from dateutil.parser import parse | |
| r = requests.get('https://api.jujucharms.com/charmstore/v4/changes/published?start=2015-10-28') |
| from launchpadlib.launchpad import Launchpad | |
| lp = Launchpad.login_anonymously('mc', 'production') | |
| ppl = lp.people['ibmcharmers'] | |
| charm = lp.distributions['charms'] | |
| tasks = [] | |
| for p in ppl.members: | |
| tasks = tasks + [t for t in charm.searchTasks(bug_reporter=p)] |
| cleanup: | |
| description: | | |
| **Warning** THIS IS DESTRUCTIVE **WARNING** WILL REMOVE STOPPED DATA CONTAINERS | |
| Destructive action to clean up non-running/intermediate containers/images | |
| params: | |
| type: | |
| description: "containers or images" | |
| default: "images" | |
| run: | |
| description: Pulls a docker container from the docker registry, and run with a restart policy |
| import os | |
| import subprocess | |
| import yaml | |
| from charmhelpers.core import hookenv | |
| LATEST = "latest" | |
| class Service(dict): |
You will need to edit the jenv that juju created for the environment during juju bootstrap which will be located: $JUJU_HOME/environments/<environment_name>.jenv
The jenv has a yaml file format, so be familiar with that so you know what to look for:
state-servers:
| returncode: content != 0 | |
| test: content not in ('charm-proof', 'make lint') | |
| output: not content.startswith('bundletester failed') |