Merge lp:~sinzui/juju-release-tools/win-agents into lp:juju-release-tools
Status: | Merged |
---|---|
Merged at revision: | 84 |
Proposed branch: | lp:~sinzui/juju-release-tools/win-agents |
Merge into: | lp:juju-release-tools |
Diff against target: |
249 lines (+147/-28) 4 files modified
tests/test_make_release_notes.py (+1/-12) tests/test_winbuildtest.py (+91/-0) tests/utils.py (+12/-0) winbuildtest.py (+43/-16) |
To merge this branch: | bzr merge lp:~sinzui/juju-release-tools/win-agents |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Aaron Bentley (community) | Approve | ||
Review via email: mp+238942@code.launchpad.net |
Description of the change
This branch adds support to create a win amd64 jujud agent each time a win 386 juju client is created.
The changes look more invasive than actual.
1. renamed build => build_client
and the dir and command constants are passed to the function to make testing easier.
2. renamed package => create_installer
and the dir and command constants are passed to the function to make testing easier.
3. added build_agent based on build_client
4. added create_cloud_agent
5. added cleanup of old agent files per the way old installers are cleaned up
6. extracted temp_dir() to utils.py to reuse it in new win tests
7. I added tests for the functions I changed and the two new functions I added.
A future branch in juju-ci-tools will change the tests to capture the agent tgz when the installer is captured.
Looks good.