lp:~caio1982/charms/trusty/system-image-server/productionizing-story-1332
- Get this branch:
- bzr branch lp:~caio1982/charms/trusty/system-image-server/productionizing-story-1332
Branch merges
- Caio Begotti: Pending requested
-
Diff: 205 lines (+97/-18)3 files modifiedREADME (+5/-0)
config.yaml (+13/-1)
hooks/hooks.py (+79/-17)
Branch information
- Owner:
- Caio Begotti
- Status:
- Merged
Recent revisions
- 22. By Caio Begotti
-
add missing charm options that will help it to move a bit closer to production:
- cronjob can be used to set up a periodic run of image server stuff (like importing of new images)
- shell can be used to run a batch of commands in si-shell after, say, the deployment has been done but still requires some maintenance if an image needs to be promoted to a given channel manually and such
- make it possible to deploy the charm using production keys instead of those testing ones the image server code generates
- 20. By Caio Begotti
-
avoid duplicated entries errors when updating the config and calling hook config-changed multiple times
- 19. By Caio Begotti
-
make it so the config file is present during installation already otherwise we cant generate the keys
- 18. By Caio Begotti
-
make it so the keys generation only runs once as it is not needed everytime we change a config option
- 17. By Caio Begotti
-
fix the dictionary of options that is passed to the template render as the function object is not iterable
- 14. By Caio Begotti
-
revamp how the hooks are called, thus simplifying a lot the charm config handling and how to tell juju which method is which hook
- 13. By Caio Begotti
-
move the calls that should actually have been config-changed to its particular hook block, which can then be executed by juju accordingly
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)