Merge lp://staging/~afreiberger/landscape-client-charm/add-juju-annotations into lp://staging/landscape-client-charm
Status: | Rejected |
---|---|
Rejected by: | Haw Loeung |
Proposed branch: | lp://staging/~afreiberger/landscape-client-charm/add-juju-annotations |
Merge into: | lp://staging/landscape-client-charm |
Diff against target: |
193 lines (+119/-3) 4 files modified
config.yaml (+13/-2) hooks/hooks.py (+8/-1) hooks/install.py (+34/-0) scripts/write_juju_annotations.py (+64/-0) |
To merge this branch: | bzr merge lp://staging/~afreiberger/landscape-client-charm/add-juju-annotations |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
🤖 Landscape Builder | test results | Needs Fixing | |
Simon Poirier (community) | Needs Fixing | ||
Review via email: mp+413315@code.staging.launchpad.net |
Commit message
Add cronjob and charm config for registering juju agents as Landscape annotations.
Description of the change
Based on previous efforts (which are then obsolete) by:
* @xavpaice https:/
* @exsdev https:/
* @stephanpampel https:/
Add hook and cronjob for registering juju apps as Landscape annotations
Can be enabled via config flag juju-annotation
Details 'juju-annotatio
found on the machine and the juju availability-zone (AZ) of the machine.
Key is 'juju-$
Value is 'deployed=true' OR 'deployed=false' if the agent got removed.
Example: juju-landscape-
Cronjob runs every 5 min, update frequency depends on exchange-interval.
Unmerged revisions
- 83. By Drew Freiberger
-
Fix regex for annotations
- 82. By Drew Freiberger
-
Fix ordering of config-changed for juju-annotations cronjob
- 81. By Drew Freiberger
-
Add clarification to config.yaml for annotations
- 80. By Drew Freiberger
-
Annotations - Detect multiple dashes in unit names and add unit number along with app name
- 79. By Drew Freiberger
-
Fixed path to annotations script
- 78. By Drew Freiberger
-
fix data-path for juju annotations cronjob
- 77. By Drew Freiberger
-
Rename annotations script
- 76. By Drew Freiberger
-
py3 updates for write-juju-
annotations. py - 75. By Drew Freiberger
-
Address import issues
- 74. By Drew Freiberger
-
Update juju-annotations to be an external root cron
Command: make ci-test /jenkins. canonical. com/landscape/ job/latch- test-xenial/ 1498/
Result: Fail
Revno: 74
Branch: lp:~afreiberger/landscape-client-charm/add-juju-annotations
Jenkins: https:/