Merge lp:~ahasenack/landscape-charm/new-bundle-render into lp:~landscape/landscape-charm/bundles-stable
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Andreas Hasenack | ||||
Approved revision: | 25 | ||||
Merged at revision: | 17 | ||||
Proposed branch: | lp:~ahasenack/landscape-charm/new-bundle-render | ||||
Merge into: | lp:~landscape/landscape-charm/bundles-stable | ||||
Diff against target: |
466 lines (+182/-207) 9 files modified
.bzrignore (+1/-0) Makefile (+21/-10) charm-store (+68/-21) landscape-dense-maas.yaml (+0/-59) landscape-dense.yaml (+0/-59) landscape-scalable.yaml (+0/-49) render-bundles (+25/-4) ubuntu-deps (+62/-0) update-charm-revisions (+5/-5) |
||||
To merge this branch: | bzr merge lp:~ahasenack/landscape-charm/new-bundle-render | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Francis Ginther (community) | Approve | ||
🤖 Landscape Builder | test results | Approve | |
Ursula Junque (community) | Approve | ||
Review via email: mp+300891@code.launchpad.net |
Commit message
Sync bundle generation with what we have in bundles-trunk so that both produce the same set of files and directories. The content is still the same as it was before this branch.
Description of the change
Sync bundle generation with what we have in bundles-trunk so that both produce the same set of files and directories. The bundle content is still the same as it was before this branch.
I also added a small fix to the diff script so that it ignores the bundles.yaml (note the plural) file which is not used and is just an artifact of the charm store.
The diff is a bit big, here is what I did:
- merged with bundles-trunk
- removed the individual non-template yaml files representing each bundle: there are now generated and not part of the branch
- added --exclude bundles.yaml to the diff action in the charm-store diff
Everything else is a result of the merge from bundles-trunk.
To test:
charm login
charm whoami (to verify login). You may have to login on jujucharms.com with a browser before for all this to work (known bug in the charm store)
export CHARM_STORE_
make diff-charm-store
Should show no diff, because the rendered bundles match what is in the charm store currently. The rendered bundles are in the build/ directory.
Another test you can do:
make update-
bzr diff landscape-
Should show charm revision updates, still for the trusty series.
Bump to xenial:
bzr revert (if you ran the test above)
export EXTRA_UPDATE_
make update-
bzr diff landscape-
That should bump all bundles to xenial and latest charm revisions
I just didn't test the actual push and publish commands (makefile targets).
Command: make render /ci.lscape. net/job/ latch-test/ 5506/
Result: Success
Revno: 20
Branch: lp:~ahasenack/landscape-charm/new-bundle-render
Jenkins: https:/