lp:~danilo/landscape-charm/secret-token
- Get this branch:
- bzr branch lp:~danilo/landscape-charm/secret-token
Branch merges
- Adam Collard (community): Approve
- 🤖 Landscape Builder: Approve (test results)
- Free Ekanayaka (community): Approve
-
Diff: 103 lines (+20/-5)7 files modifiedhooks/lib/relations/landscape.py (+2/-1)
hooks/lib/relations/tests/test_landscape.py (+8/-3)
hooks/lib/tests/sample.py (+1/-0)
hooks/lib/tests/stubs.py (+5/-1)
hooks/lib/tests/test_services.py (+1/-0)
hooks/lib/tests/test_templates.py (+2/-0)
templates/service.conf (+1/-0)
Related bugs
Bug #1418020: Configure secret-token key in service.conf | Medium | Fix Released |
Related blueprints
Branch information
Recent revisions
- 231. By Данило Шеган
-
Generate secret-token and include it in the leader context and export it to service.conf.
- 229. By Free Ekanayaka
-
Merge haproxy-relation [f=1418008] [r=adam-
collard, landscape- builder, bjornt] [a=Free Ekanayaka]
This branch adds logic to handle relations with haproxy.In particular:
- Add a new hooks.lib.
relations. haproxy. HAProxyProvider class
that will feed haproxy with the configuration we need. For
now only one instance of each of our service is exposed,
multi-instance support will come in follow-up branches.- Enable the api, pingserver and message-server services with
- 227. By Free Ekanayaka
-
Merge amqp-relation [f=1417517] [r=adam-
collard, danilo] [a=Free Ekanayaka]
Handle relations with the rabbitmq-server, which is the last bit needed to have the UI start at all. In particular:- Add provider/requirer classes to handle relation data flowing
between us and rabbitmq.- Add a script callback to restart landscape services after config
changes- Add basic configuration for ui/job-
handler/ async-frontend in
the service.conf template- Add flags to start ui/job-
handler/ async-frontend in the template
for /etc/default/landscape- server. - 225. By Free Ekanayaka
-
Merge run-schema-script [f=1417516] [r=chad.
smith,bjornt] [a=Free Ekanayaka]
Add a SchemaBootstrap callback that will be invoked after all
relations are ready, and that will run "schema --bootstrap" to
set up our databases and the landscape PostgreSQL user.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~landscape/landscape-charm/trunk