-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(apiserver): agenttools facade using services
The agenttools facade now uses a model config service to access model config, and a model agent service to access the current agent version. BREAKING CHANGE: agenttools now checks all preferred streams in preference order, starting with the user-specified stream in `agent-stream`. Previously, it always checked the "released" stream first, even if a custom `agent-stream` was set, and it would only check the user-defined stream if nothing was found in "released". Add a new env variable to the Makefile (`JUJU_PUBLISH_STREAM`) that allows `make simplestreams` to publish to a specified stream. General modernising and code improvement on the agenttools facade, such as moving internal functions to methods on the API struct.
- Loading branch information
1 parent
253290c
commit fe93736
Showing
7 changed files
with
283 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.